Menu

error compiling: init_MUTEX

Help
2009-10-07
2012-10-06
  • Robert Persson

    Robert Persson - 2009-10-07

    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: 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: Entering directory/usr/src/linux-2.6.31-rt9ish'
    CC /usr/src/ndiswrapper-1.55/driver/loader.o
    /usr/src/ndiswrapper-1.55/driver/loader.c: In function ‘loader_init’:
    /usr/src/ndiswrapper-1.55/driver/loader.c:850: error: implicit declaration of
    function ‘init_MUTEX’
    make: Error 1
    make:
    Error 2
    make: Leaving directory /usr/src/linux-2.6.31-rt9ish' make: *** Error 2 make: Leaving directory/usr/src/ndiswrapper-1.55/driver'
    make: *** Error 2

    How do I get the thing to compile?

     
  • Robert Persson

    Robert Persson - 2009-10-13

    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.

     

Log in to post a comment.