[asterisk-users] Asterisk dahai install centos 7
Alex Villacís Lasso
a_villacis at palosanto.com
Sat Dec 10 12:01:11 CST 2016
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 at 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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20161210/c7414eae/attachment.html>
More information about the asterisk-users
mailing list