Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Kernel compilation problems



I am trying to compile the 200812080002Z release

build.sh succeeds in building tools and the distribution, but dies
when I try to compile the kernel
Here's the output where it dies.

*** Failed target:  ah_osdep.d
*** Failed command: CC=/usr/src/../tools/bin/x86_64--netbsd-gcc /usr/src/../too
s/bin/nbmkdep -f ah_osdep.d -- -mcmodel=kernel -mno-red-zone -ffreestanding -fn
-zero-initialized-in-bss -O2 -fno-omit-frame-pointer -std=gnu99 -fno-strict-ali
sing -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-
rototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wn
-unreachable-code -Wno-sign-compare -Wno-pointer-sign -Wno-attributes -Wextra -
no-unused-parameter -Werror -Damd64 -Dx86_64 -I. -I/usr/src/sys/contrib/dev/ath
netbsd -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nos
dinc -DMODULAR -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/lib/libkern
../../../common/lib/libc/quad -I/usr/src/sys/lib/libkern/../../../common/lib/li
c/string -I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/x86_64/string
-I/usr/src/sys/../common/include -I/usr/src/sys/dist/ipf /usr/src/sys/contrib/d
v/ath/netbsd/ah_osdep.c
*** Error code 1

Stop.
nbmake: stopped in /usr/obj/sys/arch/amd64/compile/GENERIC

ERROR: Failed to make depend in /usr/src/../obj/sys/arch/amd64/compile/GENERIC
*** BUILD ABORTED ***

here's my uname
NetBSD burroughs.lookingglass.net 5.99.4 NetBSD 5.99.4 (GENERIC) #0:
Mon Dec  8 22:19:33 PST 2008
builds@wb28:/home/builds/ab/HEAD/amd64/200812080002Z-obj/home/builds/ab/HEAD/src/sys/arch/amd64/compile/GENERIC
amd64

In case it matters, burroughs is a Xen HVM.

Can anyone give me a course of action to determine what's going on and
how to fix it?

Regards,
              Michael Litchard


Home | Main Index | Thread Index | Old Index