Hi, Ketil:

        Seems like the link in /lib/modules/`uname -r`/build is not
correct. This very same error (the INIT_WORK one) happened to me when
tried to compile the old community driver in the newer kernel. Make sure
that the link goes exactly where it should, and also that you are using
the actual 2.6.20 code for that module.

        Regards,
        diego.

On Tue, Feb 13, 2007 at 11:51:27AM +0100, Ketil Thorgersen wrote:

|    Hi wise folks
| 
|    Being kind of experienced as linux user, I am still very much a novice
|    when it comes to hardware recognition, troubleshooting and making things
|    work. However now I am pretty determined that I am going to make this
|    wireless work since it works with the community driver under ubuntu edgy
|    and other people have made it work with the rw driver (
|    [1]http://www.linlap.com/tiki-index.php?page=Asus+A9Rp)
| 
|    However as the discussions on ubuntuforums
|    ([2]http://www.ubuntuforums.org/showthread.php?t=288753&page=3) sho there
|    are problems compiling the both the rw driver and the community driver on
|    later kernels. When I follow the instructions on
|    [3]http://zd1211.ath.cx/wiki/UntestedWithRewrite and add the line
|    { USB_DEVICE(0x0b05, 0x171b), .driver_info = DEVICE_ZD1211B }, I get stuck
|    when compiling.
|    This is the ooutput I get:
| 
|    [EMAIL 
PROTECTED]:/usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw$
|    sudo make
|    Password:
|    make -C /lib/modules/`uname -r`/build M=`pwd`
|    make[1]: Entering directory `/usr/src/linux-headers-2.6.20-6-generic'
|      CC [M]
|    /usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw/zd_mac.o
|    /usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw/zd_mac.c:55:57:
|    error: macro "INIT_WORK" passed 3 arguments, but takes just 2
|    /usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw/zd_mac.c: In
|    function 'zd_mac_init':
|    /usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw/zd_mac.c:55:
|    error: 'INIT_WORK' undeclared (first use in this function)
|    /usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw/zd_mac.c:55:
|    error: (Each undeclared identifier is reported only once
|    /usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw/zd_mac.c:55:
|    error: for each function it appears in.)
|    /usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw/zd_mac.c:56:65:
|    error: macro "INIT_WORK" passed 3 arguments, but takes just 2
|    /usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw/zd_mac.c:67:8:
|    error: macro "INIT_WORK" passed 3 arguments, but takes just 2
|    /usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw/zd_mac.c: In
|    function 'zd_mac_stop':
|    /usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw/zd_mac.c:237:
|    warning: passing argument 1 of 'cancel_delayed_work' from incompatible
|    pointer type
|    /usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw/zd_mac.c:238:
|    warning: passing argument 1 of 'cancel_delayed_work' from incompatible
|    pointer type
|    /usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw/zd_mac.c: In
|    function 'housekeeping_queue_delayed_work':
|    /usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw/zd_mac.c:1283:
|    warning: passing argument 2 of 'queue_delayed_work' from incompatible
|    pointer type
|    /usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw/zd_mac.c: In
|    function 'housekeeping_cancel_delayed_work':
|    /usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw/zd_mac.c:1301:
|    warning: passing argument 1 of 'cancel_delayed_work' from incompatible
|    pointer type
|    
/usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw/zd_mac.c:1385:33:
|    error: macro "INIT_WORK" passed 3 arguments, but takes just 2
|    /usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw/zd_mac.c: In
|    function 'housekeeping_init':
|    /usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw/zd_mac.c:1384:
|    error: 'INIT_WORK' undeclared (first use in this function)
|    
/usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw/zd_mac.c:1388:67:
|    error: macro "INIT_WORK" passed 3 arguments, but takes just 2
|    make[2]: ***
|    [/usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw/zd_mac.o]
|    Error 1
|    make[1]: ***
|    [_module_/usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw] Error
|    2
|    make[1]: Leaving directory `/usr/src/linux- headers-2.6.20-6-generic'
|    make: *** [build] Error 2
|    [EMAIL 
PROTECTED]:/usr/src/linux-source-2.6.20/drivers/net/wireless/zd1211rw$
| 
| 
| 
| 
| 
| 
|    Can anyone give me advice? Is there a way to make it comp�ile or some
|    other way make it work?
| 
| 
| 
|    Best regards
| 
|    Ketil Thorgersen
| 
| 
| 
| 
| References
| 
|    Visible links
|    1. http://www.linlap.com/tiki-index.php?page=Asus+A9Rp
|    2. http://www.ubuntuforums.org/showthread.php?t=288753&page=3
|    3. http://zd1211.ath.cx/wiki/UntestedWithRewrite

| -------------------------------------------------------------------------
| 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=lnk&kid=120709&bid=263057&dat=121642
| _______________________________________________
| Zd1211-devs mailing list - http://zd1211.ath.cx/
| Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

-- 
Diego Sevilla Ruiz -- http://ditec.um.es/~dsevilla/ -- [EMAIL PROTECTED] _.___
Dep. Ingeniería y Tecnología de Computadores, Facultad de Informática D|TEC
Univ.de Murcia,Campus Espinardo,30080 Murcia (SPAIN),Tel.+34968367571

-------------------------------------------------------------------------
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=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to