← Back to team overview

kernel-packages team mailing list archive

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


** Changed in: dkms (Debian)
       Status: Unknown => New

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to dkms in Ubuntu.

  dkms "--kernelsourcedir" option not work

Status in dkms package in Ubuntu:
Status in dkms package in Debian:

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/)
  dkms build -m (module name) -v (version) --kernelsourcedir=(/usr/src/my-kernel-headers)
  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: