From owner-freebsd-questions Tue Feb 27 13:57:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 13C0037B71A for ; Tue, 27 Feb 2001 13:57:49 -0800 (PST) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.11.2/8.11.1) id f1RLvPY46106; Wed, 28 Feb 2001 10:57:25 +1300 (NZDT) (envelope-from jonc) Date: Wed, 28 Feb 2001 10:57:25 +1300 From: Jonathan Chen To: Hahn0man@t-online.de Cc: FreeBSD-Questions@FreeBSD.ORG Subject: Re: Failure compiling MYKERNEL Message-ID: <20010228105725.B45483@itouchnz.itouch> References: <000901c0a104$1a721880$2ddbe13e@aldiserster> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <000901c0a104$1a721880$2ddbe13e@aldiserster>; from Hahn0man@t-online.de on Tue, Feb 27, 2001 at 10:27:35PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Feb 27, 2001 at 10:27:35PM +0100, Hahn0man@t-online.de wrote: > Hello list, > > I´m going mad! I´ve download the FreeBSD 4.2-ISO. > I want to add a driver for my onboard-soundcard Yamaha OPL-3-SAx. > After reading the manual, I made this: > > 1. cd /usr/src/sys/i386/conf > 2. cp GENERIC MYKERNEL > 3. ee MYKERNEL > > I excluded SCSI and other things I don´t own with # and > copied (from LINT): > device opl0 at isa? port 0x388 > device pcm > > 4. config MYKERNEL > 5. cd ../../compile/MYKERNEL > 6. make depend > 7. make > ... > after thousands of screen-messages: > > umass.o(.text+0x1918): undefined reference to `xpt_done' > umass.o(.text+0x1929): undefined reference to `xpt_done' This is one 'cos you've got the line: device umass # Disks/Mass storage - Requires scbus and da in your kernel config file, and it requires the SCSI code. > isa_compat.o(.data+0x4): undefined reference to `opldriver' My reading of the pcm(4) seems to say that if you've got a PnP card, you don't need to put in: device opl0 at isa? port 0x388 in your config. Try compiling and installing a kernel without it, and see whether your sound-card is detected. -- Jonathan Chen ---------------------------------------------------------------------- "A person should be able to do a small bit of everything, specialisation is for insects" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message