* Remco <[EMAIL PROTECTED]>: | > Trying to compile R80 | > | > src/zd1205.c: In function `zd1205wext_iw_get_stats': | > src/zd1205.c:4776: error: structure has no member named `iw_stats'
| I think the problem is with the conditions used to compile in iw_stats | support. | In zd1205.h the condition is: | #ifdef CONFIG_NET_WIRELESS | while in zd1205.c it is: | #if WIRELESS_EXT > 12 | I'm not totally sure which condition applies but '#if WIRELESS_EXT > 12' seems | most appropriate to me. In that case, the following patch should fix it: | (I think it'd be nice if the person who added iw_stats could shine a light on | it as well, to make sure the right condition is picked) gcc -static -O -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DZD1211 -DENHANCE_RX=1 -I/usr/src/linux/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1 -c src/zd1205.c -o src/zd1205.o src/zd1205.h:1279: warning: 'zd_readl' declared inline after being called src/zd1205.h:1279: warning: previous declaration of 'zd_readl' was here src/zd1205.c: In function `zd1205_validate_frame': src/zd1205.c:2809: warning: unused variable `len1' src/zd1205.c: In function `zd1205_translate_scan': src/zd1205.c:7182: warning: int format, U32 arg (arg 4) src/zd1205.c:7182: warning: unknown conversion type character `,' in format src/zd1205.c:7182: warning: spurious trailing `%' in format src/zd1205.c:7182: warning: int format, U32 arg (arg 4) src/zd1205.c:7182: warning: unknown conversion type character `,' in format src/zd1205.c:7182: warning: spurious trailing `%' in format src/zd1205.c: In function `zd1205_list_bss': src/zd1205.c:7387: warning: int format, U32 arg (arg 2) src/zd1205.c:7387: warning: spurious trailing `%' in format src/zd1205.c: In function `zd1211_set_encode_ext': src/zd1205.c:7616: warning: assignment from incompatible pointer type src/zd1205.c: In function `zdcb_set_intr_mask': src/zd1205.c:9670: warning: unused variable `macp' src/zd1205.c: In function `CalculateQuality': src/zd1205.c:10073: warning: unused variable `rxOffset' gcc -static -O -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DZD1211 -DENHANCE_RX=1 -I/usr/src/linux/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1 -c src/zdasocsvc.c -o src/zdasocsvc.o gcc -static -O -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DZD1211 -DENHANCE_RX=1 -I/usr/src/linux/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1 -c src/zdauthreq.c -o src/zdauthreq.o gcc -static -O -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DZD1211 -DENHANCE_RX=1 -I/usr/src/linux/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1 -c src/zdauthrsp.c -o src/zdauthrsp.o gcc -static -O -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DZD1211 -DENHANCE_RX=1 -I/usr/src/linux/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1 -c src/zdmmrx.c -o src/zdmmrx.o gcc -static -O -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DZD1211 -DENHANCE_RX=1 -I/usr/src/linux/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1 -c src/zdshared.c -o src/zdshared.o gcc -static -O -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DZD1211 -DENHANCE_RX=1 -I/usr/src/linux/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1 -c src/zdhci.c -o src/zdhci.o gcc -static -O -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DZD1211 -DENHANCE_RX=1 -I/usr/src/linux/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1 -c src/zdglobal.c -o src/zdglobal.o gcc -static -O -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DZD1211 -DENHANCE_RX=1 -I/usr/src/linux/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1 -c src/zdencrypt.c -o src/zdencrypt.o gcc -static -O -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DZD1211 -DENHANCE_RX=1 -I/usr/src/linux/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1 -c src/zdpmfilter.c -o src/zdpmfilter.o gcc -static -O -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DZD1211 -DENHANCE_RX=1 -I/usr/src/linux/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1 -c src/zdpsmon.c -o src/zdpsmon.o gcc -static -O -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DZD1211 -DENHANCE_RX=1 -I/usr/src/linux/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1 -c src/zdsynch.c -o src/zdsynch.o gcc -static -O -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DZD1211 -DENHANCE_RX=1 -I/usr/src/linux/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1 -c src/zdbuf.c -o src/zdbuf.o gcc -static -O -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DZD1211 -DENHANCE_RX=1 -I/usr/src/linux/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1 -c src/zd1205_proc.c -o src/zd1205_proc.o gcc -static -O -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DZD1211 -DENHANCE_RX=1 -I/usr/src/linux/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1 -c src/zdhw.c -o src/zdhw.o src/zdhw.c: In function `HW_Set_AL2232_RF_Chips': src/zdhw.c:1868: warning: unused variable `macp' gcc -static -O -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DZD1211 -DENHANCE_RX=1 -I/usr/src/linux/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1 -c src/zddebug.c -o src/zddebug.o src/zddebug.c: In function `zd1205_cont_tx': src/zddebug.c:921: warning: `return' with a value, in function returning void gcc -static -O -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DZD1211 -DENHANCE_RX=1 -I/usr/src/linux/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1 -c src/zdtkipseed.c -o src/zdtkipseed.o gcc -static -O -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DZD1211 -DENHANCE_RX=1 -I/usr/src/linux/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1 -c src/zdmic.c -o src/zdmic.o gcc -static -O -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DZD1211 -DENHANCE_RX=1 -I/usr/src/linux/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1 -c src/zdusb.c -o src/zdusb.o gcc -static -O -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DZD1211 -DENHANCE_RX=1 -I/usr/src/linux/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1 -c src/zd1211.c -o src/zd1211.o src/zd1211.c: In function `zd1211_InitSetup': src/zd1211.c:1883: error: `zd1205wext_iw_get_stats' undeclared (first use in this function) src/zd1211.c:1883: error: (Each undeclared identifier is reported only once src/zd1211.c:1883: error: for each function it appears in.) make: *** [src/zd1211.o] Error 1 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs