Date: Thu, 18 Nov 2004 14:52:54 -0800 From: Gary Kline <kline@tao.thought.org> To: FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG> Subject: kernedl build snafu. Message-ID: <20041118225254.GA77284@thought.org>
next in thread | raw e-mail | index | archive | help
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@thought.org www.thought.org Public service Unix
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041118225254.GA77284>