buildkernel (zlib module) broken?

Kris Kennaway kris at obsecurity.org
Sun Jan 28 22:17:11 UTC 2007


On Sun, Jan 28, 2007 at 10:12:26PM +0100, Harald Schmalzbauer wrote:
> Hello,
> 
> I don't understand this error:
> ===> zlib (all)
> cc -O2 -fno-strict-aliasing -pipe -march=pentium3 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-   -DHAVE_KERNEL_OPTION_HEADERS -include /FlashBSD/obj/i686/FlashBSD/src/sys/i686.intern-korso/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -I/FlashBSD/obj/i686/FlashBSD/src/sys/i686.intern-korso -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /FlashBSD/src/sys/modules/zlib/../../net/zlib.c
> ld  -d -warn-common -r -d -o zlib.kld zlib.o
> :> export_syms
> awk -f /FlashBSD/src/sys/modules/zlib/../../conf/kmod_syms.awk zlib.kld  
> export_syms | xargs -J% objcopy % zlib.kld
> ld -Bshareable  -d -warn-common -o zlib.ko.debug zlib.kld
> objcopy --strip-debug zlib.ko.debug zlib.ko
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 
> Any hints?

Rerun make without -j and discover the real error which was some
distance back in the interleaved output from your parallel make
command.

kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20070128/4ccaed2a/attachment.pgp


More information about the freebsd-stable mailing list