[Voyage-linux] Fwd: Madwifi compile warnings (2.6.38)
Teco Boot
(spam-protected)
Wed Sep 7 19:28:55 HKT 2011
X-posting, FYI for Voyage Linux developers.
I decided to fall back to madwifi. Ath5k does not provide
some important functions for me (AHDEMO, TxPower, access to
Minstrel stats without debugfs). I'll check ath5k again in
a next update cycle.
Compiling madwifi has some warnings. But I can run it.
Any other experience?
Thanks, Teco
Begin doorgestuurd bericht:
> Van: Teco Boot <teco at inf-net.nl>
> Datum: 7 september 2011 13:22:35 GMT+02:00
> Aan: madwifi-devel at lists.sourceforge.net
> Onderwerp: Madwifi compile warnings (2.6.38)
>
> I've some warnings compiling madwifi version with 2.6.38
> (Voyage Linux 0.7.5). See below the details. Bypass is:
> remove -Werror in line "WARNINGS = -Werror -Wall" in file
> Makefile.inc. I didn't see problems with compiled madwifi
> in 2.6.38 (yet...).
>
> In 2.6.32, there is no problem.
>
> Is someone on this mail-list willing to check?
> Other mail list?
>
> Thanks, Teco
>
>
> My in_use version:
> ==================
> CC [M] /home/madwifi/madwifi-0.9.4-r4136-20110203/net80211/ieee80211_wireless.o
> cc1: warnings being treated as errors
> In file included from /usr/src/linux-source-2.6.38-voyage/arch/x86/include/asm/uaccess.h:571,
> from include/net/checksum.h:25,
> from include/linux/skbuff.h:28,
> from include/linux/if_ether.h:126,
> from include/linux/netdevice.h:29,
> from /home/madwifi/madwifi-0.9.4-r4136-20110203/net80211/../include/compat.h:45,
> from <command-line>:0:
> In function 'copy_from_user',
> inlined from 'ieee80211_ioctl_setmode' at /home/madwifi/madwifi-0.9.4-r4136-20110203/net80211/ieee80211_wireless.c:1939:
> /usr/src/linux-source-2.6.38-voyage/arch/x86/include/asm/uaccess_32.h:212: error: call to 'copy_from_user_overflow' declared with attribute warning: copy_from_user() buffer size is not provably correct
> make[3]: *** [/home/madwifi/madwifi-0.9.4-r4136-20110203/net80211/ieee80211_wireless.o] Error 1
> make[2]: *** [/home/madwifi/madwifi-0.9.4-r4136-20110203/net80211] Error 2
> make[1]: *** [_module_/home/madwifi/madwifi-0.9.4-r4136-20110203] Error 2
> make[1]: Leaving directory `/usr/src/linux-source-2.6.38-voyage'
> make: *** [modules] Error 2
>
>
> Current_build version:
> ======================
> CC [M] /home/madwifi/madwifi-0.9.4-r4167-20110827/net80211/ieee80211_wireless.o
> cc1: warnings being treated as errors
> In file included from /usr/src/linux-source-2.6.38-voyage/arch/x86/include/asm/uaccess.h:571,
> from include/net/checksum.h:25,
> from include/linux/skbuff.h:28,
> from include/linux/if_ether.h:126,
> from include/linux/netdevice.h:29,
> from /home/madwifi/madwifi-0.9.4-r4167-20110827/net80211/../include/compat.h:45,
> from <command-line>:0:
> In function 'copy_from_user',
> inlined from 'ieee80211_ioctl_setmode' at /home/madwifi/madwifi-0.9.4-r4167-20110827/net80211/ieee80211_wireless.c:1938:
> /usr/src/linux-source-2.6.38-voyage/arch/x86/include/asm/uaccess_32.h:212: error: call to 'copy_from_user_overflow' declared with attribute warning: copy_from_user() buffer size is not provably correct
> make[3]: *** [/home/madwifi/madwifi-0.9.4-r4167-20110827/net80211/ieee80211_wireless.o] Error 1
> make[2]: *** [/home/madwifi/madwifi-0.9.4-r4167-20110827/net80211] Error 2
> make[1]: *** [_module_/home/madwifi/madwifi-0.9.4-r4167-20110827] Error 2
> make[1]: Leaving directory `/usr/src/linux-source-2.6.38-voyage'
> make: *** [modules] Error 2
>
>
>
>
>
More information about the Voyage-linux
mailing list