Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Nov 2001 23:50:01 -0800 (PST)
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/31901: make buildkernel stops in linux module
Message-ID:  <200111110750.fAB7o1b39642@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/31901; it has been noted by GNATS.

From: "Crist J. Clark" <cristjc@earthlink.net>
To: Vladimir Tchoukharev <chu@gpi.ru>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/31901: make buildkernel stops in linux module
Date: Sat, 10 Nov 2001 23:46:28 -0800

 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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111110750.fAB7o1b39642>