<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">El 10/12/16 a las 10:15, christopher
kamutumwa escribió:<br>
</div>
<blockquote
cite="mid:CADdH5aM4mbcy143RUHpE1RzrwVBbfx1QJC8Jp5zx_e5BYwyOeg@mail.gmail.com"
type="cite">
<div dir="ltr">Package kernel-devel-3.10.0-327.36.3.el7.x86_64
already installed and latest version but i still receive the
same error<br>
<div><br>
</div>
<div>
<div style="font-size:12.8px">[root@localhost
dahdi-linux-complete-2.11.1+2.<wbr>11.1]# make</div>
<div style="font-size:12.8px">make -C linux all</div>
<div style="font-size:12.8px">make[1]: Entering directory
`/usr/src/dahdi-linux-<wbr>complete-2.11.1+2.11.1/linux'</div>
<div style="font-size:12.8px">make -C drivers/dahdi/firmware
firmware-loaders</div>
<div style="font-size:12.8px">make[2]: Entering directory
`/usr/src/dahdi-linux-<wbr>complete-2.11.1+2.11.1/linux/<wbr>drivers/dahdi/firmware'</div>
<div style="font-size:12.8px">make[2]: Leaving directory
`/usr/src/dahdi-linux-<wbr>complete-2.11.1+2.11.1/linux/<wbr>drivers/dahdi/firmware'</div>
<div style="font-size:12.8px">You do not appear to have the
sources for the 3.10.0-327.el7.x86_64 kernel installed.</div>
<div style="font-size:12.8px">make[1]: *** [modules] Error 1</div>
</div>
</div>
</blockquote>
<br>
When compiling kernel modules (such as DAHDI) using the system
kernel and kernel-devel, they must be compiled under a specific
kernel version. If no kernel version is specified, it defaults to
the currently running kernel. In your case, the currently running
kernel is 3.10.0-327.el7.x86_64 .<br>
<br>
For the selected kernel version, the kernel development files
(supplied by kernel-devel) must exist under the exact same version.
The installed kernel-devel version is 3.10.0-327.36.3.el7.x86_64 .
Note carefully - this is NOT the same kernel version as the kernel
selected for compiling - <br>
<br>
3.10.0-327.36.3.el7.x86_64 (supplied by kernel-devel)<br>
3.10.0-327.el7.x86_64 (selected by default)<br>
<br>
Notice the extra ".36.3" between the two versions.<br>
<br>
To solve this, you should do EXACTLY ONE of the following two
options:<br>
1) install the exact kernel-devel version for your currently-running
kernel. In this case, kernel-devel-3.10.0-327.el7.x86_64 . Then run
make as before.<br>
2) install kernel-3.10.0-327.36.3.el7.x86_64 if not already
installed, then specify this version as the kernel to compile DAHDI
against:<br>
<br>
make KVERS="3.10.0-327.36.3.el7.x86_64"<br>
make install KVERS="3.10.0-327.36.3.el7.x86_64"<br>
<br>
<br>
</body>
</html>