Port-arm archive

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

undefined reference to `_splraise'



Hello,
 I just trying to build current sheevaplug kernel and userland. Compilation 
stops with following error:

head /netbsd/logs/build_current.log 
===> build.sh command:    ./build.sh -j 4 -D /netbsd/destdir -O /netbsd/obj -T 
/netbsd/tools -R /netbsd/release -m evbarm -r tools kernel=SHEEVAPLUG build
===> build.sh started:    Sat Mar 12 21:20:09 CET 2011
===> NetBSD version:      5.99.48
===> MACHINE:             evbarm
===> MACHINE_ARCH:        arm
===> Build platform:      FreeBSD 8.2-RC2 amd64
===> HOST_SH:             /bin/sh
===> Bootstrapping nbmake
checking for sh... /bin/sh
checking for gcc... cc

...

--- vers.o ---
#    create  vers.c
/bin/sh /netbsd/src/sys/conf/newvers.sh 
#   compile  SHEEVAPLUG/vers.o
/netbsd/tools/bin/arm--netbsdelf-gcc  -ffreestanding -fno-zero-initialized-in-
bss -g -O2 -O2 -fno-strict-aliasing   -Werror -Wall -Wno-main -Wno-format-
zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wswitch 
-Wshadow -Wcast-qual -Wwrite-strings -Wno-unreachable-code -Wno-sign-compare -
Wno-pointer-sign -Wno-attributes  -Werror -march=armv5te  -I.  -
I/netbsd/src/sys/../common/include -I/netbsd/src/sys/arch  -I/netbsd/src/sys -
nostdinc -D__HAVE_PCI_CONF_HOOK -DKERNEL_BASE_EXT="0xc0000000" -
DMV_CACHE_RANGE_OPS -DDIAGNOSTIC -DDEBUG -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT 
-std=gnu99 -I/netbsd/src/sys/lib/libkern/../../../common/lib/libc/quad -
I/netbsd/src/sys/lib/libkern/../../../common/lib/libc/string -
I/netbsd/src/sys/lib/libkern/../../../common/lib/libc/arch/arm/string    -c 
vers.c
--- netbsd ---
#      link  SHEEVAPLUG/netbsd
/netbsd/tools/bin/arm--netbsdelf-ld -Map netbsd.map --cref -T ldscript -X -o 
netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
audio.o: In function `splraiseipl':
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/./machine/intr.h:163: undefined 
reference to `_splraise'
audio.o: In function `audio_volume_toggle':
/netbsd/src/sys/dev/audio.c:4179: undefined reference to `splx'
audio.o: In function `splraiseipl':
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/./machine/intr.h:163: undefined 
reference to `_splraise'
audio.o: In function `audio_init_play':
/netbsd/src/sys/dev/audio.c:1550: undefined reference to `splx'
audio.o: In function `splraiseipl':
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/./machine/intr.h:163: undefined 
reference to `_splraise'
audio.o: In function `audio_init_record':
/netbsd/src/sys/dev/audio.c:1535: undefined reference to `splx'

...

wsevent.o: In function `wsevent_poll':
/netbsd/src/sys/dev/wscons/wsevent.c:307: undefined reference to `splx'
/netbsd/src/sys/dev/wscons/wsevent.c:307: undefined reference to `splx'
wsevent.o: In function `splraiseipl':
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/./machine/intr.h:163: undefined 
reference to `_splraise'
wsevent.o: In function `wsevent_read':
/netbsd/src/sys/dev/wscons/wsevent.c:261: undefined reference to `splx'
/netbsd/src/sys/dev/wscons/wsevent.c:273: undefined reference to `splx'
/netbsd/src/sys/dev/wscons/wsevent.c:255: undefined reference to `splx'
wsevent.o: In function `splraiseipl':
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/./machine/intr.h:163: undefined 
reference to `_splraise'
wsevent.o: In function `wsevent_kqfilter':
/netbsd/src/sys/dev/wscons/wsevent.c:363: undefined reference to `splx'
wsevent.o: In function `splraiseipl':
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/./machine/intr.h:163: undefined 
reference to `_splraise'
wsevent.o: In function `filt_wseventrdetach':
/netbsd/src/sys/dev/wscons/wsevent.c:319: undefined reference to `splx'
wskbd.o: In function `splraiseipl':
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/./machine/intr.h:163: undefined 
reference to `_splraise'
wskbd.o: In function `wskbd_detach':
/netbsd/src/sys/dev/wscons/wskbd.c:648: undefined reference to `splx'
wskbd.o: In function `splraiseipl':
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/./machine/intr.h:163: undefined 
reference to `_splraise'
wskbd.o: In function `wskbd_repeat':
/netbsd/src/sys/dev/wscons/wskbd.c:586: undefined reference to `splx'
wsmouse.o: In function `splraiseipl':
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/./machine/intr.h:163: undefined 
reference to `_splraise'
wsmouse.o: In function `wsmouse_repeat':
/netbsd/src/sys/dev/wscons/wsmouse.c:556: undefined reference to `splx'
wsmouse.o: In function `splraiseipl':
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/./machine/intr.h:163: undefined 
reference to `_splraise'
wsmouse.o: In function `wsmouse_detach':
/netbsd/src/sys/dev/wscons/wsmouse.c:328: undefined reference to `splx'
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/lib/compat/libcompat.a(rtsock_50.o):
 
In function `splraiseipl':
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/lib/compat/../.././machine/intr.h:163:
 
undefined reference to `_splraise'
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/lib/compat/libcompat.a(rtsock_50.o):
 
In function `compat_50_route_usrreq':
/netbsd/src/sys/net/rtsock.c:230: undefined reference to `splx'
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/lib/compat/libcompat.a(rtsock_50.o):
 
In function `splraiseipl':
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/lib/compat/../.././machine/intr.h:163:
 
undefined reference to `_splraise'
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/lib/compat/libcompat.a(rtsock_50.o):
 
In function `compat_50_route_usrreq':
/netbsd/src/sys/net/rtsock.c:221: undefined reference to `splx'
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/lib/compat/libcompat.a(rtsock_50.o):
 
In function `compat_50_route_intr':
/netbsd/src/sys/net/rtsock.c:1264: undefined reference to `splx'
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/lib/compat/libcompat.a(rtsock_50.o):
 
In function `splraiseipl':
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/lib/compat/../.././machine/intr.h:163:
 
undefined reference to `_splraise'
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/lib/compat/libcompat.a(rtsock_50.o):
 
In function `compat_50_route_intr':
/netbsd/src/sys/net/rtsock.c:1264: undefined reference to `splx'
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/lib/compat/libcompat.a(rtsock_50.o):
 
In function `splraiseipl':
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/lib/compat/../.././machine/intr.h:163:
 
undefined reference to `_splraise'
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/lib/compat/libcompat.a(rtsock_50.o):
 
In function `sysctl_rtable':
/netbsd/src/sys/net/rtsock.c:1229: undefined reference to `splx'
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/lib/compat/libcompat.a(rtsock_50.o):
 
In function `splraiseipl':
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/lib/compat/../.././machine/intr.h:163:
 
undefined reference to `_splraise'
/netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG/lib/compat/libcompat.a(rtsock_50.o):
 
In function `compat_50_route_enqueue':
/netbsd/src/sys/net/rtsock.c:1294: undefined reference to `splx'
*** [netbsd] Error code 1

nbmake: stopped in /netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG

nbmake: stopped in /netbsd/obj/sys/arch/evbarm/compile/SHEEVAPLUG

Any hint?
-- 
"Omnes homines natura scire desiderant"
                                           Aristotelis


Home | Main Index | Thread Index | Old Index