Dec 21st, 2024, 4:16pm
Welcome, Guest. Please Login or Register.
Pages: 1  Reply Reply  Notify of replies Notify of replies  Print Print
   Author  Topic: Can't install a Linux client.  (Read 881 times)
Can't install a Linux client.
on: Jun 8th, 2024, 7:55am
Quote Quote  Modify 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?
IP Logged
Re: Can't install a Linux client.
Reply #1 on: Aug 5th, 2024, 8:05pm
Quote Quote  Modify Modify

Change function `fthc_get_frame` on `hcd.с` on:
 
```
static int fthc_get_frame(struct usb_hcd *hcd) {
#if 0
   struct timeval tv;
   do_gettimeofday(&tv);
   return tv.tv_usec / 1000;
#else
   return ktime_get_ns() / 1000000;
#endif
}
```
IP Logged
Re: Can't install a Linux client.
Reply #2 on: Aug 8th, 2024, 8:45am
Quote Quote  Modify Modify

This problem was fixed in our latest release 6.2:
https://www.fabulatech.com/usb-over-network-download.html
IP Logged
Re: Can't install a Linux client.
Reply #3 on: Aug 8th, 2024, 9:06am
Quote Quote  Modify Modify

I have already sent you a client app request a few days ago. Still haven't heard from you
IP Logged
Re: Can't install a Linux client.
Reply #4 on: Aug 8th, 2024, 9:17am
Quote Quote  Modify Modify

Please use this link to download the Client:
 
https://www.fabulatech.com/download.php?fn=Public/tim/ftvusbnet-6.2.0.5.zip&key=69b2399f81d8921ea10f0cf7fb781bc61724318067
IP Logged
Pages: 1  Reply Reply  Notify of replies Notify of replies  Print Print

Previous topic | Next topic
Online Talk to our
support team or
sales department.