Re: Build error



On Tue, 06 Dec 2005 17:49:50 GMT, Steve P <stevenREMOVE@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Hi,
>
> For some reason unknown to me, my buildkernel (FreeBSD 6.0, sparc64)
> seems to fail. Attached is the output. There is no real indication of
> what is going wrong. The device xl is disabled in my kernel config.
>
> Any ideas?

Are you building with -j 2 or higher? If yes, try without this and see
if that fixes the build for you.

> ===> xl (all)
> cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE
> -nostdinc -I-
> -DHAVE_KERNEL_OPTION_HEADERS -include
> /usr/obj/usr/src/sys/SUN/opt_global.h -I.
> -I@ -I@/contrib/altq -I@/../include -finline-limit=15000 -fno-common
> -g -I/usr/
> obj/usr/src/sys/SUN -mcmodel=medlow -msoft-float -ffreestanding -Wall
> -Wredundan
> t-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-ari
> th -Winline -Wcast-qual -fformat-extensions -std=c99 -c
> /usr/src/sys/modules/xl
> /../../pci/if_xl.c
> ld -d -warn-common -r -d -o if_xl.kld if_xl.o
> touch export_syms
> awk -f /usr/src/sys/modules/xl/../../conf/kmod_syms.awk if_xl.kld
> export_syms |
> xargs -J% objcopy % if_xl.kld
> ld -Bshareable -d -warn-common -o if_xl.ko.debug if_xl.kld
> objcopy --strip-debug if_xl.ko.debug if_xl.ko
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
.



Relevant Pages