Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 1997 13:31:25 +0000
From:      Anton Voronin <anton@urc.ac.ru>
To:        stable@FreeBSD.ORG
Subject:   Can't build kernel with SB16 support
Message-ID:  <344E002D.40726C5F@urc.ac.ru>

next in thread | raw e-mail | index | archive | help
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,
<anton@urc.ac.ru>            | Technical University of Chelyabinsk, Russia
http://www.urc.ac.ru/~anton  | Student / programmer / system administrator



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?344E002D.40726C5F>