Current-Users archive

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

Re: Kernel compilation problems



On Fri, Dec 12, 2008 at 12:19 PM, Michael Litchard 
<michael%schmong.org@localhost> wrote:
> I am trying to compile the 200812080002Z release
>
200812080002Z ? The HAL has been imported in the tree on Dec. 11th.

> 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 ***
>
this is make(1) error message, which don't give much information on
what get wrong. Could you give the actual output of the compiler
(should be a few line above).

> Can anyone give me a course of action to determine what's going on and
> how to fix it?
>
could you try first to upgrade your source tree and see if the build
break again.

Thanks,

 - Arnaud


Home | Main Index | Thread Index | Old Index