All pastes #330303 Raw Edit

Anonymous

public text v1 · immutable
#330303 ·published 2007-01-27 20:15 UTC
rendered paste body
see my comments at the end.

make -C rt2x00 compile
Forcing package rebuild
Rebuilding /home/mj/tmp/trunk2/trunk/bin/packages/kmod-rt2x00_2.6.19.2+20061230-brcm-1_mipsel.ipk
make[4]: Entering directory `/home/mj/tmp/trunk2/trunk/package/rt2x00'
rm -f /home/mj/tmp/trunk2/trunk/staging_dir_mipsel/stampfiles/.kmod-rt2x00-installed
mkdir -p /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00
cp -fpR ./src/* /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/
touch /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/.prepared
(cd /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/; if [ -x configure ]; then AR=mipsel-linux-ucl
ibc-ar AS="mipsel-linux-uclibc-gcc -c -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" LD=mipsel-linux-uclibc-ld NM=
mipsel-linux-uclibc-nm CC="mipsel-linux-uclibc-gcc" GCC="mipsel-linux-uclibc-gcc" CXX=mipsel-linux-uclibc-g++ RANLIB=
mipsel-linux-uclibc-ranlib STRIP=mipsel-linux-uclibc-strip OBJCOPY=mipsel-linux-uclibc-objcopy CFLAGS="-Os -pipe -mip
s32 -mtune=mips32 -funit-at-a-time" CXXFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" CPPFLAGS="-I/home/mj/
tmp/trunk2/trunk/staging_dir_mipsel/usr/include -I/home/mj/tmp/trunk2/trunk/staging_dir_mipsel/include" LDFLAGS="-L/h
ome/mj/tmp/trunk2/trunk/staging_dir_mipsel/usr/lib -L/home/mj/tmp/trunk2/trunk/staging_dir_mipsel/lib" PKG_CONFIG_PAT
H="/home/mj/tmp/trunk2/trunk/staging_dir_mipsel/usr/lib/pkgconfig" PKG_CONFIG_LIBDIR="/home/mj/tmp/trunk2/trunk/stagi
ng_dir_mipsel/usr/lib/pkgconfig"  ./configure --target=mipsel-linux --host=mipsel-linux --build=i686-pc-linux-gnu --p
rogram-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexec
dir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disa
ble-nls ; fi; )
touch /home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/.configured
make -C "/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/linux-2.6.19.2" CROSS_COMPILE="mipsel-linux-uclibc-" A
RCH="mips" SUBDIRS="/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00" EXTRA_CFLAGS="-I/home/mj/tmp/t
runk2/trunk/staging_dir_mipsel/usr/include" modules
make[5]: 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
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:38:32: linux/eeprom_93cx6.h: No such fi
le or directory
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 ty
pe
/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 inco
mplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2x00.h:1188: error: dereferencing pointer to inco
mplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2x00.h:1190: error: dereferencing pointer to inco
mplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2x00.h:1192: error: dereferencing pointer to inco
mplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2x00.h:1198: error: dereferencing pointer to inco
mplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2x00.h:1199: error: dereferencing pointer to inco
mplete 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 ty
pe `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:661: error: dereferencing pointer to in
complete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:662: error: invalid use of undefined ty
pe `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:662: error: dereferencing pointer to in
complete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:664: error: invalid use of undefined ty
pe `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:664: error: dereferencing pointer to in
complete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:665: error: invalid use of undefined ty
pe `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:665: error: dereferencing pointer to in
complete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:667: error: invalid use of undefined ty
pe `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:667: error: dereferencing pointer to in
complete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:668: error: invalid use of undefined ty
pe `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:668: error: dereferencing pointer to in
complete 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 incom
patible pointer type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:862:36: macro "INIT_WORK" requires 3 ar
guments, 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 (fir
st 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 appear
s in.)
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c: In function `rt2500pci_init_channel_ti
me':
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:1271: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:1271: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:1272: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:1272: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:1273: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:1273: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:1274: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:1274: error: dereferencing pointer to i
ncomplete 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 t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:1725: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2317:50: macro "INIT_WORK" requires 3 a
rguments, 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 (fi
rst use in this function)
/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:2498: warning: "struct eeprom_93cx6" de
clared inside parameter list
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2498: warning: its scope is only this d
efinition or declaration, which is probably not what you want
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c: In function `rt2500pci_eepromregister_
read':
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2500: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2505: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2507: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2509: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2511: error: dereferencing pointer to i
ncomplete type
/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:2515: warning: "struct eeprom_93cx6" de
clared inside parameter list
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c: In function `rt2500pci_eepromregister_
write':
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2517: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2521: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2523: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2525: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2527: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c: In function `rt2500pci_alloc_eeprom':
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2534: error: storage size of 'eeprom' i
sn't known
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2551: error: `PCI_EEPROM_WIDTH_93C46' u
ndeclared (first use in this function)
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2551: error: `PCI_EEPROM_WIDTH_93C66' u
ndeclared (first use in this function)
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2557: warning: implicit declaration of 
function `eeprom_93cx6_multiread'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2534: warning: unused variable `eeprom'
/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 `si
zeof' 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 t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2874: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2877: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2877: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2880: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2880: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2883: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2883: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2891: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2891: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2892: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2892: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2893: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2893: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2900: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2900: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2901: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2901: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2902: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2902: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2903: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2903: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2903: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2903: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2904: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2904: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2904: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2904: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2912: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2912: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2913: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2913: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2914: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2914: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2915: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2915: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2915: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2915: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2916: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2916: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2916: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2916: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2919: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2919: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2920: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2920: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2925: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2925: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2926: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2926: error: dereferencing pointer to i
ncomplete 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 t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:2975: error: dereferencing pointer to i
ncomplete 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 t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:3020: error: dereferencing pointer to i
ncomplete type
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:3021: error: invalid use of undefined t
ype `struct ieee80211_hw_mode'
/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.c:3021: error: dereferencing pointer to i
ncomplete 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' def
ined 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[6]: *** [/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/rt2500pci.o] Error 1
make[5]: *** [_module_/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00] Error 2
make[5]: Leaving directory `/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/linux-2.6.19.2'
make[4]: *** [/home/mj/tmp/trunk2/trunk/build_mipsel/linux-2.6-brcm/kmod-rt2x00/.built] Error 2
make[4]: Leaving directory `/home/mj/tmp/trunk2/trunk/package/rt2x00'
make[3]: *** [rt2x00-compile] Error 2
make[3]: Leaving directory `/home/mj/tmp/trunk2/trunk/package'
make[2]: *** [compile] Error 2
make[2]: Leaving directory `/home/mj/tmp/trunk2/trunk/package'
make[1]: *** [package/compile] Error 2
make[1]: Leaving directory `/home/mj/tmp/trunk2/trunk'
make: *** [world] Error 2
37,64s user 22,41s system 97% cpu 1:01,67 total, running make V=99

all files unchanged, only package/rt2x00/srv/Makefile changed to:
#obj-m          += rt2400pci.o
obj-m           += rt2500pci.o
#obj-m          += rt61pci.o
#obj-m          += rt2500usb.o
#obj-m          += rt73usb.o