From owner-freebsd-questions@FreeBSD.ORG Thu Nov 18 23:11:47 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 640D116A4CE for ; Thu, 18 Nov 2004 23:11:47 +0000 (GMT) Received: from sage.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7917443D5F for ; Thu, 18 Nov 2004 23:11:46 +0000 (GMT) (envelope-from kline@tao.thought.org) Received: from thought.org (tao [10.0.0.247]) by sage.thought.org (8.13.1/8.12.10) with ESMTP id iAINBiJa015644 for ; Thu, 18 Nov 2004 15:11:45 -0800 (PST) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by thought.org (8.12.11/8.12.11) with ESMTP id iAINBhWd077401; Thu, 18 Nov 2004 15:11:43 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.12.11/8.12.11/Submit) id iAINBgIW077400; Thu, 18 Nov 2004 15:11:42 -0800 (PST) (envelope-from kline) Date: Thu, 18 Nov 2004 15:11:41 -0800 From: Gary Kline To: "Kevin D. Kinsey, DaleCo, S.P." Message-ID: <20041118231141.GB77363@thought.org> References: <20041118225254.GA77284@thought.org> <419D28F8.5060409@daleco.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <419D28F8.5060409@daleco.biz> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 18 years of service to the Unix community User-Agent: Mutt/1.5.6i cc: FreeBSD Mailing List Subject: Re: kernedl build snafu. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2004 23:11:47 -0000 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. > > > > > > > > > > > > > >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