Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all,. can someone explain how i can fix this problem? Code: /root/ndiswrapper-1.34/driver/ndis.c:39:47: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 /root/ndiswrapper-1.34/driver/ndis.c: In function ‘ndis_init’: /root/ndiswrapper-1.34/driver/ndis.c:39: error: ‘INIT_WORK’ ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    52

    make error


    Hi all,. can someone explain how i can fix this problem?

    Code:
    /root/ndiswrapper-1.34/driver/ndis.c:39:47: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
    /root/ndiswrapper-1.34/driver/ndis.c: In function ‘ndis_init’:
    /root/ndiswrapper-1.34/driver/ndis.c:39: error: ‘INIT_WORK’ undeclared (first use in this function)
    /root/ndiswrapper-1.34/driver/ndis.c:39: error: (Each undeclared identifier is reported only once
    /root/ndiswrapper-1.34/driver/ndis.c:39: error: for each function it appears in.)
    /root/ndiswrapper-1.34/driver/ndis.c: In function ‘NdisMRegisterInterrupt’:
    /root/ndiswrapper-1.34/driver/ndis.c:1809: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:64)
    /root/ndiswrapper-1.34/driver/ndis.c: In function ‘NdisMIndicateStatus’:
    /root/ndiswrapper-1.34/driver/ndis.c:1865: warning: unused variable ‘radio_status’
    make[3]: *** [/root/ndiswrapper-1.34/driver/ndis.o] Error 1
    make[2]: *** [_module_/root/ndiswrapper-1.34/driver] Error 2
    make[2]: Leaving directory `/usr/src/kernels/2.6.23.17-88.fc7-i686'
    make[1]: *** [default] Error 2
    make[1]: Leaving directory `/root/ndiswrapper-1.34/driver'
    make: *** [all] Error 2
    Thanx in advance!

  2. #2
    Just Joined!
    Join Date
    Dec 2007
    Posts
    52
    No matter, i got it working. Turns out that was a older version of ndiswrapper, I just updated. And got my wireless working nicely.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •