#1906: Trunk (r3556-20080421) won't compile under kernel 2.4
------------------------------------+---------------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: defect | Status: new
Priority: critical | Milestone:
Component: madwifi: other | Version: trunk
Resolution: | Keywords: kernel 2.4 compile problem
Patch_attached: 0 |
------------------------------------+---------------------------------------
Old description:
> madwifi-ng trunk (r3556-20080421) won't compile under kernel 2.4 (in
> particular, 2.4.32):
>
> make -C /usr/src/redhat/BUILD/madwifi-ng-r3556-20080421/ath
> CFLAGS="-D__KERNEL__
> -I/usr/src/redhat/BUILD/kernel-2.4.32/linux-2.4.32/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586
> -DMODULE -DMODVERSIONS -include
> /usr/src/redhat/BUILD/kernel-2.4.32/linux-2.4.32/include/linux/modversions.h"
> MAKING_MODULES=1 modules
> make[3]: Entering directory `/usr/src/redhat/BUILD/madwifi-
> ng-r3556-20080421/ath'
> gcc -D__KERNEL__
> -I/usr/src/redhat/BUILD/kernel-2.4.32/linux-2.4.32/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586
> -DMODULE -DMODVERSIONS -include
> /usr/src/redhat/BUILD/kernel-2.4.32/linux-2.4.32/include/linux/modversions.h
> -DAR_DEBUG -DIEEE80211_DEBUG -include ./../include/compat.h
> -I./../include -I./.. -I./../ath_hal -I./../hal -I./../net80211 -DATH_PCI
> -DDFS_DOMAIN_ETSI -DDFS_DOMAIN_FCC -DTARGET='"i386-elf"' -Werror -Wall
> -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN -fomit-frame-pointer -DATH_SUPERG_FF=1
> -DATH_SUPERG_DYNTURBO=1 -DATH_TURBO_SCAN=1 -DATH_SUPERG_COMP=1
> -DATH_SUPERG_XR=1 -DATH_CAP_TPC=1 -DOPT_AH_H=\"public/i386-elf.opt_ah.h\"
> -nostdinc -iwithprefix include -DKBUILD_BASENAME=if_ath -DEXPORT_SYMTAB
> -c if_ath.c
> if_ath.c:60:26: linux/bitmap.h: No such file or directory
> if_ath.c: In function `ath_attach':
> if_ath.c:796: `INITIAL_JIFFIES' undeclared (first use in this function)
> if_ath.c:796: (Each undeclared identifier is reported only once
> if_ath.c:796: for each function it appears in.)
> cc1: warnings being treated as errors
> if_ath.c: In function `ath_scanbufs':
> if_ath.c:12955: warning: implicit declaration of function `kzalloc'
> if_ath.c:12956: warning: assignment makes pointer from integer without a
> cast
> make[3]: *** [if_ath.o] Error 1
> make[3]: Leaving directory `/usr/src/redhat/BUILD/madwifi-
> ng-r3556-20080421/ath'
> make[2]: *** [_mod_/usr/src/redhat/BUILD/madwifi-ng-r3556-20080421/ath]
> Error 2
> make[2]: Leaving directory
> `/usr/src/redhat/BUILD/kernel-2.4.32/linux-2.4.32'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/src/redhat/BUILD/madwifi-
> ng-r3556-20080421/ath'
> make: *** [modules] Error 1
New description:
madwifi-ng trunk (r3556-20080421) won't compile under kernel 2.4 (in
particular, 2.4.32):
{{{
make -C /usr/src/redhat/BUILD/madwifi-ng-r3556-20080421/ath
CFLAGS="-D__KERNEL__
-I/usr/src/redhat/BUILD/kernel-2.4.32/linux-2.4.32/include -Wall -Wstrict-
prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-
frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE
-DMODVERSIONS -include
/usr/src/redhat/BUILD/kernel-2.4.32/linux-2.4.32/include/linux/modversions.h"
MAKING_MODULES=1 modules
make[3]: Entering directory `/usr/src/redhat/BUILD/madwifi-
ng-r3556-20080421/ath'
gcc -D__KERNEL__
-I/usr/src/redhat/BUILD/kernel-2.4.32/linux-2.4.32/include -Wall -Wstrict-
prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-
frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE
-DMODVERSIONS -include
/usr/src/redhat/BUILD/kernel-2.4.32/linux-2.4.32/include/linux/modversions.h
-DAR_DEBUG -DIEEE80211_DEBUG -include ./../include/compat.h
-I./../include -I./.. -I./../ath_hal -I./../hal -I./../net80211 -DATH_PCI
-DDFS_DOMAIN_ETSI -DDFS_DOMAIN_FCC -DTARGET='"i386-elf"' -Werror -Wall
-DAH_BYTE_ORDER=AH_LITTLE_ENDIAN -fomit-frame-pointer -DATH_SUPERG_FF=1
-DATH_SUPERG_DYNTURBO=1 -DATH_TURBO_SCAN=1 -DATH_SUPERG_COMP=1
-DATH_SUPERG_XR=1 -DATH_CAP_TPC=1 -DOPT_AH_H=\"public/i386-elf.opt_ah.h\"
-nostdinc -iwithprefix include -DKBUILD_BASENAME=if_ath -DEXPORT_SYMTAB
-c if_ath.c
if_ath.c:60:26: linux/bitmap.h: No such file or directory
if_ath.c: In function `ath_attach':
if_ath.c:796: `INITIAL_JIFFIES' undeclared (first use in this function)
if_ath.c:796: (Each undeclared identifier is reported only once
if_ath.c:796: for each function it appears in.)
cc1: warnings being treated as errors
if_ath.c: In function `ath_scanbufs':
if_ath.c:12955: warning: implicit declaration of function `kzalloc'
if_ath.c:12956: warning: assignment makes pointer from integer without a
cast
make[3]: *** [if_ath.o] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/madwifi-
ng-r3556-20080421/ath'
make[2]: *** [_mod_/usr/src/redhat/BUILD/madwifi-ng-r3556-20080421/ath]
Error 2
make[2]: Leaving directory
`/usr/src/redhat/BUILD/kernel-2.4.32/linux-2.4.32'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/madwifi-
ng-r3556-20080421/ath'
make: *** [modules] Error 1
}}}
--
Ticket URL: <https://madwifi.org/ticket/1906#comment:1>
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