ive been trying to build a kernel all morning!

Jonathan Horne jhorne at dfwlp.org
Tue Oct 31 18:35:10 UTC 2006

i have a 6.2-PRERELEASE machine, that i am trying to build a
6.1-RELEASE-p10 kernel and world on.

before i began, i did a rm -rf /usr/src/* /usr/obj/*, and then did a fresh
cvsup of RELENG_6_1.  i do the same thing i always do, which would be to
cd to /usr/src, and then issue 'make -j 6 buildkernel KERNCONF=[CONFNAME] 
(in this case, a conf file named REGULUS).

here is the last bit before i error out:

===> zlib (all)
cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc
/usr/obj/usr/src/sys/REGULUS/opt_global.h -I. -I@ -I@/contrib/altq
-I@/../include -finline-limit=8000 -fno-common -g
-I/usr/obj/usr/src/sys/REGULUS -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
ld  -d -warn-common -r -d -o zlib.kld zlib.o
touch export_syms
awk -f /usr/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
[root at athena /usr/src]#

i done a reboot, wipe /usr/src and /usr/obj, and cvsup twice today.  both
time produce this error (cvsups both came from differnet servers,
cvsup15.us and cvsup17.us).

can anyone help me shed some light on this?  please dont tell me its
becuase im trying to build 6.1-RELEASE-p10 on a 6.2-PRERELEASE machine!

thanks a million,

More information about the freebsd-questions mailing list