Kernel compiling problems
bf1783 at googlemail.com
Thu Mar 3 21:03:18 UTC 2011
>Anybody know what's wrong with this?
>## make buildworld buildkernel KERNCONF=NINJA
>/usr/src/sys/kern/sysv_msg.c:163: error: invalid application of 'sizeof' to
>incomplete type 'struct freebsd7_msgctl_args
This error message is suggestive. ;)
Upgrading from 7.x to 8.x, eh? But I think you forgot to update parts
of your kernel config. From
"Note that as a general rule, COMPAT_FREEBSD<n> depends on
COMPAT_FREEBSD<n+1>, COMPAT_FREEBSD<n+2>, etc."
... up until m-1, where m is the FreeBSD version you are building. So
if you have COMPAT_FREEBSD, you need COMPAT_FREEBSD7 as well.
(When running 7.x, you didn't need it, of course.)
More information about the freebsd-questions