compile error: isdn, capi2.0, AVM b1 card (b1pci.c)

From: Thomas Stuefe (thomas.stuefe@online.de)
Date: Fri Feb 21 2003 - 07:19:30 EST


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

-
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 : Sun Feb 23 2003 - 22:00:34 EST