Asterisk Dahai Install CentOS 7
Hello support
am trying to install dahdi on CentOS 7 and am doing the make ommand and below is result any way out this You do not appear to have the sources for the 3.10.0-327.el7.x86_64 kernel installed.
uname -a gives me below;
Linux localhost.localdomain 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19
22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[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
make[1]: Leaving directory
`/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux’
make: *** [all] Error 2
6 thoughts on - Asterisk Dahai Install CentOS 7
You need to install the kernel-devel package to compile kernel modules.
–Greg
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
How about kernel-headers? That’s a separate package on my Fedora system, not sure about CentOS.
–Greg
There are inofficial RPMs for CentOS 7 available if you don’t want to mess with compiling: https://www.tucny.com/telephony/asterisk-rpms
Am 10.12.2016 um 15:47 schrieb christopher kamutumwa:
In article, christopher kamutumwa wrote:
You need to make sure the kernel and kernel-devel packages are the same version, and that you are running from the same kernel too (make sure you rebooted after any update of the kernel).
The version of kernel-devel you have installed is: 3.10.0-327.36.3
The version of kernel-devel the makefile wants is: 3.10.0-327
The difference is significant, and suggests that you are actually running an older kernel than the latest.
Cheers Tony
El 10/12/16 a las 10:15, christopher kamutumwa escribi