On Wed, Jul 1, 2009 at 3:02 PM, Nenhum_de_Nos<matheus_at_eternamente.info> wrote: > hail, > > I'm trying to build tinybsd as of today, and I get this: > > cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -mno-sse3 -ffreestanding -fstack-protector -Werror > /usr/src/sys/kern/sysv_msg.c > /usr/src/sys/kern/sysv_msg.c:1263: error: invalid application of 'sizeof' > to incomplete type 'struct freebsd7_msgctl_args' > /usr/src/sys/kern/sysv_msg.c:1263: error: 'freebsd7_msgctl' undeclared > here (not in a function) > cc1: warnings being treated as errors > /usr/src/sys/kern/sysv_msg.c:1309: warning: function declaration isn't a > prototype > /usr/src/sys/kern/sysv_msg.c: In function 'freebsd7_msgctl': > /usr/src/sys/kern/sysv_msg.c:1318: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1318: error: request for member 'cmd' in > something not a structure or union > /usr/src/sys/kern/sysv_msg.c:1318: warning: comparison between pointer and > integer > /usr/src/sys/kern/sysv_msg.c:1319: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1319: error: request for member 'buf' in > something not a structure or union > /usr/src/sys/kern/sysv_msg.c:1334: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1334: error: request for member 'msqid' in > something not a structure or union > /usr/src/sys/kern/sysv_msg.c:1334: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1334: error: request for member 'cmd' in > something not a structure or union > /usr/src/sys/kern/sysv_msg.c:1334: warning: passing argument 2 of > 'kern_msgctl' makes integer from pointer without a cast > /usr/src/sys/kern/sysv_msg.c:1334: warning: passing argument 3 of > 'kern_msgctl' makes integer from pointer without a cast > /usr/src/sys/kern/sysv_msg.c:1337: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1337: error: request for member 'cmd' in > something not a structure or union > /usr/src/sys/kern/sysv_msg.c:1337: warning: comparison between pointer and > integer > /usr/src/sys/kern/sysv_msg.c:1350: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1350: error: request for member 'buf' in > something not a structure or union > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/TINYBSD. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > tinybsd# > > I read about some commits breaking current recently, but also saw saying > was fixed. > I ran across this myself on a non-TINYBSD build, and was able to resolve it by commenting-out COMPAT_FREEBSD6 in my kernel config since I didn't need it (all other COMPAT entries except COMPAT_43TTY were already disabled, so now only COMPAT_43TTY is enabled). Might help your situation. -ProtoReceived on Wed Jul 01 2009 - 19:25:11 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:51 UTC