Le 23/09/2010 03:48, Michael Gilbert a écrit :


do you have a /lib/modules/$(KERNELRELEASE)/build symlink?

Yes, after the kernel package has been installed first
$ ls -l /lib/modules/2.6.32/build
lrwxrwxrwx 1 root root 28 9 janv. 2010 /lib/modules/2.6.32/build -> /usr/src/linux-source-2.6.32

> are your
sources originally in /usr/src/linux?

No, the sources are in /usr/src/linux-$(KERNELRELEASE)/
The is no symlink to /usr/src/linux.

> would you mind helping me find a
consistent path to that file?

The variable $(KSRC) should contain the path to the kernel sources
according to /usr/share/doc/kernel-package/README.modules

I've tested that it works with make-kpkg (kernel-package), ie, the value is /usr/src/linux-source-2.6.32
and also with module-assistant (/lib/modules/2.6.32/source).
Not sure about others build methods (dkms?)







--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to