A sound support bug in 2.0.0? Need an advice.

Vladimir Petersen (vladimip@iceonline.com)
Mon, 10 Jun 96 01:35:28 -0800


A system description: Redhat Linux 3.0.3, kernel v. 1.3.99, i586/66, 32Mb
RAM.

1.3.20, 1.3.45, 1.3.75, 1.3.97, 1.3.99, 1.3.100 successfully compiled before
on the same system. Some time after 1.3.100 was compiled, I had several
minor hardware changes, those were: bought a new Mach64 VideoCard, it didn't
like my modem occupying 0x2e8 on cua3, modem had to go on cua2, if the modem
is on cua3, the only IRQ I can put it on is 5 due to jumper limitations,
_IRQ5 belongs to SoundBlaster_, and it can be only changed through kernel
configuration, no IRQ jumpers on the Sound board. An interesting circle, ah?
A question: does it actually try to detect any Soundboard parameters while
configuring sound support? I don't think so. I took the modem out, so that
there are no shared IRQs, checked, the same error messages when I start
configuring (not compiling yet!) the sound support:

[root@borg linux]# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux/scripts'
make -C /usr/src/linux/drivers/sound mkscript
make[2]: Entering directory `/usr/src/linux/drivers/sound'
Compiling Sound Driver v 3.5.2 for Linux
gcc -I/usr/src/linux/include -o configure configure.c

[messages of informational character skipped]

./configure script > Config.in
./configure fixedlocal > local.h
./configure fixeddefines > .defines
make[2]: Leaving directory `/usr/src/linux/drivers/sound'
gcc -I/usr/src/linux/include -g -Wall -c -o tkparse.o tkparse.c
gcc -I/usr/src/linux/include -g -Wall -c -o tkcond.o tkcond.c
gcc -I/usr/src/linux/include -g -Wall -c -o tkgen.o tkgen.c
gcc -I/usr/src/linux/include -o tkparse tkparse.o tkcond.o tkgen.o
./tkparse < ../arch/i386/config.in > kconfig.tmp
cat header.tk >> ./kconfig.tk
cat kconfig.tmp >> kconfig.tk
rm -f kconfig.tmp
echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk
cat tail.tk >> kconfig.tk
chmod 755 kconfig.tk
make[1]: Leaving directory `/usr/src/linux/scripts'
wish -f scripts/kconfig.tk
WARNING - broken Config.in! CONFIG_AEDSP16 was not declared!
--------------------------------------------------------------

The error message below occurs after I configured everything and it's being
compiled:

make[1]: Leaving directory `/usr/src/linux/arch/i386/lib'

[several lines skipped]

drivers/block/block.a drivers/char/char.a drivers/net/net.a
drivers/cdrom/cdrom.a drivers/scsi/scsi.a drivers/sound/sound.a
drivers/pci/pci.a \
/usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a
/usr/src/linux/arch/i386/lib/lib.a -o vmlinux
net/network.a(ipv4.o): In function `packet_rcv':
ipv4.o(.text+0x2b5a): undefined reference to `ip_forward'
drivers/sound/sound.a(sb_dsp.o): In function `sbintr':
sb_dsp.o(.text+0x132): undefined reference to `sb16_dsp_interrupt'
sb_dsp.o(.text+0x1a4): undefined reference to `DMAbuf_outputintr'
sb_dsp.o(.text+0x1ca): undefined reference to `DMAbuf_inputintr'
drivers/sound/sound.a(sb_dsp.o): In function `sb_dsp_init':
sb_dsp.o(.text+0xb00): undefined reference to `sb16_dsp_detect'
sb_dsp.o(.text+0xb1c): undefined reference to `sb16_dsp_init'
drivers/sound/sound.a(sb_dsp.o): In function `sb_dsp_unload':
sb_dsp.o(.text+0xbaa): undefined reference to `unload_sb16'
make: *** [vmlinux] Error 1

Any ideas what it needs? Why so many undefined references? I really hate to
bother kernel developers with this stuff because they are probably buried in
email and I wish I knew where to look for a problem.

Suggestion? Advice?

Please mail me at vladimip@iceonline.com

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    -=BORG=-      |     vladimip@iceonline.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
PGP key is available at http://www.iceonline.com/home/vladimip/vladpgpkey.
txt