Re: Linux 2.0.4 (and a small patch, d*mn)

Lance Kinley (lkinley@wolfenet.com)
Mon, 8 Jul 1996 14:42:38 -0700 (PDT)


On Mon, 8 Jul 1996, Greg Patterson wrote:

| On Mon, 8 Jul 1996, Linus Torvalds wrote:
|
| > If you have problems with the sound driver, you'll get a rather obvious parse
| > error compiling it - just add a ";" at the end of the appropriate line. Sorry
| > about that, I was hoping that these silly problems would be gone by now.
|
| I'm having lots of problems with the sound driver(s). I don't get the
| above either... I'm trying to compile sound into the kernel (no
| module). I patched up from 2.0.0 to 2.0.4 (didn't try .1, .2., or .3).
| This is what I get at the end of kernel build:
|
| ld -m elf_i386 -Ttext 0x100000 -e stext arch/i386/kernel/head.o
| init/main.o init/version.o \
| arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o
| mm/mm.o fs/fs.o ipc/ipc.o net/network.a \
| fs/filesystems.a \
| drivers/block/block.a drivers/char/char.a drivers/net/net.a
| drivers/scsi/scsi.a drivers/sound/sound.a drivers/pci/pci.a \
| /src/kernel/linux-2.0.0/arch/i386/lib/lib.a
| /src/kernel/linux-2.0.0/lib/lib.a
| /src/kernel/linux-2.0.0/arch/i386/lib/lib.a -o vmlinux
| drivers/sound/sound.a(dev_table.o): In function `sound_install_audiodrv':
| dev_table.o(.text+0x9ea): undefined reference to `DMAbuf_init'
| dev_table.o(.text+0x9ef): undefined reference to `audio_init'
| make: *** [vmlinux] Error 1

You've got to re-run the configure program in the drivers/sound directory.
(and don't answer yes to the copy from /etc/sound.conf or whatever it is,
you've got to completely regenerate the config file)

I wrestled with this last Saturday after patching from 2.0.0 to 2.0.3 and
compiling sound as a module.

Once I did a make configure in the drivers/sound directory, all was well.

Anyone having problems with sound after upgrading from 2.0.0 must do this.
(of course rebuilding the kernel from scratch after a make config and
redoing the sound config would work, too).

-Lance

Lance Kinley
lkinley@wolfenet.com
http://www.wolfe.net/~lkinley/
http://www.wolfe.net/~lkinley/nonjava.html