kernedl build snafu.

Gary Kline kline at tao.thought.org
Thu Nov 18 14:53:00 PST 2004


	Hi Folks,    

	On my 5.3 laptop I was able to add ^device sound and
	^device snd_mss   and  build/install the kernel without 
	ay problems.  On my test server I'm trying to add
	^device snd_sb16  but the build doesn't like it.



MAKE=/usr/obj/usr/src/make.i386/make 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 -std=c99  -nostdinc -I-  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica
-I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter
-I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath
-I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm
-D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000
-mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding
-Werror  vers.c
linking kernel
sb16.o(.text+0x12): In function `sb_lock':
: undefined reference to `sbc_lock'
sb16.o(.text+0x2a): In function `sb_lockassert':
: undefined reference to `sbc_lockassert'
sb16.o(.text+0x42): In function `sb_unlock':
: undefined reference to `sbc_unlock'
*** Error code 1

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


	What am I doing wrong on this other computer?  And-or is 
	there a way of adding smd_sb.ko at boot time?  Save the 
	rebuilds?

	thanks,

	gary



-- 
   Gary Kline     kline at thought.org   www.thought.org     Public service Unix



More information about the freebsd-questions mailing list