Donate Share

ndiswrapper

Subscribe

error compiling: init_MUTEX

  1. 2009-10-07 10:49:15 UTC

    when I try to compile ndiswrapper I get the following (unfortunately it seems to have been automatically garbled by the markdown syntax parsing, but I hope it is clear enough):

    root@ermintrude:/usr/src/ndiswrapper-1.55# make make -C driver make[1]: Entering directory /usr/src/ndiswrapper-1.55/driver' make -C /usr/src/linux-2.6.31-rt9ish M=/usr/src/ndiswrapper-1.55/driver make[2]: Entering directory/usr/src/linux-2.6.31-rt9ish' CC [M] /usr/src/ndiswrapper-1.55/driver/loader.o /usr/src/ndiswrapper-1.55/driver/loader.c: In function ‘loaderinit’: /usr/src/ndiswrapper-1.55/driver/loader.c:850: error: implicit declaration of function ‘initMUTEX’ make[3]: *** [/usr/src/ndiswrapper-1.55/driver/loader.o] Error 1 make[2]: *** [module/usr/src/ndiswrapper-1.55/driver] Error 2 make[2]: Leaving directory /usr/src/linux-2.6.31-rt9ish' make[1]: *** [modules] Error 2 make[1]: Leaving directory/usr/src/ndiswrapper-1.55/driver' make: *** [all] Error 2

    How do I get the thing to compile?

  2. 2009-10-13 17:55:04 UTC

    SOLUTION:

    Replace the text init_MUTEX with semaphore_init in the two files in which it occurs, namely driver/loader.c and driver/wrapndis.c.

< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.