#1875: the latest snv madwifi-ng does not compile
---------------------------------+------------------------------------------
Reporter: adolfotregosa | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Component: madwifi: other | Version:
Resolution: | Keywords:
Patch_attached: 0 |
---------------------------------+------------------------------------------
Old description:
> [EMAIL PROTECTED] trunk]$ make
> Checking requirements... ok.
> Checking kernel configuration... ok.
> make -C /lib/modules/2.6.24.4-laptop-1mnb/build
> SUBDIRS=/home/adolfo/trunk modules
> make[1]: Entering directory `/usr/src/linux-2.6.24.4-laptop-1mnb'
> scripts/Makefile.build:46: *** CFLAGS was changed in
> "/home/adolfo/trunk/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
> make[1]: *** [_module_/home/adolfo/trunk] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.24.4-laptop-1mnb'
> make: *** [modules] Error 2
>
> -------------------------------------------------------------------------------------------------
>
> [EMAIL PROTECTED] trunk]$ make KBUILD_NOPEDANTIC=1
> Checking requirements... ok.
> Checking kernel configuration... ok.
> make -C /lib/modules/2.6.24.4-laptop-1mnb/build
> SUBDIRS=/home/adolfo/trunk modules
> make[1]: Entering directory `/usr/src/linux-2.6.24.4-laptop-1mnb'
> CC [M] /home/adolfo/trunk/ath/if_ath.o
> cc1: warnings being treated as errors
> /home/adolfo/trunk/ath/if_ath.c: In function 'ath_suspend':
> /home/adolfo/trunk/ath/if_ath.c:1596: warning: unused variable 'sc'
> /home/adolfo/trunk/ath/if_ath.c: In function 'ath_resume':
> /home/adolfo/trunk/ath/if_ath.c:1605: warning: unused variable 'sc'
> /home/adolfo/trunk/ath/if_ath.c: In function 'ath_recv_mgmt':
> /home/adolfo/trunk/ath/if_ath.c:6385: warning: unused variable 'wh'
> /home/adolfo/trunk/ath/if_ath.c: In function 'ath_tx_draintxq':
> /home/adolfo/trunk/ath/if_ath.c:8570: warning: unused variable 'ah'
> make[3]: *** [/home/adolfo/trunk/ath/if_ath.o] Error 1
> make[2]: *** [/home/adolfo/trunk/ath] Error 2
> make[1]: *** [_module_/home/adolfo/trunk] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.24.4-laptop-1mnb'
> make: *** [modules] Error 2
New description:
{{{
[EMAIL PROTECTED] trunk]$ make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.24.4-laptop-1mnb/build SUBDIRS=/home/adolfo/trunk
modules
make[1]: Entering directory `/usr/src/linux-2.6.24.4-laptop-1mnb'
scripts/Makefile.build:46: *** CFLAGS was changed in
"/home/adolfo/trunk/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[1]: *** [_module_/home/adolfo/trunk] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24.4-laptop-1mnb'
make: *** [modules] Error 2
}}}
{{{
[EMAIL PROTECTED] trunk]$ make KBUILD_NOPEDANTIC=1
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.24.4-laptop-1mnb/build SUBDIRS=/home/adolfo/trunk
modules
make[1]: Entering directory `/usr/src/linux-2.6.24.4-laptop-1mnb'
CC [M] /home/adolfo/trunk/ath/if_ath.o
cc1: warnings being treated as errors
/home/adolfo/trunk/ath/if_ath.c: In function 'ath_suspend':
/home/adolfo/trunk/ath/if_ath.c:1596: warning: unused variable 'sc'
/home/adolfo/trunk/ath/if_ath.c: In function 'ath_resume':
/home/adolfo/trunk/ath/if_ath.c:1605: warning: unused variable 'sc'
/home/adolfo/trunk/ath/if_ath.c: In function 'ath_recv_mgmt':
/home/adolfo/trunk/ath/if_ath.c:6385: warning: unused variable 'wh'
/home/adolfo/trunk/ath/if_ath.c: In function 'ath_tx_draintxq':
/home/adolfo/trunk/ath/if_ath.c:8570: warning: unused variable 'ah'
make[3]: *** [/home/adolfo/trunk/ath/if_ath.o] Error 1
make[2]: *** [/home/adolfo/trunk/ath] Error 2
make[1]: *** [_module_/home/adolfo/trunk] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24.4-laptop-1mnb'
make: *** [modules] Error 2
}}}
--
Ticket URL: <http://madwifi.org/ticket/1875#comment:2>
madwifi.org <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets