El 10/12/16 a las 10:15, christopher kamutumwa escribió:
Package kernel-devel-3.10.0-327.36.3.el7.x86_64 already installed and latest version but i still receive the same error

[root@localhost dahdi-linux-complete-2.11.1+2.11.1]# make
make -C linux all
make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/firmware' make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/firmware' You do not appear to have the sources for the 3.10.0-327.el7.x86_64 kernel installed.
make[1]: *** [modules] Error 1

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 .

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 -

3.10.0-327.36.3.el7.x86_64 (supplied by kernel-devel)
3.10.0-327.el7.x86_64 (selected by default)

Notice the extra ".36.3" between the two versions.

To solve this, you should do EXACTLY ONE of the following two options:
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. 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:

    make KVERS="3.10.0-327.36.3.el7.x86_64"
    make install KVERS="3.10.0-327.36.3.el7.x86_64"


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to