From owner-freebsd-questions Thu Mar 1 20:44:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from moby.geekhouse.net (moby.geekhouse.net [64.81.6.36]) by hub.freebsd.org (Postfix) with ESMTP id A7A5A37B71B; Thu, 1 Mar 2001 20:44:22 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@dhcp152.geekhouse.net [192.168.1.152]) by moby.geekhouse.net (8.11.0/8.9.3) with ESMTP id f224iu154624; Thu, 1 Mar 2001 20:44:57 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Thu, 01 Mar 2001 20:44:04 -0800 (PST) From: John Baldwin To: Felix-Antoine Paradis Subject: RE: Kernel compilation failed. Cc: FreeBSD Questions , hackers@FreeBSD.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 02-Mar-01 Felix-Antoine Paradis wrote: > Hi. > > I am running FreeBSD 3.5-STABLE on a i386 arch. When I boot, it tells > me that: > > --- > sb0 at 0x220 on isa > > NOTE! SB Pro support required with your soundcard! > snd0: > --- > > So I added: > > --- > device sbxvi0 at isa? drq ? > --- > > to my kernel. Then, I recompiled and I got an error: > > --- > su-2.04# make > loading kernel > dev_table.o(.data+0xc4): undefined reference to `attach_sb16midi' > dev_table.o(.data+0xc8): undefined reference to `probe_sb16midi' > sb_dsp.o: In function `sbintr': > sb_dsp.o(.text+0xa9): undefined reference to `sb16midiintr' > *** Error code 1 > > Stop. > --- > > I did a: make depend; make; make install > > It fails in the "make". > > Any idea? Look in /sys/i386/conf/LINT. You need to add some more lines to your config file for the midi driver. I think it is called olpm0 or some such. Just look for the example snd0 in LINT. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message