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!