Re: Error in building modules into kernel.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 27, 2005 at 09:04:02AM +0530, P Lavin wrote:
 > Hi,
 > Can anyone tell me why i'm getting this error when i'm trying to build 
 > my driver into kernel ??
 > I'm using fedora-2 with linux-2.6.6
 > 
 >  CC      drivers/net/wireless/rsi_pine1/wpa/rc4.o
 >  CC      drivers/net/wireless/rsi_pine1/wpa/aes_wrap.o
 >  CC      drivers/net/wireless/rsi_pine1/wpa/md5.o
 >  CC      drivers/net/wireless/rsi_pine1/wpa/sha1.o
 >  CC      drivers/net/wireless/rsi_pine1/wpa/common.o
 >  CC      drivers/net/wireless/rsi_pine1/wpa/wpa_ap.o
 >  CC      drivers/net/wireless/rsi_pine1/wpa/ieee802_1x.o
 >  LD      drivers/net/wireless/rsi_pine1/rsiap.o
 >  LD      drivers/net/wireless/rsi_pine1/built-in.o
 >  LD      drivers/net/wireless/built-in.o
 >  LD      drivers/net/built-in.o
 >  LD      drivers/built-in.o
 >  GEN     .version
 >  CHK     include/linux/compile.h
 >  UPD     include/linux/compile.h
 >  CC      init/version.o
 >  LD      init/built-in.o
 >  LD      .tmp_vmlinux1
 > drivers/built-in.o(.exit.text+0xdab): In function `cleanup_module':
 > : multiple definition of `cleanup_module'
 > kernel/built-in.o(.text+0x18f0c): first defined here
 > ld: Warning: size of symbol `cleanup_module' changed from 1 in 
 > kernel/built-in.o to 40 in drivers/built-in.o
 > drivers/built-in.o(.init.text+0xf9fb): In function `init_module':
 > : multiple definition of `init_module'
 > kernel/built-in.o(.text+0x18580): first defined here
 > ld: Warning: size of symbol `init_module' changed from 3 in 
 > kernel/built-in.o to 166 in drivers/built-in.o
 > make: *** [.tmp_vmlinux1] Error 1

Probably something simple in the declarations of the init/cleanup routines.
Where's the source for this driver ?

		Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux