Current-Users archive

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

svr4_net* not being registered?



I'm out of my comfort zone, but no matter; I dug in. 
 
I'm trying to compile (on amd64) svr4, svr4_32, elf32 binary 
compatibility. It's failing with: 
 
# compile kamloops/vers.o 
/usr/src/obj/tooldir.NetBSD-5.99.49-amd64/bin/x86_64--netbsd-gcc 
-mcmodel=kernel -mno-red-zone -ffreestanding -fno-zero-initialized-in-bss -O2 
-fn
o-omit-frame-pointer -fstack-protector -Wstack-protector --param 
ssp-buffer-size=1 -fno-strict-aliasing -fstack-protector -Wstack-protector 
--param 
ssp-buffer-size=1 -Werror -Wall -Wno-main -Wno-format-zero-length 
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcas
t-qual -Wwrite-strings -Wno-unreachable-code -Wno-sign-compare 
-Wno-pointer-sign -Wno-attributes -Wextra -Wno-unused-parameter -Werror 
--sysroot=
/usr/src/obj/destdir.amd64 -Damd64 -Dx86_64 -I. 
-I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc 
-DCOMPAT_COFF -DCOMP
AT_ELF32 -DCOMPAT_ELF64 -DINTEL_CORETEMP -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT 
-std=gnu99 -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad -
I/usr/src/sys/lib/libkern/../../../common/lib/libc/string 
-I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/x86_64/string 
-I/usr/src/sys/di
st/ipf -I/usr/src/sys/external/isc/atheros_hal/dist 
-I/usr/src/sys/external/isc/atheros_hal/ic 
-I/usr/src/sys/external/bsd/drm/dist/bsd-core -I/usr/
src/sys/external/bsd/drm/dist/shared-core -I/usr/src/sys/../common/include 
-I/usr/src/sys/external/bsd/acpica/dist/include -c vers.c 
--- netbsd --- 
# link kamloops/netbsd 
/usr/src/obj/tooldir.NetBSD-5.99.49-amd64/bin/x86_64--netbsd-ld -Map netbsd.map 
--cref -T /usr/src/sys/arch/amd64/conf/kern.ldscript -Ttext 0xffffff
ff80100000 -e start -z max-page-size=0x100000 -X -o netbsd ${SYSTEM_OBJ} 
${EXTRA_OBJ} vers.o 
devsw.o:(.data+0x7b8): undefined reference to `svr4_net_cdevsw' 
*** [netbsd] Error code 1 
 
nbmake: stopped in /usr/obj/sys/arch/amd64/compile/kamloops 
1 error 
 
nbmake: stopped in /usr/obj/sys/arch/amd64/compile/kamloops 
 
ERROR: Failed to make all in "/usr/src/sys/arch/amd64/compile/obj/kamloops" 
*** BUILD ABORTED *** 
 
 
My digging suggests svr4_net needs to register itself? This is outside 
my domain, so I'll post here in case somebody familiar w/ this knows 
exactly what to do... 
 
 
Cheers, 
 
-bch 


-- 
Brad Harder
Method Logic Digital Consulting
http://methodlogic.net/
http://twitter.com/bcharder



Home | Main Index | Thread Index | Old Index