Hi,

I compiled 'zd1211rw_2007-05-24' for buffalo WLI-U2-KG54L, but I have the
following
compie error.

[EMAIL PROTECTED] zd1211rw_2007-05-24]$ make
make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/kernels/2.6.20- 1.2316.fc5-i686'
 LD
/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/built-in.o
 CC [M]
/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/zd_netdev.o
 CC [M]
/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/zd_mac.o/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/zd_mac.c:55:57:
error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/zd_mac.c: In
function 'zd_mac_init':
/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/zd_mac.c:55:
error: 'INIT_WORK' undeclared (first use in this function)
/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/zd_mac.c:55:
error: (Each undeclared identifier is reported only once
/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/zd_mac.c:55:
error: for each function it appears in.)
/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/zd_mac.c:56:65:
error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/zd_mac.c:67:8:
error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/zd_mac.c: In
function 'zd_mac_stop':
/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/zd_mac.c:237:
warning: passing argument 1 of 'cancel_delayed_work' from incompatible
pointer type
/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/zd_mac.c:238:
warning: passing argument 1 of 'cancel_delayed_work' from incompatible
pointer type
/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/zd_mac.c: In
function 'housekeeping_queue_delayed_work':
/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/zd_mac.c:1283:
warning: passing argument 2 of 'queue_delayed_work' from incompatible
pointer type
/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/zd_mac.c: In
function 'housekeeping_cancel_delayed_work':
/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/zd_mac.c:1301:
warning: passing argument 1 of 'cancel_delayed_work' from incompatible
pointer
type/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/zd_mac.c:1385:33:
error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/zd_mac.c: In
function 'housekeeping_init':
/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/zd_mac.c:1384:
error: 'INIT_WORK' undeclared (first use in this function)
/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/zd_mac.c:1388:67:
error: macro "INIT_WORK" passed 3 arguments, but takes just 2
make[2]: ***
[/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24/zd_mac.o]
Error 1
make[1]: ***
[_module_/home/zenkato/tools/net/zd1211rw/20070524/zd1211rw_2007-05-24]
Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.20-1.2316.fc5-i686'
make: *** [build] Error 2
[EMAIL PROTECTED] zd1211rw_2007-05-24]$

------------
[EMAIL PROTECTED] zd1211-firmware]$ uname -r
2.6.20-1.2316.fc5

[EMAIL PROTECTED] zd1211rw]$ lsusb
Bus 004 Device 006: ID 0411:00da MelCo., Inc.

[EMAIL PROTECTED] zd1211rw]$ lsmod |grep zd1211rw
zd1211rw               48453  0
ieee80211softmac       31681  1 zd1211rw
ieee80211              31241  3 zd1211rw,ieee80211softmac,ipw2200


[EMAIL PROTECTED] zd1211rw]$ cat /proc/bus/usb/devices

....(snip)....

T:  Bus=04 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  6 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
P:  Vendor=0411 ProdID=00da Rev=48.10
S:  Manufacturer=Buffalo
S:  Product= USB2.0 WLAN
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=125us
E:  Ad=04(O) Atr=03(Int.) MxPS=  64 Ivl=125us

....(snip).....

The firmware that I have installed is : zd1211-firmware1.3.tar.bz2

[EMAIL PROTECTED] zd1211-firmware]$ ls -al
合計 76
drwxr-xr-x 2 zenkato zenkato 4096 12月 31 07:23 .
drwxrwxr-x 4 zenkato zenkato 4096  5月 25 09:54 ..
-rw-r--r-- 1 zenkato zenkato 1002 12月 31 07:23 README
-rw-r--r-- 1 zenkato zenkato 4018  7月 23  2006 zd1211_ub
-rw-r--r-- 1 zenkato zenkato 5120  7月 23  2006 zd1211_uph
-rw-r--r-- 1 zenkato zenkato 5120  7月 23  2006 zd1211_uphm
-rw-r--r-- 1 zenkato zenkato 5120  7月 23  2006 zd1211_uphr
-rw-r--r-- 1 zenkato zenkato 3584  7月 23  2006 zd1211_ur
-rw-r--r-- 1 zenkato zenkato 4018  7月 23  2006 zd1211b_ub
-rw-r--r-- 1 zenkato zenkato 5120  7月 23  2006 zd1211b_uph
-rw-r--r-- 1 zenkato zenkato 5120  7月 23  2006 zd1211b_uphm
-rw-r--r-- 1 zenkato zenkato 5120 12月 26 09:59 zd1211b_uphr
-rw-r--r-- 1 zenkato zenkato 3584  7月 23  2006 zd1211b_ur
----

I would be very grateful for any help to solve this error.

Thanks
Zen
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to