Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

dkms in chroot

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
metalfan
Posts: 79
Joined: 2011-02-04 14:30

dkms in chroot

#1 Post by metalfan »

hi,

i would like to build a ISDN card driver for the card "Fritzcard PCI" from these driver sources:
https://belug.de/~lutz/pub/fcpci/fritz- ... .0.tar.bz2

(i got a sid installation around, so this is used as a experiment only, later on if the build proces works i will probably get back to jessie)
but i would like to be able to built modules for a kernel different than the one that is installed.

with the command:

Code: Select all

dkms install -k 4.4.0-1-amd64 -m fcpci -v 4.4.0
i get:

Code: Select all

DKMS make.log for fcpci-4.4.0 for kernel 4.4.0-1-amd64 (x86_64)
Thu Mar  3 20:11:04 UTC 2016
make: Entering directory '/var/lib/dkms/fcpci/4.4.0/build/src'
make -C /lib/modules/3.16.0-4-amd64/build SUBDIRS=/var/lib/dkms/fcpci/4.4.0/build/src modules
make[1]: Entering directory '/var/lib/dkms/fcpci/4.4.0/build/src'
make[1]: *** /lib/modules/3.16.0-4-amd64/build: No such file or directory.  Stop.
make[1]: Leaving directory '/var/lib/dkms/fcpci/4.4.0/build/src'
Makefile:47: recipe for target 'fcpci.ko' failed
make: *** [fcpci.ko] Error 2
make: Leaving directory '/var/lib/dkms/fcpci/4.4.0/build/src'
as you can see, dkms tries to build for 3.16.0 - why does he not try to build for 4.4?
the 3.16.0 kernel sources are of course not in the chroot.

Post Reply