Search Linux Wireless

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

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

 



On Monday 10 March 2008, Franz Apeltauer wrote:
> Luis R. Rodriguez schrieb:
> >>  b) Test on a PC with MSI PC54G2 ... RaLink rt2500
> > 
> > You can test this now, I've enabled rt2x00 drivers by fixing
> > dependencies on config.mk. Forced re-generation of new tarball based
> > on latest updates too.
> > 
> >   Luis
> 
> Loaded today's tarball (10.3.).
> The "redefinition of rt2x00lib_load_firmware" error is back.
> 
> I believe, that there should be 2 additional lines in rt2x00firmware.c:
> a) line #115, before "int rt2x00lib_load_firmware":
>      #ifdef CONFIG_RT2X00_LIB_FIRMWARE
> b) at the end of the file:
>      #endif /* CONFIG_RT2X00_LIB_FIRMWARE */
> to be consistent with #ifdef/#else/#endif in rt2x00lib.h lines 124, 127, 
> 135.
> Then it compiles fine. install, unload, load.
> ... and now I see wlan0 and wmaster0!  Yippee!

How about not linking rt2x00firmware.c at all when RT2X00_LIB_FIRMWARE
is not set? That should be a clean solution that can be made in the Makefile...

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