×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Error Building fliusb module with DKMS

  • Posts: 185
  • Thank you received: 28
I have been getting errors building the fliusb module with dkms. See the attached log.
6 years 11 months ago #16389
Attachments:

Please Log in or Create an account to join the conversation.

Thanks for the report. It looks like the FLI kernel driver does not build on more recent kernels. I informed FLI and hopefully there is a libusb based library in the works so we can avoid using the kernel module completely.
The following user(s) said Thank You: Richard Beck
6 years 11 months ago #16396

Please Log in or Create an account to join the conversation.

  • Posts: 79
  • Thank you received: 23
I will fix the kernel module shortly... stay tuned...
The following user(s) said Thank You: Richard Beck
6 years 11 months ago #16405

Please Log in or Create an account to join the conversation.

  • Posts: 79
  • Thank you received: 23
Created pull request with the fix... please report if it works or not!
6 years 11 months ago #16407

Please Log in or Create an account to join the conversation.

  • Posts: 185
  • Thank you received: 28
I confirm that fliusb-1.3+r3055~201704280953~ubuntu17.04.1 built just fine for me on 17.04, 4.10.0-19-generic.

Thanks.
6 years 11 months ago #16414

Please Log in or Create an account to join the conversation.

  • Posts: 79
  • Thank you received: 23
Perfect :)
The following user(s) said Thank You: Jasem Mutlaq
6 years 11 months ago #16415

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 1
Hello @LL,

my first post here - Ubuntu and Indi greenhorn ;) - so greeets to @LL and thanks for patience :D

I'm Fli CFW cursed ;D trying to install but no luck

I've installed fresh Ubuntu - then all updates then indi and kstars bleeding and after all still try to dkms build - below my steps with results
help, F1 ... :D

on install steps there is brand new fresh ver 1.8 20170502 of fliusb
but on var/lib/dkms/ is 1.3 landing ??

sudo apt-add-repository ppa:mutlaqja/ppa
sudo apt-get update

sudo apt-get install indi-full

get:37 ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 libfli1 amd64 1.8.ubuntu5+r3058~201705021022~ubuntu16.04.1 [36,4 kB]
get:38 ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial/main amd64 indi-fli amd64 1.0.0ubuntu3+r3058~201705021022~ubuntu16.04.1 [28,0 kB]

Configuring fliusb-dkms (1.3+r3058~201705021023~ubuntu16.04.1) ...
Loading new fliusb-1.3+r3058~201705021023~ubuntu16.04.1 DKMS files...
First Installation: checking all kernels...
Building for 4.8.0-36-generic and 4.8.0-51-generic
Building initial module for 4.8.0-36-generic
Error! Bad return status for module build on kernel: 4.8.0-36-generic (x86_64)
Consult /var/lib/dkms/fliusb/1.3+r3058~201705021023~ubuntu16.04.1/build/make.log for more information.
Configuring libfli1 (1.8.ubuntu5+r3058~201705021022~ubuntu16.04.1) …

Configuring indi-fli (1.0.0ubuntu3+r3058~201705021022~ubuntu16.04.1) …

sudo apt-get install indi-full kstars-bleeding

vontadeoooo@Tadeoho:~$ sudo apt-get install indi-full kstars-bleeding
indi-full is already the newest version (1.4~201705021021~ubuntu16.04.1).
…..

vontadeoooo@Tadeoho:/var/lib/dkms/fliusb/1.3+r3058~201705021023~ubuntu16.04.1/build
$ sudo cp -R . /usr/src/fliusb-1.3

vontadeoooo@Tadeoho:/var/lib/dkms/fliusb/1.3+r3058~201705021023~ubuntu16.04.1/build
$ sudo dkms add -m fliusb -v 1.3

Creating symlink /var/lib/dkms/fliusb/1.3/source ->
/usr/src/fliusb-1.3

DKMS: add completed.
vontadeoooo@Tadeoho:/var/lib/dkms/fliusb/1.3+r3058~201705021023~ubuntu16.04.1/build
$

vontadeoooo@Tadeoho:/var/lib/dkms/fliusb/1.3+r3058~201705021023~ubuntu16.04.1/build
$ sudo dkms build -m fliusb -v 1.3

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=4.8.0-51-generic KVER=4.8.0-51-generic......(bad exit status: 2)
ERROR (dkms apport): binary package for fliusb: 1.3 not found
Error! Bad return status for module build on kernel: 4.8.0-51-generic (x86_64)
Consult /var/lib/dkms/fliusb/1.3/build/make.log for more information.
vontadeoooo@Tadeoho:/var/lib/dkms/fliusb/1.3+r3058~201705021023~ubuntu16.04.1/build$

what I'm doing wrong, some bad steps ?
6 years 10 months ago #16491
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 79
  • Thank you received: 23
I see the problem.
Maybe I put a wrong kernel version as a borderline between the new and old API. I will fix it and let you know.

By the way you are not using Ubuntu stock kernel, are you?

Rumen
6 years 10 months ago #16552

Please Log in or Create an account to join the conversation.

  • Posts: 79
  • Thank you received: 23
I committed a fix, i hope it will work for Linux 4.8... I hope Jasem will pull it soon :)
Please try it and report if the problem is still there or not. If it is I will investigate further...
The following user(s) said Thank You: Jaroslaw
6 years 10 months ago #16553

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 1
By the way you are not using Ubuntu stock kernel, are you?

I just simply download UBUNTU LTS and install it from usb pen drive - previuos I've downloaded "Astro Ubuntu" with Kstars build in - -but complete disaster with that
so will find how to check kernel ver and post here ASAP

but first of all - Thanks for help
6 years 10 months ago #16567

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 1
vontadeoooo@Tadeoho:/var/lib/dkms$ uname -a
Linux Tadeoho 4.8.0-51-generic #54~16.04.1-Ubuntu SMP Wed Apr 26 16:00:28 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
6 years 10 months ago #16568

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 1
waiting to complete

sudo apt-get install linux-image-4.10

.....

Linux Tadeoho 4.10.0-20-lowlatency #22~16.04.1-Ubuntu SMP PREEMPT Thu Apr 20 18:43:37 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Last edit: 6 years 10 months ago by Jaroslaw.
6 years 10 months ago #16569

Please Log in or Create an account to join the conversation.

Time to create page: 1.765 seconds