make -C package rt2x00-compile make[1]: Entering directory `/home/mj/tmp/trunk2/trunk/package' make -C d80211 compile make[2]: Entering directory `/home/mj/tmp/trunk2/trunk/package/d80211' make[2]: `compile' is up to date. make[2]: Leaving directory `/home/mj/tmp/trunk2/trunk/package/d80211' make -C rt2x00 compile Rebuilding /home/mj/tmp/trunk2/trunk/bin/packages/kmod-rt2x00_2.6.19.2+20061230-brcm-1_mipsel.ipk make[2]: Entering directory `/home/mj/tmp/trunk2/trunk/package/rt2x00' make -C "/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/linux-2.6.19.2" CROSS_COMPILE="mipsel-linux-uclibc-" ARCH="mips" SUBDIRS="/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00" EXTRA_CFLAGS="-I/home/mj/tmp/trunk2/trunk/staging_dir_mipsel/usr/include -I/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00" modules make[3]: Entering directory `/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/linux-2.6.19.2' CC [M] /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.o In file included from /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:54: /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2x00.h:689: error: field `work' has incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2x00.h: In function `device_signal_to_rate': /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2x00.h:1181: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2x00.h:1188: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2x00.h:1190: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2x00.h:1192: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2x00.h:1198: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2x00.h:1199: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c: In function `rt2500pci_config_phymode': /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:661: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:661: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:662: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:662: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:664: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:664: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:665: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:665: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:667: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:667: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:668: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:668: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c: In function `rt2500pci_link_tuner': /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:697: warning: type defaults to `int' in declaration of `__mptr' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:697: warning: initialization from incompatible pointer type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:862:36: macro "INIT_WORK" requires 3 arguments, but only 2 given /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c: In function `rt2500pci_alloc_dma_ring': /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:862: error: `INIT_WORK' undeclared (first use in this function) /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:862: error: (Each undeclared identifier is reported only once /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:862: error: for each function it appears in.) /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c: In function `rt2500pci_init_channel_time': /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:1271: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:1271: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:1272: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:1272: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:1273: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:1273: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:1274: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:1274: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c: In function `rt2500pci_rxdone': /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:1725: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:1725: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2317:50: macro "INIT_WORK" requires 3 arguments, but only 2 given /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c: In function `rt2500pci_passive_scan': /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2317: error: `INIT_WORK' undeclared (first use in this function) /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c: In function `rt2500pci_init_hw_modes': /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2869: error: invalid application of `sizeof' to incomplete type `ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2874: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2874: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2877: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2877: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2880: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2880: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2883: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2883: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2891: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2891: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2892: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2892: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2893: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2893: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2900: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2900: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2901: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2901: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2902: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2902: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2903: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2903: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2903: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2903: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2904: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2904: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2904: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2904: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2912: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2912: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2913: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2913: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2914: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2914: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2915: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2915: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2915: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2915: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2916: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2916: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2916: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2916: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2919: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2919: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2920: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2920: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2925: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2925: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2926: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2926: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c: In function `rt2500pci_init_hw': /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2974: warning: implicit declaration of function `ieee80211_register_hwmode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2975: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2975: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c: In function `rt2500pci_free_dev': /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:3020: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:3020: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:3021: error: invalid use of undefined type `struct ieee80211_hw_mode' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:3021: error: dereferencing pointer to incomplete type /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c: In function `rt2500pci_alloc_dev': /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:3062: warning: implicit declaration of function `INIT_DELAYED_WORK' /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c: At top level: /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:218: warning: 'rt2x00_eeprom_write' defined but not used /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2230: warning: 'rt2500pci_scan' defined but not used make[4]: *** [/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.o] Error 1 make[3]: *** [_module_/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00] Error 2 make[3]: Leaving directory `/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/linux-2.6.19.2' make[2]: *** [/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/.built] Error 2 make[2]: Leaving directory `/home/mj/tmp/trunk2/trunk/package/rt2x00' make[1]: *** [rt2x00-compile] Error 2 make[1]: Leaving directory `/home/mj/tmp/trunk2/trunk/package' make: *** [package/rt2x00-compile] Error 2