D
D
Denis Afonin2022-04-19 15:45:02
Asterisk
Denis Afonin, 2022-04-19 15:45:02

Why is DAHDI not installed?

Good day to all!
I'm setting up FreePBX 16 c 18 ASterisk from scratch.
To enter the city, I installed the OpenVOX A810E board. I'm trying to install DAHDI from the OpenVox website according to the instructions, but when I try to make, I get an error:

make -C linux all
make[1]: Entering directory `/tmp/dahdi-linux-complete-3.1.0+3.1.0/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory `/tmp/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/firmware'
make[2]: Leaving directory `/tmp/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/firmware'
You do not appear to have the sources for the 3.10.0-1127.19.1.el7.x86_64 kernel installed.
make[1]: *** [modules] Error 1
make[1]: Leaving directory `/tmp/dahdi-linux-complete-3.1.0+3.1.0/linux'
make: *** [all] Error 2

Swears at the lack of kernel sources, but at the same time they are present in the system and the version is the same:
yum install kernel-devel kernel-headers
Loaded plugins: fastestmirror, langpacks, versionlock
Loading mirror speeds from cached hostfile
Package kernel-devel-3.10.0-1127.19.1.el7.x86_64 already installed and latest version
Package kernel-headers-3.10.0-1127.19.1.el7.x86_64 already installed and latest version
Nothing to do


Who will prompt where to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Karasik, 2022-04-20
@vitaly_il1

There are several options:
- you need to specify where the sources are located. This is usually done either in configure or in make itself (like -sources=/usr/src/kernel-`uname -r`). Look at the doc.
- https://wiki.centos.org/HowTos/I_need_the_Kernel_Source - check the docs that you need to compile DAHDI, full sources may be needed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question