kernedl build snafu.

Gary Kline kline at thought.org
Thu Nov 18 15:11:47 PST 2004


On Thu, Nov 18, 2004 at 04:58:00PM -0600, Kevin D. Kinsey, DaleCo, S.P. wrote:
> Gary Kline wrote:
> 
> >	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.
> >
> >
> >
> > 
> >
> <snip>
> 
> >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
> > 
> >
> 
> Since it is a kernel object (*.ko), you should certainly be
> able to load it at boot time from /boot/loader.conf
> 

	Thanks.

	I was thinking of kldloading from rc.local, then figured 
	that I may as well hard-wire it.  I'll try loader.conf
	and see.  

	gary


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



More information about the freebsd-questions mailing list