2.6.12.3 compile error [ld: saa7134-core.c: undefined reference to `register_sound_dsp']

From: speedy
Date: Sun Jul 17 2005 - 16:56:55 EST


Hello linux-kernel,

another link error, with different .config on a different box.
.config made with make menuconfig. Disabling the relevant
.config entries fixed the bug.

p.s. please CC: me in the replies if any, as I'm not subscribed
to the list.

p.s.2. I suppose Fedora core 4 GCC 4.0.0 is not recommended for
compiling the kernel? or not?

* tail of the compiler output:

AR lib/lib.a
LD arch/i386/lib/built-in.o
CC arch/i386/lib/bitops.o
AS arch/i386/lib/checksum.o
CC arch/i386/lib/delay.o
AS arch/i386/lib/getuser.o
CC arch/i386/lib/memcpy.o
AS arch/i386/lib/putuser.o
CC arch/i386/lib/strstr.o
CC arch/i386/lib/usercopy.o
AR arch/i386/lib/lib.a
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o(.text+0x2197ed): In function `saa7134_initdev':
saa7134-core.c: undefined reference to `register_sound_dsp'
drivers/built-in.o(.text+0x219823):saa7134-core.c: undefined reference to `register_sound_mixer'
drivers/built-in.o(.text+0x21990e):saa7134-core.c: undefined reference to `unregister_sound_dsp'
drivers/built-in.o(.text+0x219be6): In function `saa7134_finidev':
saa7134-core.c: undefined reference to `unregister_sound_mixer'
drivers/built-in.o(.text+0x219bef):saa7134-core.c: undefined reference to `unregister_sound_dsp'
make: *** [.tmp_vmlinux1] Error 1

* GCC version: (Fedora Core 4)

Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=i386-redhat-linux
Thread model: posix
gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)

--
Best regards,
speedy mailto:speedy@xxxxxxxxx

Attachment: .config
Description: Binary data