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

Michel Casabona michel.casabona at free.fr
Fri Sep 24 13:32:16 UTC 2010



-------- 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.casabona at free.fr>
Pour : 	597783 at 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?)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-fglrx-devel/attachments/20100924/beb73265/attachment.htm>


More information about the Pkg-fglrx-devel mailing list