Subject: Re: cannot build kernel with a freshly /usr/src update
To: Florence HENRY <Florence.Henry@obspm.fr>
From: None <firstname.lastname@example.org>
Date: 02/23/2004 11:40:21
On Mon, Feb 23, 2004 at 11:28:16AM +0000, Florence HENRY wrote:
> 1) make depend does not fail, but I have the following warning :
> cc: ambiguous option '--'
> 2) as the make depend was not failing, I started compilation with make,
> but it failed :
> cc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length
> -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare
> -Wno-uninitialized -Di386 -I. -I../../../../arch -I../../../.. -nostdinc
> -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c
> /usr/src/sys/arch/i386/compile/OTARIE/../../../../dev/pci/auich.c: In
> function `auich_attach':
> parse error before `<'
> `status' undeclared (first use in this function)
> *** Error code 1
Wouldn't you happen to have an unresolved conflict in there?
> 3) I was told that the problem 1) could be solved by compiling tools. So I
> went in /usr/src and I did "make -O /usr/src/obj/ tools", but it failed
You should use build.sh.
> I'm a little bit lost now... What can I do ?
Use the fine script that makes everyone happy. Really.