Re: [zd1211-devs] R80 Linux 2.4 gcc 3.4.5 compile problems

2006-07-04 Thread Gabor Z. Papp
* 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

2006-07-03 Thread Gabor Z. Papp
* 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

2006-07-02 Thread Gabor Z. Papp
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