-------- Message original --------
Sujet: Re: Bug#597783: [Pkg-fglrx-devel] Bug#597783: fglrx-source:
fails to build with locally built kernel
Date : Thu, 23 Sep 2010 23:29:08 +0200
De : Michel Casabona <michel.casab...@free.fr>
Pour : 597...@bugs.debian.org
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?)