← Back to team overview

kernel-packages team mailing list archive

[Bug 1207263] Re: dkms "--kernelsourcedir" option not work

 

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: dkms (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to dkms in Ubuntu.
https://bugs.launchpad.net/bugs/1207263

Title:
  dkms "--kernelsourcedir" option not work

Status in dkms package in Ubuntu:
  Confirmed

Bug description:
  Hi, my os is lubuntu 13.04 x86_64
  recently i need to use dkms to rebuild a module, so i do :  
  dkms build -m (module name) -v (version)
  but it say it can't find linux-headers of my kernel version, i felt strange because it has already put in /usr/src
  so i give the "--kernelsourcedir" option : 
  dkms build -m (module name) -v (version) --kernelsourcedir (/usr/src/my-kernel-headers)
  but it still didn't work!!
  i've tried : 
  dkms build -m (module name) -v (version) --kernelsourcedir (/usr/src/)
  and
  dkms build -m (module name) -v (version) --kernelsourcedir=(/usr/src/my-kernel-headers)
  also
  dkms build -m (module name) -v (version) --kernelsourcedir=(/usr/src/)
  but the error message still said that it can't find the headers

  although in the last i found that the problem is that in my /lib/modules/(kernel-version)/
  the "build" symlink was broken, and /lib/modules/(kernel-version)/ is the default path of dkms

  But why the --kernelsourcedir didn't work?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1207263/+subscriptions


References