asterisk / dahdi-linux

This is the official dahdi-linux repository. All issues and PR should be raised here.
GNU General Public License v2.0
47 stars 69 forks source link

Latest updates in alma 9.4 break dahdi compiles again #55

Open carpenox opened 1 month ago

carpenox commented 1 month ago

DAHDI Tools Version - 3.4.0 Notice: Configuration file is /etc/dahdi/system.conf line 0: Unable to open master device '/dev/dahdi/ctl'

1 error(s) detected

Asterisk 18.18.1 [root@47FAFE8 ~]# cd /usr/src/dahdi-linux-complete-3.4.0+3.4.0 [root@47FAFE8 dahdi-linux-complete-3.4.0+3.4.0]# uname -r 5.14.0-362.8.1.el9_3.x86_64 [root@47FAFE8 dahdi-linux-complete-3.4.0+3.4.0]# make make -C linux all make[1]: Entering directory '/usr/src/dahdi-linux-complete-3.4.0+3.4.0/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory '/usr/src/dahdi-linux-complete-3.4.0+3.4.0/linux/drivers/dahdi/firmware' make[2]: Leaving directory '/usr/src/dahdi-linux-complete-3.4.0+3.4.0/linux/drivers/dahdi/firmware' You do not appear to have the sources for the 5.14.0-362.8.1.el9_3.x86_64 kernel installed. make[1]: [Makefile:72: modules] Error 1 make[1]: Leaving directory '/usr/src/dahdi-linux-complete-3.4.0+3.4.0/linux' make: [Makefile:9: all] Error 2

as you can see it has the kernel installed that its telling me is not installed, any suggestions?

InterLinked1 commented 1 month ago

The output you've shown doesn't actually prove you have the kernel sources installed. So, do you? Typically you would find this in /usr/src

If you're not sure, you can also try installing using PhreakScript (https://github.com/InterLinked1/phreakscript), it should install the kernel headers if they are not present already.