Re: Kernel compile R7.0 i386 GENERIC, fails
[EMAIL PROTECTED][EMAIL PROTECTED] 2008/8/11 Peter B [EMAIL PROTECTED]: I'm trying to compile the generic FreeBSD kernel 7.0-RELEASE i386. But it fails. Any tip on how to fix it? Extracted sources: sbase, srelease, ssys You also need scontrib (ACPI sources are there) component and maybe some others for successful build. btw, this is not a very usual (and a simple) way to make kernel. [EMAIL PROTECTED] /usr/src #make buildkernel KERNCONF=GENERIC . . mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/obj/usr/src/sys/GENERIC /usr/src/sys/modules/accf_http/../../netinet/accf_http.c === acpi (depend) === acpi/acpi (depend) @ - /usr/src/sys machine - /usr/src/sys/i386/include make: don't know how to make dsfield.c. Stop *** Error code 2 Stop in /usr/src/sys/modules/acpi. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Exit 1 wbr, pluknet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel compile R7.0 i386 GENERIC, fails
Extracted sources: sbase, srelease, ssys You also need scontrib (ACPI sources are there) component and maybe some others for successful build. btw, this is not a very usual (and a simple) way to make kernel. I added device acpi to the kernel configuration file. And it made the error go away. I'm downloading scontrib.* now. But now it complains on: ln -sf /usr/obj/usr/src/sys/GENERIC/opt_ses.h opt_ses.h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h make: don't know how to make cam.c. Stop *** Error code 2 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Exit 1 Exit 1 In previous releases. It was possible to make at leas the generic kernel compile out of the box. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel compile R7.0 i386 GENERIC, fails
Peter B wrote: [snip] In previous releases. It was possible to make at leas the generic kernel compile out of the box. As it still is. I just did a make buildkernel KERNCONF=GENERIC on a 7-Release box and it built with no difficulty. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel compile R7.0 i386 GENERIC, fails
On Mon, 11 Aug 2008 18:32:02 +0200 (MEST), Peter B [EMAIL PROTECTED] wrote: Extracted sources: sbase, srelease, ssys You also need scontrib (ACPI sources are there) component and maybe some others for successful build. btw, this is not a very usual (and a simple) way to make kernel. I added device acpi to the kernel configuration file. And it made the error go away. I'm downloading scontrib.* now. But now it complains on: ln -sf /usr/obj/usr/src/sys/GENERIC/opt_ses.h opt_ses.h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h make: don't know how to make cam.c. Stop *** Error code 2 In previous releases. It was possible to make at leas the generic kernel compile out of the box. It still is. You have to get the full sources though. What you are trying to do now, by extracting more parts of the source tree as you need them is a very good way to learn the dependencies of the various parts of the source tree, but it is likely to fail a few times until you get all the necessary bits. All this is *very* good as learning experience, but it may be frustrating if you just want ``something that works now, instead of, say, a week later''. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel compile R7.0 i386 GENERIC, fails
In previous releases. It was possible to make at leas the generic kernel compile out of the box. It still is. You have to get the full sources though. What you are trying to do now, by extracting more parts of the source tree as you need them is a very good way to learn the dependencies of the various parts of the source tree, but it is likely to fail a few times until you get all the necessary bits. All this is *very* good as learning experience, but it may be frustrating if you just want ``something that works now, instead of, say, a week later''. I found the errors: 1) add device acpi to kernel configuration file. 2) Faulty FreeBSD NFS server makeing directory entries empty. So I got all the required source distributions. And I got the ae and ath driver upgraded and working. Thanks anyway for trying to point in the right direction. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]