linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.5.5 3c505.c redefine of netdev_ethtool_ioctl and netdev_ioctl
@ 2002-03-05 19:32 Kamlesh Bans
  2002-03-05 19:36 ` Dave Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Kamlesh Bans @ 2002-03-05 19:32 UTC (permalink / raw)
  To: linux-kernel

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.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.5.5 3c505.c redefine of netdev_ethtool_ioctl and netdev_ioctl
  2002-03-05 19:32 2.5.5 3c505.c redefine of netdev_ethtool_ioctl and netdev_ioctl Kamlesh Bans
@ 2002-03-05 19:36 ` Dave Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Jones @ 2002-03-05 19:36 UTC (permalink / raw)
  To: Kamlesh Bans; +Cc: linux-kernel

On Tue, Mar 05, 2002 at 11:32:32AM -0800, Kamlesh Bans wrote:
 > 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
 > The module was able to compile with the second occurrences of the two 
 > functions removed.

 That is the correct fix.

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-05 19:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-05 19:32 2.5.5 3c505.c redefine of netdev_ethtool_ioctl and netdev_ioctl Kamlesh Bans
2002-03-05 19:36 ` Dave Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).