Subject: Re: Failed build
To: None <current-users@netbsd.org>
From: Andy Ruhl <acruhl@gmail.com>
List: current-users
Date: 03/05/2005 08:41:39
On Sat, 5 Mar 2005 07:44:30 -0700, Andy Ruhl <acruhl@gmail.com> wrote:
> I've tried to build kernels on an i386 and amd64 machine and I fail with this:
>
> # compile SPEEDY-CURRENT5/tcp_input.o
> /usr/src/../tools-current/bin/x86_64--netbsd-gcc -mcmodel=kernel
> -mno-red-zone -ffreestanding -O2 -Werror -Wall -Wno-main
> -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
> -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss
> -Damd64 -Dx86_64 -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc
> -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/dist/ipf -c
> /usr/src/sys/netinet/tcp_input.c
> /usr/src/sys/netinet/tcp_input.c: In function `tcp_input':
> /usr/src/sys/netinet/tcp_input.c:1582: warning: implicit declaration
> of function `callout_active'
>
> *** Failed target: tcp_input.o
>
> This is the same failure with GENERIC as well.
>
> Also anoncvs.netbsd.org is down... Kind of wondering what's going on.
Just a little more info.
I'm not doing anything fancy. I'll use my amd64 machine as an example.
This is all I'm doing (paths shortened for brevity):
./build.sh -T ../tools/ -O ../obj/ tools #this works
./build.sh -u -T ../tools/ -O ../obj/ kernel=GENERIC #this fails, see above
And I get the same error I posted above. This happens when the built target is:
hpcmips
cobalt
amd64
i386
Andy