<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
-------- Message original --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Sujet: </th>
<td>Re: Bug#597783: [Pkg-fglrx-devel] Bug#597783:
fglrx-source: fails to build with locally built kernel</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date : </th>
<td>Thu, 23 Sep 2010 23:29:08 +0200</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">De : </th>
<td>Michel Casabona <a class="moz-txt-link-rfc2396E" href="mailto:michel.casabona@free.fr"><michel.casabona@free.fr></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Pour : </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:597783@bugs.debian.org">597783@bugs.debian.org</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>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?)
</pre>
</body>
</html>