Compiling 2.4.16 kernel with sound support

From: Thorsten Sauter (tsauter@gmx.net)
Date: Sat Dec 15 2001 - 12:47:55 EST


Hallo Kernel-List,

I have big problems with sound support in 2.4.16. I just download the tarball and untar it.
If I make now a simple "make dep && make clean && make bzImage" everthink works fine.

But after including any sound stuff, the linker always print an error and exit. :(
After I remove the previous select sound staff, the kernel compile cleanly.

The base distri is the current debian sid (apt update today). Here are some environment infos:
Distri: Debian Sid (i386)
GCC Version: 2.95.4
LD Version: 2.11.92.0.12.3

if you need more infos please let me know.

$ make dep && make clean && make depend
<snip>
ld -m elf_i386 -T /usr/src/linux-2.4.16/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o \
        --start-group \
        arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
         drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/char/agp/agp.o drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/pcmcia/pcmcia.o drivers/net/pcmcia/pcmcia_net.o drivers/pnp/pnp.o drivers/video/video.o \
        net/network.o \
        /usr/src/linux-2.4.16/arch/i386/lib/lib.a /usr/src/linux-2.4.16/lib/lib.a /usr/src/linux-2.4.16/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
drivers/sound/sounddrivers.o(.data+0x194): undefined reference to `local symbols in discarded section .text.exit'
make: *** [vmlinux] Error 1

Attached is the whole kernel configuration file.

Any hints?

Thanks
Thorsten

-- 
Thorsten Sauter
<tsauter@gmx.net>

(Is there life after /sbin/halt -p?)



- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:30 EST