* 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