Date: Thu, 18 Nov 2004 15:11:41 -0800 From: Gary Kline <kline@thought.org> To: "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: kernedl build snafu. Message-ID: <20041118231141.GB77363@thought.org> In-Reply-To: <419D28F8.5060409@daleco.biz> References: <20041118225254.GA77284@thought.org> <419D28F8.5060409@daleco.biz>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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?20041118231141.GB77363>