2.5.5 3c505.c redefine of netdev_ethtool_ioctl and netdev_ioctl

From: Kamlesh Bans (kbans@corsair.com)
Date: Tue Mar 05 2002 - 14:32:32 EST


I received the following errors compiling 3c505.c:

gcc -D__KERNEL__ -I/usr/src/linux-2.5.5/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i686
-DMODULE -DKBUILD_BASENAME=3c505 -c -o 3c505.o 3c505.c
3c505.c:1362: redefinition of `netdev_ethtool_ioctl'
3c505.c:1172: `netdev_ethtool_ioctl' previously defined here
3c505.c:1417: redefinition of `netdev_ioctl'
3c505.c:1227: `netdev_ioctl' previously defined here
{standard input}: Assembler messages:
{standard input}:3833: Error: symbol `netdev_ethtool_ioctl' is already defined
{standard input}:4035: Error: symbol `netdev_ioctl' is already defined
make[2]: *** [3c505.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.5.5/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.5/drivers'
make: *** [_mod_drivers] Error 2

The module was able to compile with the second occurrences of the two
functions removed.

Please cc me on any mail messages regarding this.

-
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 : Thu Mar 07 2002 - 21:00:46 EST