perl -ne 's,eth%d,wl%d\x00,g,print' < wl_apsta.o > wl_mod.o mipsel-linux-uclibc-gcc -D__KERNEL__ -I/home/thecompwiz/Kamikaze/trunk/build_mipsel/linux-2.4-brcm/linux-2.4.32/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -funit-at-a-time -I /home/thecompwiz/Kamikaze/trunk/build_mipsel/linux-2.4-brcm/linux-2.4.32/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 -I/home/thecompwiz/Kamikaze/trunk/build_mipsel/linux-2.4-brcm/linux-2.4.32/arch/mips/bcm947xx/include -DBCMDRIVER -nostdinc -iwithprefix include -DKBUILD_BASENAME=bcmutils -c -o bcmutils.o bcmutils.c In file included from bcmutils.c:18: linux_osl.h:115: error: syntax error before '*' token linux_osl.h:116: warning: function declaration isn't a prototype linux_osl.h: In function `osl_pkt_frmnative': linux_osl.h:119: error: `osh' undeclared (first use in this function) linux_osl.h:119: error: (Each undeclared identifier is reported only once linux_osl.h:119: error: for each function it appears in.) linux_osl.h:120: error: `skb' undeclared (first use in this function) linux_osl.h: At top level: linux_osl.h:138: error: syntax error before '*' token linux_osl.h:139: warning: function declaration isn't a prototype linux_osl.h: In function `osl_pkt_tonative': linux_osl.h:142: error: `osh' undeclared (first use in this function) linux_osl.h:143: error: `pkt' undeclared (first use in this function) make[6]: *** [bcmutils.o] Error 1 make[6]: Leaving directory `/home/thecompwiz/Kamikaze/trunk/build_mipsel/linux-2.4-brcm/broadcom-wl-4.80.53.0/kmod' make[5]: *** [_mod_/home/thecompwiz/Kamikaze/trunk/build_mipsel/linux-2.4-brcm/broadcom-wl-4.80.53.0/kmod] Error 2 make[5]: Leaving directory `/home/thecompwiz/Kamikaze/trunk/build_mipsel/linux-2.4-brcm/linux-2.4.32' make[4]: *** [/home/thecompwiz/Kamikaze/trunk/build_mipsel/linux-2.4-brcm/broadcom-wl-4.80.53.0/.built] Error 2 make[4]: Leaving directory `/home/thecompwiz/Kamikaze/trunk/package/broadcom-wl' make[3]: *** [broadcom-wl-compile] Error 2 make[3]: Leaving directory `/home/thecompwiz/Kamikaze/trunk/package' make[2]: *** [compile] Error 2 make[2]: Leaving directory `/home/thecompwiz/Kamikaze/trunk/package' make[1]: *** [package/compile] Error 2 make[1]: Leaving directory `/home/thecompwiz/Kamikaze/trunk' make: *** [world] Error 2