A_Guy
FabulaTech Forum Newbie
![*](/forum/html/img/star.png)
Posts: 3
|
![](/forum/html/img/xx.png) |
Can't install a Linux client.
on: Jun 8th, 2024, 7:55am |
Quote Modify
|
I've installed the appropriate kernel headers and required tools: gcc, make, but can't compile the kernel module. Getting these errors: root@server:/opt/ftvusbnet/module/fthc# make make -C /lib/modules/`uname -r`/build M=`pwd` modules make[1]: Entering directory '/usr/src/linux-headers-5.15.0-112-generic' CC [M] /opt/ftvusbnet/module/fthc/main.o CC [M] /opt/ftvusbnet/module/fthc/hcd.o /opt/ftvusbnet/module/fthc/hcd.c: In function ‘fthc_get_frame’: /opt/ftvusbnet/module/fthc/hcd.c:555:24: error: storage size of ‘tv’ isn’t known 555 | struct timeval tv; | ^~ /opt/ftvusbnet/module/fthc/hcd.c:556:9: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘do_settimeofday64’? [-Werror=implicit-function-declaration] 556 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /opt/ftvusbnet/module/fthc/hcd.c:555:24: warning: unused variable ‘tv’ [-Wunused-variable] 555 | struct timeval tv; | ^~ /opt/ftvusbnet/module/fthc/hcd.c:558:1: error: control reaches end of non-void function [-Werror=return-type] 558 | } | ^ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:297: /opt/ftvusbnet/module/fthc/hcd.o] Error 1 make[1]: *** [Makefile:1911: /opt/ftvusbnet/module/fthc] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-112-generic' make: *** [Makefile:23: all] Error 2 uname -a: Linux server 5.15.0-112-generic #122-Ubuntu SMP Thu May 23 07:48:21 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux Should I get a newer client from you?
|