Re: buildkernel (zlib module) broken?



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

Attachment: pgp0TPT2ftenI.pgp
Description: PGP signature



Relevant Pages

  • Re: problems building fusefs-kmod
    ... objcopy --strip-debug fuse.ko ... I wonder why SRC_BASE is set in port's Makefile and not used at all. ... incomplete type mount_fusefs.c: In function 'usage': ... type *** Error code 1 ...
    (freebsd-questions)
  • Re: FBSD 6.2-PRE: todays cvsupdate break kernel build
    ... O. Hartmann wrote: ... atapicam.ko export_syms | xargs -J% objcopy % atapicam.ko ... objcopy --strip-debug atapicam.ko ... *** Error code 2 ...
    (freebsd-stable)
  • Re: Calendar Items - Copying enmasse to another folder via VBA
    ... Other things I'd try -- testing whether you can change a property on objCopy ... Sue Mosher, Outlook MVP ... > Searching on the error code, I got 25 hits, so I added "Outlook" as a ... > Since ObjCopy and ObjTarget are both validated objects (as confirmed ...
    (microsoft.public.outlook.program_vba)
  • Re: FBSD 6.2-PRE: todays cvsupdate break kernel build
    ... atapicam.ko export_syms | xargs -J% objcopy % atapicam.ko ... objcopy --strip-debug atapicam.ko ... *** Error code 2 ... Energy Sciences Network (ESnet) ...
    (freebsd-stable)
  • Re: kernel build error (zlib.ko)
    ... export_syms | xargs -J% objcopy % zlib.kld ... *** Error code 2 ... I have both options in the kernel config. ...
    (freebsd-current)