Can't compile HiSaX into 2.2.20pre9 kernel

From: Pascal Schmidt (pleasure.and.pain@web.de)
Date: Tue Aug 28 2001 - 17:57:40 EST


Hello all!

I get an error message during 'make bzImage' when I try to compile
2.2.20pre9 with the HiSax ISDN driver included (it works with HiSax as
module):

ld -m elf_i386 -T /usr/src/linux-2.2.20pre9/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 \
        fs/filesystems.a \
        net/network.a \
        drivers/block/block.a drivers/char/char.o drivers/misc/misc.a
drivers/isdn/isdn.a drivers/net/net.a drivers/scsi/scsi.a
drivers/cdrom/cdrom.a drivers/sound/sounddrivers.o drivers/pci/pci.a
drivers/video/video.a \
        /usr/src/linux-2.2.20pre9/arch/i386/lib/lib.a
/usr/src/linux-2.2.20pre9/lib/lib.a
/usr/src/linux-2.2.20pre9/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
init/main.o(.data.init+0x39c): undefined reference to `HiSax_setup'
init/main.o(.data.init+0x3a4): undefined reference to `HiSax_setup'
make: *** [vmlinux] Error 1

The strange thing is, the drivers/isdn/isdn.a included above defines
the symbol:

/usr/src/linux-2.2.20pre9 # nm -a drivers/isdn/isdn.a | grep HiSax_setup
0000043c t HiSax_setup

I have no idea what goes wrong here. It works as expected with 2.2.19.

I did:
bzcat ../pre-patch-2.2.0-9.bz2 | patch -p1
make clean
make mrproper
cp ../linux-2.2.19/.config .
make oldconfig
make dep
make bzImage

-- 
Ciao, Pascal

-<[ pharao90@tzi.de, netmail 2:241/215.72, home http://cobol.cjb.net/) ]>-

- 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 : Fri Aug 31 2001 - 21:00:31 EST