From owner-freebsd-stable Wed Oct 22 00:28:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA12951 for stable-outgoing; Wed, 22 Oct 1997 00:28:05 -0700 (PDT) (envelope-from owner-freebsd-stable) Received: from soul.irex.urc.ac.ru (soul.irex.urc.ac.ru [193.233.85.100]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA12907 for ; Wed, 22 Oct 1997 00:27:24 -0700 (PDT) (envelope-from anton@urc.ac.ru) Received: from urc.ac.ru (localhost [127.0.0.1]) by soul.irex.urc.ac.ru (8.8.7/8.8.5) with ESMTP id NAA01240 for ; Wed, 22 Oct 1997 13:31:26 GMT Message-ID: <344E002D.40726C5F@urc.ac.ru> Date: Wed, 22 Oct 1997 13:31:25 +0000 From: Anton Voronin Organization: URC FREEnet X-Mailer: Mozilla 4.03b8 [en] (X11; I; FreeBSD 2.2-STABLE i386) MIME-Version: 1.0 To: stable@FreeBSD.ORG Subject: Can't build kernel with SB16 support Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I tried to build kernel for a workstation that is eqquipped with SB-pro compatible sound card, including the following lines into kernel config file: controller snd0 device sbxvi0 at isa? drq 5 device sbmidi0 at isa? port 0x330 After compiling linker fails with the following output: ... loading kernel soundcard.o: Undefined symbol `_MIDIbuf_select' referenced from text segment soundcard.o: Undefined symbol `_MIDIbuf_init' referenced from text segment sound_switch.o: Undefined symbol `_MIDIbuf_read' referenced from text segment sound_switch.o: Undefined symbol `_MIDIbuf_write' referenced from text segment sound_switch.o: Undefined symbol `_MIDIbuf_open' referenced from text segment sound_switch.o: Undefined symbol `_MIDIbuf_release' referenced from text segment sound_switch.o: Undefined symbol `_MIDIbuf_ioctl' referenced from text segment *** Error code 1 Stop. All these functions are situated in /sys/i386/isa/sound/midibuf.c which is (wrongly?) not included in kernel's Makefile. When I added it manually, kernel has been succesfully compiled. What is the reason? -- Anton Voronin | Ural Regional Center of FREEnet, | Technical University of Chelyabinsk, Russia http://www.urc.ac.ru/~anton | Student / programmer / system administrator