From owner-freebsd-questions@FreeBSD.ORG Wed Jun 10 22:22:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D0161065673 for ; Wed, 10 Jun 2009 22:22:30 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [83.235.67.31]) by mx1.freebsd.org (Postfix) with ESMTP id DF27B8FC15 for ; Wed, 10 Jun 2009 22:22:29 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atomic.dyndns.org (athedsl-4493580.home.otenet.gr [94.71.93.20]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n5AMMSHW004928; Thu, 11 Jun 2009 01:22:28 +0300 Message-ID: <4A303224.5030406@otenet.gr> Date: Thu, 11 Jun 2009 01:22:28 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.21 (X11/20090414) MIME-Version: 1.0 To: carmel_ny@hotmail.com, FreeBSD Question References: In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: Re: Compiling in sound driver in kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2009 22:22:30 -0000 Carmel wrote: > This is my first attempt to compile in a driver in a new kernel I am > attempting to build. > > Using loader.conf, I have the 'snd_hda' driver presently being loaded. > I want to compile it directly into the kernel. I tried this: > > device snd_hda # Sound driver > > Unfortunately, the kernel will not build. What is the proper way to > build a kernel with sound embedded into it? > > Thanks! > > Well, just add the following line too: device sound (This is automatically loaded too when the module is used)