From owner-freebsd-questions@FreeBSD.ORG Thu Nov 18 22:57:51 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 8CD6D16A4CE for ; Thu, 18 Nov 2004 22:57:51 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47E9043D4C for ; Thu, 18 Nov 2004 22:57:51 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 18 Nov 2004 17:01:09 -0600 Message-ID: <419D28F8.5060409@daleco.biz> Date: Thu, 18 Nov 2004 16:58:00 -0600 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041023 X-Accept-Language: en-us, en MIME-Version: 1.0 To: kline@thought.org References: <20041118225254.GA77284@thought.org> In-Reply-To: <20041118225254.GA77284@thought.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Nov 2004 23:01:09.0774 (UTC) FILETIME=[7E3182E0:01C4CDC2] 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 22:57:51 -0000 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 KDK