ipsel-linux-uclibc-gcc -D__KERNEL__ -I/home/florian/dev/openwrt/trunk/build_dir/linux-brcm-2.4/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -funit-at-a-time -I /home/florian/dev/openwrt/trunk/build_dir/linux-brcm-2.4/linux-2.4.34/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=100000 -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -DMODULE -mlong-calls -fno-common -include ./../include/compat.h -I./../include -I./.. -I./../ath_hal -I./../hal -I./../net80211 -DCONFIG_ATHEROS_RATE_DEFAULT='"minstrel"' -DTARGET='"mips-le-elf"' -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN -G 0 -mno-abicalls -fno-pic -mips32 -Wa,--trap -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls -DATH_SUPERG_FF=1 -DATH_SUPERG_DYNTURBO=1 -DATH_TURBO_SCAN=1 -DATH_SUPERG_XR=1 -DATH_CAP_TPC=1 -DATH_PCI -DDFS_DOMAIN_ETSI -DTARGET='"mips-le-elf"' -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN -G 0 -mno-abicalls -fno-pic -mips32 -Wa,--trap -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls -DATH_SUPERG_FF=1 -DATH_SUPERG_DYNTURBO=1 -DATH_TURBO_SCAN=1 -DATH_SUPERG_XR=1 -DATH_CAP_TPC=1 -DATH_PCI -DDFS_DOMAIN_ETSI -DTARGET='"mips-le-elf"' -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN -G 0 -mno-abicalls -fno-pic -mips32 -Wa,--trap -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls -DATH_SUPERG_FF=1 -DATH_SUPERG_DYNTURBO=1 -DATH_TURBO_SCAN=1 -DATH_SUPERG_XR=1 -DATH_CAP_TPC=1 -DOPT_AH_H=\"public/mips-le-elf.opt_ah.h\" -nostdinc -iwithprefix include -DKBUILD_BASENAME=if_ath_radar -DEXPORT_SYMTAB -c if_ath_radar.c if_ath_radar.c: In function `rp_analyse': if_ath_radar.c:1302: warning: implicit declaration of function `list_for_each_entry_reverse' if_ath_radar.c:1302: error: `list' undeclared (first use in this function) if_ath_radar.c:1302: error: (Each undeclared identifier is reported only once if_ath_radar.c:1302: error: for each function it appears in.) if_ath_radar.c:1302: error: syntax error before '{' token if_ath_radar.c:1285: warning: unused variable `best_pattern' if_ath_radar.c: At top level: if_ath_radar.c:1414: error: syntax error before "if" if_ath_radar.c:1473: warning: type defaults to `int' in declaration of `best_pattern' if_ath_radar.c:1474: error: `best_index' undeclared here (not in a function) if_ath_radar.c:1474: warning: data definition has no type or storage class if_ath_radar.c:1475: error: syntax error before "do" if_ath_radar.c:1504: error: syntax error before numeric constant if_ath_radar.c:1504: warning: type defaults to `int' in declaration of `ath_rp_print' if_ath_radar.c:1504: warning: function declaration isn't a prototype if_ath_radar.c:1504: error: conflicting types for 'ath_rp_print' if_ath_radar.h:185: error: previous declaration of 'ath_rp_print' was here if_ath_radar.c:1504: error: conflicting types for 'ath_rp_print' if_ath_radar.h:185: error: previous declaration of 'ath_rp_print' was here if_ath_radar.c:1504: warning: data definition has no type or storage class if_ath_radar.c:1518: error: syntax error before '[' token if_ath_radar.c:1518: warning: type defaults to `int' in declaration of `ath_radar_detected' if_ath_radar.c:1518: warning: function declaration isn't a prototype if_ath_radar.c:1518: error: conflicting types for 'ath_radar_detected' ./../ath/if_athvar.h:913: error: previous declaration of 'ath_radar_detected' was here if_ath_radar.c:1518: error: conflicting types for 'ath_radar_detected' ./../ath/if_athvar.h:913: error: previous declaration of 'ath_radar_detected' was here if_ath_radar.c:1518: warning: data definition has no type or storage class if_ath_radar.c: In function `ath_rp_init': if_ath_radar.c:1552: warning: implicit declaration of function `kzalloc' if_ath_radar.c: At top level: if_ath_radar.c:1697: error: conflicting types for 'ath_rp_print' if_ath_radar.c:1504: error: previous declaration of 'ath_rp_print' was here if_ath_radar.c:1697: error: conflicting types for 'ath_rp_print' if_ath_radar.c:1504: error: previous declaration of 'ath_rp_print' was here if_ath_radar.c: In function `ath_rp_print': if_ath_radar.c:1709: error: `list' undeclared (first use in this function) if_ath_radar.c:1710: error: syntax error before "if" if_ath_radar.c:1713: error: syntax error before '{' token if_ath_radar.c: At top level: if_ath_radar.c:1732: error: syntax error before '}' token if_ath_radar.c: In function `ath_rp_flush': if_ath_radar.c:1737: error: `list' undeclared (first use in this function) if_ath_radar.c:1738: error: syntax error before "pulse" make[6]: *** [if_ath_radar.o] Error 1 make[6]: Leaving directory `/home/florian/dev/openwrt/trunk/build_dir/linux-brcm-2.4/madwifi-dfs-r2996/ath' make[5]: *** [_mod_/home/florian/dev/openwrt/trunk/build_dir/linux-brcm-2.4/madwifi-dfs-r2996/ath] Error 2 make[5]: Leaving directory `/home/florian/dev/openwrt/trunk/build_dir/linux-brcm-2.4/linux-2.4.34' make[4]: *** [all] Error 2 make[4]: Leaving directory `/home/florian/dev/openwrt/trunk/build_dir/linux-brcm-2.4/madwifi-dfs-r2996/ath' make[3]: *** [modules] Error 1 make[3]: Leaving directory `/home/florian/dev/openwrt/trunk/build_dir/linux-brcm-2.4/madwifi-dfs-r2996' make[2]: *** [/home/florian/dev/openwrt/trunk/build_dir/linux-brcm-2.4/madwifi-dfs-r2996/.built] Error 2 make[2]: Leaving directory `/home/florian/dev/openwrt/trunk/package/madwifi' make[1]: *** [package/madwifi/compile] Error 2 make[1]: Leaving directory `/home/florian/dev/openwrt/trunk' make: *** [package/madwifi-compile] Error 2 zsh: exit 2 make package/madwifi-compile V=99