Skip to contentSkip to conversation

Compiling 2.4.16 kernel with sound support

DISCUSSION Thorsten Sauter 3 participants 3 messages Dec 15, 2001

lore
Share & tools
lore
#0 lore raw

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

Signature · 4 lines
Thorsten Sauter
<[email protected]>

				(Is there life after /sbin/halt -p?)
#1 lore raw

* Thorsten Sauter schrieb am 15.12.01 um 18:47 Uhr:

Quoted 9 lines

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.

Quoted 8 lines

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.

[error output]

Did you try a "make mrproper" before doing the make dep/clean/bzImage ?

(backup your .config before makeing mrproper...)

-Marc

Signature · 3 lines
|             ...and don't forget: Linux rulez!                    |
|                                                                  |
| http://www.links2linux.de <-- Von Linux-Usern fuer Linux-User    |
#2 lore raw
In reply to Thorsten Sauter
Quoted 5 lines · Thorsten Sauter

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
Any hints?

Yes, search the kernel archives, or the debian archives. This has been reported a dozen times or so now. Downgrade binutils, or enable hotplug support or try .17rc1

Dave.

Signature · 2 lines
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs