Re: [zd1211-devs] R80 Linux 2.4 gcc 3.4.5 compile problems
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 There seems to be another problem in zd1205.c similar to the previous one: In one place 'zd1205wext_iw_get_stats' gets used under the condition: #if WIRELESS_EXT 16 .get_wireless_stats = zd1205wext_iw_get_stats, in another place: #if WIRELESS_EXT 12 struct iw_statistics *zd1205wext_iw_get_stats(struct net_device *dev) I think the two should match to make it work (and I guess it should also match the previous condition in zd1205.h) I think it's time the author of the change steps up and tells what exactly is supposed to happen here. 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=lnkkid=120709bid=263057dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] R80 Linux 2.4 gcc 3.4.5 compile problems
* Remco [EMAIL PROTECTED]: | in another place: | #if WIRELESS_EXT 12 | struct iw_statistics *zd1205wext_iw_get_stats(struct net_device *dev) src/zd1211.c: In function `zd1205wext_iw_get_stats': src/zd1211.c:1879: error: syntax error before dev src/zd1211.c:1917: error: parameter `iface_desc' is initialized [...] src/zd1211.c:1748: warning: 'zd1211_kill_tx_urb' defined but not used src/zd1211.c:1755: warning: 'zd1211_tx_timeout' defined but not used make: *** [src/zd1211.o] Error 1 But maybe I'm too lame to apply your changes. My zd1211.c 1876-1877 lines looks like: #if WIRELESS_EXT 12 struct iw_statistics *zd1205wext_iw_get_stats(struct net_device *dev) 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=lnkkid=120709bid=263057dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] R80 Linux 2.4 gcc 3.4.5 compile problems
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) diff -ur zd1211-driver-r80/src/zd1205.h zd1211-driver-r80.new/src/zd1205.h --- zd1211-driver-r80/src/zd1205.h 2006-02-16 22:33:51.0 +0100 +++ zd1211-driver-r80.new/src/zd1205.h 2006-07-03 09:57:12.0 +0200 @@ -613,7 +613,7 @@ { struct net_device_stats net_stats; /* ath_desc: added iw_get_stats */ -#ifdef CONFIG_NET_WIRELESS +#if WIRELESS_EXT 12 struct iw_statistics iw_stats; #endif unsigned long tx_late_col; 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=lnkkid=120709bid=263057dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] R80 Linux 2.4 gcc 3.4.5 compile problems
* 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
[zd1211-devs] R80 Linux 2.4 gcc 3.4.5 compile problems
Trying to compile R80 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 `zd1205wext_iw_get_stats': src/zd1205.c:4776: error: structure has no member named `iw_stats' 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' make: *** [src/zd1205.o] Error 1 [kernel] Linux gzp1 2.4.32 #1 Sat Jan 7 16:31:17 CET 2006 i686 unknown unknown GNU/Linux [glibc] GNU C Library stable release version 2.2.5, by Roland McGrath et al. Compiled by GNU CC version 2.95.4 20010319 (prerelease). Compiled on a Linux 2.4.17 system on 2002-01-21. [gcc] gcc (GCC) 3.4.5 [binutils] GNU ld version 2.17.50.0.2 20060526 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=lnkkid=120709bid=263057dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs