Compiling nxusb on manjaro/arch

Forum / NoMachine for Linux / Compiling nxusb on manjaro/arch

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10636
    whale_36
    Participant

    I’m trying to compile nxusb on manjaro Linux but get the following error at compile time:

    C [M]  /usr/NX/share/src/nxusb/message_queue.o

    /usr/NX/share/src/nxusb/message_queue.c: In function ‘message_up_ctor_urb’:

    /usr/NX/share/src/nxusb/message_queue.c:283:15: error: ‘__GFP_WAIT’ undeclared (first use in this function)

    if ((flags & __GFP_WAIT) && !(usb_pipein(urb->pipe) || usb_pipeisoc(urb->pipe) || in_interrupt())) {

    ^

    /usr/NX/share/src/nxusb/message_queue.c:283:15: note: each undeclared identifier is reported only once for each function it appears in

    I did some googling and came across this post about GFP_WAIT being changed, I suspect this is because i’m on kernel 4.4.5 (4.4.5-1-MANJARO specifically).

    I see on that page there is a suggested solution by redirecting GFP_WAIT but I dont know how to apply it to this situation.

    Is there a workaround for this available or do we have to wait for 4.4.5 to be officially supported?

     

    #10651
    Peter76
    Participant

    Hi,

    thanks for reporting. We’re investigating and will update the post once we have some feedback on the issue.

    #10715
    Peter76
    Participant

    There is a Trouble Report on this issue which you can see here:

    https://www.nomachine.com/TR03N06660

    Users can follow the link to the Trouble Report and use the ‘notify me’ feature to know when a patch has been released.

Viewing 3 posts - 1 through 3 (of 3 total)

This topic was marked as solved, you can't post.