2.5.62 hisax compile broke. isac_setup double defined (hisax.o & hisax_isac.o)

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


hi all,

tried to compile 2.5.62.

when linking hisax/built-in.o, the linker complains about the function
isac_setup being defined twice, once in hisax.o and once in hisax_isac.o.

make -f scripts/Makefile.build obj=drivers/isdn/hisax
   ld -m elf_i386 -r -o drivers/isdn/hisax/built-in.o
drivers/isdn/hisax/hisax.o drivers/isdn/hisax/hisax_isac.o
drivers/isdn/hisax/hisax_fcpcipnp.o drivers/isdn/hisax/hisax_hfcpci.o
drivers/isdn/hisax/hisax_isac.o: In function `isac_setup':
drivers/isdn/hisax/hisax_isac.o(.text+0x77e): multiple definition of
`isac_setup'
drivers/isdn/hisax/hisax.o(.text+0x1a732): first defined here
ld: Warning: size of symbol `isac_setup' changed from 39 to 587 in
drivers/isdn/hisax/hisax_isac.o

These are the relevant .config ISDN settings:

#
# ISDN subsystem
#
CONFIG_ISDN_BOOL=y

#
# CAPI subsystem
#
# CONFIG_ISDN_CAPI is not set

#
# Passive cards
#
CONFIG_ISDN_DRV_HISAX=y

#
# D-channel protocol features
#
CONFIG_HISAX_EURO=y
CONFIG_DE_AOC=y
CONFIG_HISAX_1TR6=y
CONFIG_HISAX_MAX_CARDS=1

#
# HiSax supported cards
#
CONFIG_HISAX_FRITZPCI=y
CONFIG_HISAX_FRITZ_PCIPNP=y

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:33 EST