Nxusb does not compile on Rocky 9.4

Forum / NoMachine for Linux / Nxusb does not compile on Rocky 9.4

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #50536
    raresthornet
    Participant

    Hi guys,

    It seems the latest version of nomachine(8.14.2) does not compile the nxusb driver. Default dependencies installed, gcc, make, but seems more like a compiler compatibility issue?

    make: Entering directory ‘/usr/src/kernels/5.14.0-427.40.1.el9_4.x86_64’ CC [M] /var/lib/dkms/nxusb/1.0.0/build/nxusb-vhci-hcd.o CC [M] /var/lib/dkms/nxusb/1.0.0/build/nxusb-vhci-iocifc.o /var/lib/dkms/nxusb/1.0.0/build/nxusb-vhci-hcd.c: In function ‘vhci_hub_control’: /var/lib/dkms/nxusb/1.0.0/build/nxusb-vhci-hcd.c:713:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 713 | if (hcd->speed != HCD_USB3) { | ^ /var/lib/dkms/nxusb/1.0.0/build/nxusb-vhci-hcd.c:718:17: note: here 718 | case USB_PORT_FEAT_RESET: | ^~~~ /var/lib/dkms/nxusb/1.0.0/build/nxusb-vhci-iocifc.c:1198:10: error: ‘struct class’ has no member named ‘owner’ 1198 | .owner = THIS_MODULE, | ^~~~~ In file included from ./include/linux/linkage.h:7, from ./include/linux/kernel.h:8, from ./include/linux/list.h:9, from ./include/linux/module.h:12, from /var/lib/dkms/nxusb/1.0.0/build/nxusb-vhci-iocifc.c:41: ./include/linux/export.h:17:21: error: initialization of ‘const char *’ from incompatible pointer type ‘struct module *’ [-Werror=incompatible-pointer-types] 17 | #define THIS_MODULE (&__this_module) | ^ /var/lib/dkms/nxusb/1.0.0/build/nxusb-vhci-iocifc.c:1198:18: note: in expansion of macro ‘THIS_MODULE’ 1198 | .owner = THIS_MODULE, | ^~~~~~~~~~~ ./include/linux/export.h:17:21: note: (near initialization for ‘vhci_iocifc_class.name’) 17 | #define THIS_MODULE (&__this_module) | ^ /var/lib/dkms/nxusb/1.0.0/build/nxusb-vhci-iocifc.c:1198:18: note: in expansion of macro ‘THIS_MODULE’ 1198 | .owner = THIS_MODULE, | ^~~~~~~~~~~ cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:299: /var/lib/dkms/nxusb/1.0.0/build/nxusb-vhci-iocifc.o] Error 1 make[1]: *** Waiting for unfinished jobs…. make: *** [Makefile:1936: /var/lib/dkms/nxusb/1.0.0/build] Error 2 make: Leaving directory ‘/usr/src/kernels/5.14.0-427.40.1.el9_4.x86_64’

    Thanks!

    #50562
    Britgirl
    Keymaster

    Hi, thanks for reporting, we are checking and will let you know our findings soon.

    #50568
    raresthornet
    Participant

    Thanks for looking into that!

    Quick question, in the README file in the nxusb source dir I see a mention of usb-vhdi. I did manage to compile and install the 1.15.6 version of usb-vhdi using dkms and loaded it. Is that sufficient for nomachine or nxusb is a customised vhdi kmod? (can’t see any usb devices ready for connecting to the remote host with usb-vhdi)

    I also can’t see a mention in the rpm install script of the nomachine rpm package attempting to compile/install nxusb, not sure if maybe that’s removed for some reason.

     

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

You must be logged in to reply to this topic. Please login .