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

2006-07-03 Thread Remco
 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


[zd1211-devs] Problem making zd1211 with Ubuntu Dapper Drake

2006-07-03 Thread Michele Monaco
Hi all.Linux release: Ubuntu Dapper Drake.Linux Kernel 2.6.15-25-386Wi-Fi USB Network interface is the 3CRUSB10075 della 3COM, using the ZyDas chip ZD1211.I've downloaded the latest release of the driver and tried to install it.
After untar the tar file, I tapes make and the process stopped.Here below you can find the detail.[EMAIL PROTECTED]:~/Desktop/WiFi USB/zd1211-driver-r80$ make/lib/modules/2.6.15-25-386/build/home/michele/Desktop/WiFi USB/zd1211-driver-r80
-I/home/michele/Desktop/WiFi USB/zd1211-driver-r80/src/include -fomit-frame-pointer -O2 -Wall -Wstrict-prototypes -pipe -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 -DENHANCE_RX=1 -DZD1211
src/zd1205.o src/zdasocsvc.o src/zdauthreq.o src/zdauthrsp.o src/zdmmrx.o src/zdshared.o src/zdhci.o src/zdglobal.o src/zdencrypt.o src/zdpmfilter.o src/zdpsmon.o src/zdsynch.o src/zdbuf.o src/zd1205_proc.o src/zdhw.o src/zddebug.o src/zdtkipseed.o src/zdmic.o src/zdusb.o src/zd1211.o
make -C /lib/modules/2.6.15-25-386/build SUBDIRS=/home/michele/Desktop/WiFi USB/zd1211-driver-r80 modulesmake[1]: Entering directory `/usr/src/linux-headers-2.6.15-25-386'make[1]: *** No rule to make target `USB/zd1211-driver-r80'. Stop.
make[1]: Leaving directory `/usr/src/linux-headers-2.6.15-25-386'make: *** [all] Error 2Do you have an idea of the reason?Thanks,Michele
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