2003-02-21 17:37:16

by Thomas Stuefe

[permalink] [raw]
Subject: compile error: isdn, capi2.0, AVM b1 card (b1pci.c)

hi all,

For kernel 2.5.62 I get the following error:

ld -m elf_i386 -r -o init/built-in.o init/main.o init/version.o
init/do_mounts.o init/initramfs.o
ld -m elf_i386 -e stext -T arch/i386/vmlinux.lds.s
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/built-in.o
--start-group usr/built-in.o arch/i386/kernel/built-in.o
arch/i386/mm/built-in.o arch/i386/mach-default/built-in.o kernel/built-in.o
mm/built-in.o fs/built-in.o ipc/built-in.o security/built-in.o
crypto/built-in.o lib/lib.a arch/i386/lib/lib.a drivers/built-in.o
sound/built-in.o arch/i386/pci/built-in.o net/built-in.o --end-group -o
vmlinux
drivers/built-in.o: In function `b1pci_pci_remove':
drivers/built-in.o(.text+0x90665): undefined reference to `b1pciv4_remove'

--------

Reason:

The combination

ISDN_DRV_AVMB1_B1PCI = Y
ISDN_DRV_AVMB1_B1PCIV4 = N

does not seem to work, as ISDN_DRV_AVMB1_B1PCIV4 undefines the static function
b1pciv4_remove().

If those flags need to be set both, why not make one flag instead of two?

bye thomas