dkms - snapapi26 - need modules
Tofloor
poster avatar
najkon
deepin
2018-04-14 11:05
Author
Edited by najkon at 2018-4-16 20:32

Hi,

I have to install a soft to backup app from Acronis (Backup and Recovery - https://kb.acronis.com/snapapilinux), and they need to prepare app with kernel module to install it (their applications)

I trying download source of kernel from kernel.org with version what have on computer 4.14.12-2 but it does not help
Anyone have some idea how to make it?

The whole problem is in the attempt to install a snapapi app by dkms

  1. root@localhost:/usr/src# dkms install -m snapapi26 -v 0.7.95 --kernelsourcedir=/usr/src/linux-4.14.12/

  2. Preparing kernel 4.14.0-deepin2-amd64 for module build:
  3. (This is not compiling a kernel, just preparing kernel symbols)
  4. Running Generic preparation routine
  5. make mrproper......
  6. using /boot/config-4.14.0-deepin2-amd64
  7. make oldconfig.....
  8. make prepare.........

  9. Building module:
  10. cleaning build area....
  11. make KERNELRELEASE=4.14.0-deepin2-amd64 -C /usr/src/linux-4.14.12/ SUBDIRS=/var/lib/dkms/snapapi26/0.7.95/build modules....(bad exit status: 2)
  12. Error! Bad return status for module build on kernel: 4.14.0-deepin2-amd64 (x86_64)
  13. Consult /var/lib/dkms/snapapi26/0.7.95/build/make.log for more information.

Copy the Code
  1. DKMS make.log for snapapi26-0.7.95 for kernel 4.14.0-deepin2-amd64 (x86_64)
  2. make: Enter to dir '/usr/src/linux-4.14.12'

  3.   WARNING: Symbol version dump ./Module.symvers
  4.            is missing; modules will have no dependencies and modversions.

  5. grep: ./include/asm/system.h: File or Directory not found
  6. grep: ./include/asm-generic/system.h: File or Directory not found
Copy the Code





Reply Favorite View the author
All Replies
najkon
deepin
2018-04-19 05:19
#1
I'm dissapointed that literally no one is able to help in such a blissful problem
Reply View the author
muaddib
deepin
2018-05-10 02:09
#2
Try to,
  1. sudo apt install libelf-dev
Copy the Code

and if you dont have build-essential, then install it.
  1. sudo apt install build-essential
Copy the Code

Let mi know if it work.
Reply View the author