erratic compile behaviour

John Spence (jspence@lynx.net.au)
Sat, 7 Feb 1998 06:32:05 +1030


I'm trying to track down the cause of a problem I have compiling "make
zImage" on my machine.

Firstly, I do not get this problem compiling 2.0.32 under Debian 1.3.1
I also do not get this problem compiling kernel 2.0.30 under RH 5 or 4.2

I only get this problem compiling a kernel greater than 2.0.30 on RH 5.
So far I've used kernels 2.0.30, 31 & 32 and 31, 32 produce this error.

I'm using the gcc version which came with each dist but as the same gcc
produces different results on kernel versions I don't think it is a gcc
problem.

It is sound related and each time I compile on whatever dist or
kernel version I use the same sound settings.

I've included only sound options that I have set for my S/Blaster Pro
(non-plug'n'play) and the error message.

# Sound
#
CONFIG_SOUND=y
CONFIG_AUDIO=y
CONFIG_MIDI=y
CONFIG_YM3812=y
CONFIG_SB=y
SBC_BASE=220
SBC_IRQ=5
SBC_DMA=1
SB_DMA2=1
SB_MPU_BASE=0
SB_MPU_IRQ=-1
DSP_BUFFSIZE=32768

== Error produced when compiling kernel greater than 2.0.30 on RH 5 ==

ld -m elf_i386 -Ttext 0x100000 -e stext arch/i386/kernel/head.o
init/main.o init arch/i386/kernel/kernel.o arch/i386/mm/mm.o
kernel/kernel.o mm/mm.o fs/f fs/filesystems.a \
drivers/block/block.a drivers/char/char.a drivers/net/net.a
drivers/soun /usr/src/linux-2.0.32/arch/i386/lib/lib.a
/usr/src/linux-2.0.32/lib/lib.drivers/sound/sound.a(sb_common.o):
In function `sbintr':
sb_common.o(.text+0x182): undefined reference to `uart401intr'
drivers/sound/sound.a(sb_common.o): In function `attach_sbmpu':
sb_common.o(.text+0x1532): undefined reference to `attach_uart401'
drivers/sound/sound.a(sb_common.o): In function `probe_sbmpu':
sb_common.o(.text+0x1636): undefined reference to `probe_uart401'
drivers/sound/sound.a(sb_common.o): In function `unload_sbmpu':
sb_common.o(.text+0x1646): undefined reference to `unload_uart401'
make: *** [vmlinux] Error 1

-- 
John Spence <jspence@lynx.net.au>  http://www.lynx.net.au/~jspence
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu