[Pkg-fglrx-devel] Bug#597783: Bug#597783: fglrx-source: fails to build with locally built kernel

Michel Casabona michel.casabona at free.fr
Thu Sep 23 21:29:08 UTC 2010


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?)









More information about the Pkg-fglrx-devel mailing list