Search Linux Wireless

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

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

 



Hi,

>  >    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?

Yes, but only for rt61 and rt73. The crc-itu-t is used for firmware
crc validation.
(Note that rt2x00firmware.o should only be compiled when rt61 and rt73 are
being compiled).

There currently is also a dependency on crc-ccitt, but that is for the
upcoming rt2800 drivers (Yes, I could do the same as the legacy driver
and use crc-itu-t, but I dislike the idea of bit-reverting each firmware word
before pushing it through the crc algorithm.).

>  > 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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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