From owner-freebsd-questions@FreeBSD.ORG Thu Nov 18 22:52:59 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 DE6F016A4CE for ; Thu, 18 Nov 2004 22:52:59 +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 99CAF43D53 for ; Thu, 18 Nov 2004 22:52:58 +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 iAIMquqo015586 for ; Thu, 18 Nov 2004 14:52:57 -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 iAIMqtQ8077298 for ; Thu, 18 Nov 2004 14:52:55 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.12.11/8.12.11/Submit) id iAIMqsXv077297 for freebsd-questions@FreeBSD.ORG; Thu, 18 Nov 2004 14:52:54 -0800 (PST) (envelope-from kline) Date: Thu, 18 Nov 2004 14:52:54 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20041118225254.GA77284@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Subject: kernedl build snafu. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kline@thought.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2004 22:53:00 -0000 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