| Summary: | make buildkernel stops in linux module | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Vladimir Tchoukharev <chu> |
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.4-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Vladimir Tchoukharev
2001-11-10 15:40:01 UTC
On Sat, Nov 10, 2001 at 05:35:40PM +0200, Vladimir Tchoukharev wrote: [snip] > # cvsup /etc/stable-supfile > # make buildkernel KERNCONF=SVAK > ... > cc -nostdinc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MO > DULE -nostdinc -I- -I. -I@ -I@/../include -mpreferred-stack-boundary=2 -Wall -Wredundant-decl > s -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qu > al -fformat-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) > linux_proto.h:57: syntax error before `)' > linux_proto.h:156: syntax error before `linux_handler_t' > ... > linux_proto.h:517: syntax error before `linux_stack_t' > 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 Do a, # rm -rf /usr/obj/usr/src/sys/SVAK And try again. > I beleave it worked for me on 2001.10.29, and it did not work three days ago also. > Now I can make a kernel with > cd /usr/src/sys/i386/conf && \ > config SVAK && \ > cd ../../compile/SVAK && \ > make depend && \ > make all install > So it is not a big deal for me... This works because you do not have a stale object tree in /usr/src/sys/compile/SVAK like you do over in /usr/obj. > >How-To-Repeat: > > Try to make buildkernel with my KERNCONF below on current -STABLE sources. It built for me without a problem, # cd /usr/src # make buildkernel KERNCONF=SVAK ... -------------------------------------------------------------- >>> Kernel build for SVAK completed on Sat Nov 10 23:45:37 PST 2001 -------------------------------------------------------------- -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org State Changed From-To: open->closed Nuking the old, stale object tree fixed the user's problem. |