DragonFly BSD
DragonFly bugs List (threaded) for 2003-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Kernel compile failure


From: Steve Mynott <steve@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 19 Jul 2003 22:00:08 +0100

Maybe not a bug but something dumb I am doing but...

With a CVS checkout of dragonfly on FreeBSD 4.8 userland builds fine but I have problems with 'make kernelbuild' and get the following error:-

cc -shared -nostdlib hack.c -o hack.So
rm -f hack.c
sh /usr/src/sys/conf/newvers.sh GENERIC
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 vers.c
linking kernel
support.o: In function `generic_copyout':
support.o(.text+0x425): undefined reference to `_cpu_class'
support.o: In function `suword':
support.o(.text+0x89a): undefined reference to `_cpu_class'
support.o(.text+0x8ab): undefined reference to `_PTmap'
support.o(.text+0x8b7): undefined reference to `_PTmap'
support.o(.text+0x8c0): undefined reference to `_PTmap'
support.o(.text+0x8ce): undefined reference to `_trapwrite'
support.o: In function `susword':
support.o(.text+0x916): undefined reference to `_cpu_class'
support.o(.text+0x927): undefined reference to `_PTmap'
support.o(.text+0x933): undefined reference to `_PTmap'
support.o(.text+0x93c): undefined reference to `_PTmap'
support.o(.text+0x94a): undefined reference to `_trapwrite'
support.o: In function `subyte':
support.o(.text+0x99e): undefined reference to `_cpu_class'
support.o(.text+0x9af): undefined reference to `_PTmap'
support.o(.text+0x9bb): undefined reference to `_PTmap'
support.o(.text+0x9c4): undefined reference to `_PTmap'
support.o(.text+0x9d2): undefined reference to `_trapwrite'
*** Error code 1


Stop in /usr/obj/usr/src/sys/GENERIC.

-- Steve




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