×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Error Building fliusb module with DKMS

  • 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 11 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 11 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 11 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 11 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 11 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 11 months ago by Jaroslaw.
6 years 11 months ago #16569

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

  • Posts: 79
  • Thank you received: 23
Why are you updating to 4.10? The idea was to make it work with 4.8 :)
Last edit: 6 years 11 months ago by rumen.
6 years 11 months ago #16570

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

  • Posts: 15
  • Thank you received: 1
no problem
few clicks and there be back fresh ubuntu
6 years 11 months ago #16580

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

  • Posts: 79
  • Thank you received: 23
Just a reboot and on glub screen select 4.8 :)
6 years 11 months ago #16581

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

  • Posts: 15
  • Thank you received: 1
vontadeo@vonTadeooooe:~$ 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-lowlatency KVER=4.8.0-51-lowlatency....(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-lowlatency (x86_64)
Consult /var/lib/dkms/fliusb/1.3/build/make.log for more information.
6 years 11 months ago #16588
Attachments:

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

  • Posts: 79
  • Thank you received: 23
Created new pull request, I did not pay attention that API changed twice once in 4.6 and once in 4.9... not it should work.

Please let me know if it works or not for 4.8, once jasem merges the change.

Rumen
6 years 11 months ago #16601

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

Time to create page: 1.152 seconds