Re: 2.1.88 w/ sound -> mad16 support fails compilation

J. Maynard Gelinas (
Tue, 3 Mar 1998 12:12:01 -0500 (EST)

> Date: Tue, 3 Mar 1998 00:43:16 -0500 (EST)
> From: "J. Maynard Gelinas" <>
> To:
> Subject: 2.1.88 w/ sound -> mad16 support fails compilation
> Here's where it blew up - thought this might be of some help:
[compilation blow up - see previous message]

OK, I didn't give much information beyond the compiler output
because I thought this was a probably bug in the 2.1.88 mad16 codebase
and didn't think much of it. Well, now I'm not too sure of that.
I've failed compilation of this driver in 2.0.33 and 2.0.32 as well,
yet I've compiled it before without much trouble running RH 4.2.
What's different now is that I've upgraded to RedHat 5 with the glibc
2.06 update. So, is this a known problem with the later mad16 driver?
A look through drivers/sound/ and CHANGELOG suggests it's
the same old driver...

This is an SMP Tyan 1662 PPRO system, with SMP enabled during
the compilation (though I'm using a uniprocessor kernel provided with
RH5.0 updates to perform the build), Symbios Logic SCSI 53c8xx
controller, 128M RAM, CPU type set as PPRO in the kernel config. I'm
_not_ overclocking the CPU's.

I've compiled other stuff (ssh, for example) successfully, so
I don't think it's the compiler. And before sending this message out
I compiled it uniprocessor just to rule out any SMP issues - nope, it
blew up too.

Any ideas?

J. Maynard Gelinas

Here is 2.0.32 SMP blowing up:

make[1]: Leaving directory `/usr/src/linux-2.0.32/arch/i386/math-emu'
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/cdrom/cdrom.a drivers/scsi/scsi.a drivers/sound/sound.a
drivers/pci/pci.a arch/i386/math-emu/math.a \
/usr/src/linux-2.0.32/arch/i386/lib/lib.a -o vmlinux
drivers/sound/sound.a(mad16.o): In function `wss_init':
mad16.o(.text+0x236): undefined reference to `ad1848_detect'
drivers/sound/sound.a(mad16.o): In function `probe_mad16':
mad16.o(.text+0x511): undefined reference to `ad1848_detect'
drivers/sound/sound.a(mad16.o): In function `attach_mad16':
mad16.o(.text+0x613): undefined reference to `ad1848_detect'
mad16.o(.text+0x6e7): undefined reference to `ad1848_init'
drivers/sound/sound.a(mad16.o): In function `unload_mad16':
mad16.o(.text+0x72a): undefined reference to `ad1848_unload'
make: *** [vmlinux] Error 1
[root@marquez linux]#

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to