Search Linux Wireless

Re: 2 compile errors: rt2x00firmware.c and mesh.c

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

 



>    CC [M]
> .../compat-wireless-2.6/drivers/net/wireless/rt2x00/rt2x00firmware.o
> .../compat-wireless-2.6/drivers/net/wireless/rt2x00/rt2x00firmware.c:116:
> Fehler: Redefinition von »rt2x00lib_load_firmware«
> = Error: redefiniton of  »rt2x00lib_load_firmware«
> 
> When I tried to "export CONFIG_CRC_ITU_T=y" before "make", 
> rt2x00firmware.c compiled fine. (Probably this is not a good idea. I 
> just wanted to see, if it compiles then.)

That's odd because the latest config.mk should check for CRC_ITU_T
before... Ivo could there be a problem with rt2x00 when crc-itu-t isn't
available?

> In /usr/src/linux-headers-2.6.22-14/include/linux/slab.h I found:
>     struct kmem_cache *kmem_cache_create(const char *, size_t, size_t,
> 		unsigned long,
> 		void (*)(void *, struct kmem_cache *, unsigned long),
> 		void (*)(void *, struct kmem_cache *, unsigned long));
> i.e. the old, 6-parameter version.
> 
> So, IMHO the #define kmem_cache_create in
> - compat-wireless-2.6/include/net/compat.h, line 120 and
> - compat-wireless-2.6/compat/compat.h, line 120
> should be moved 2 lines downwards into the block named
> /* Compat work for 2.6.22 and 2.6.23 */
> Then it compiles fine.

Ok, indeed, it should be moved then, I was working on .21 when I noticed
that needed to be done.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux