Date: Wed, 28 Feb 2001 10:57:25 +1300 From: Jonathan Chen <jonathan.chen@itouch.co.nz> To: Hahn0man@t-online.de Cc: FreeBSD-Questions@FreeBSD.ORG Subject: Re: Failure compiling MYKERNEL Message-ID: <20010228105725.B45483@itouchnz.itouch> In-Reply-To: <000901c0a104$1a721880$2ddbe13e@aldiserster>; from Hahn0man@t-online.de on Tue, Feb 27, 2001 at 10:27:35PM %2B0100 References: <000901c0a104$1a721880$2ddbe13e@aldiserster>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonathan.chen@itouch.co.nz> ---------------------------------------------------------------------- "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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010228105725.B45483>