I had this exact same problem, all I did was rm -R /usr/src/sys/compile/laptop (laptop is the name of my kernel) and then recompiled and it worked.
On Tue, 13 Nov 2001, Ilya wrote: > I just cvsuped 4.4 stable and kernel build fails with these: > > cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-pr > ototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fforma > t-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/../include -mpre > ferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-pr > ototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fforma > t-extensions -ansi -c linux_sysent.c > In file included from linux_sysent.c:14: > linux_proto.h:57: syntax error before `linux_time_t' > linux_proto.h:57: `linux_time_t' undeclared here (not in a function) > linux_proto.h:57: syntax error before `)' > linux_proto.h:57: `linux_time_t' undeclared here (not in a function) > ... etc ... etc ... etc ... > linux_proto.h:517: `linux_stack_t' undeclared here (not in a function) > linux_proto.h:517: syntax error before `)' > linux_proto.h:517: `linux_stack_t' undeclared here (not in a function) > linux_proto.h:517: syntax error before `)' > *** Error code 1 > > Stop in /usr/src/sys/modules/linux. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/ALCHEMISTRY. > *** Error code 1 > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message