After fresh vicibox express install i do following
- Code: Select all
zypper up
zypper --non-interactive in -t pattern devel_kernel
zypper --non-interactive in kernel-syms patchutils dahdi-linux-devel libpri-devel asterisk-devel gcc-c++
killall -9 asterisk
/etc/init.d/dahdi stop
cd dahdi
make -C linux clean
make[1]: Entering directory '/usr/local/src/dahdi-linux-complete-2.11.1+2.11.1/linux'
make -C drivers/dahdi/firmware clean
make[2]: Entering directory '/usr/local/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/firmware'
rm -f dahdi-fw-*.o
make[2]: Leaving directory '/usr/local/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/firmware'
make -C M='/usr/local/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/oct612x' clean
make[2]: Entering directory '/usr/local/src/dahdi-linux-complete-2.11.1+2.11.1/linux'
make[2]: *** M=/usr/local/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/oct612x: No such file or directory. Stop.
make[2]: Leaving directory '/usr/local/src/dahdi-linux-complete-2.11.1+2.11.1/linux'
Makefile:179: recipe for target 'clean' failed
make[1]: *** [clean] Error 2
make[1]: Leaving directory '/usr/local/src/dahdi-linux-complete-2.11.1+2.11.1/linux'
Makefile:14: recipe for target 'clean' failed
make: *** [clean] Error 2
vicibox8:/usr/local/src/dahdi-linux-complete-2.11.1+2.11.1 # make all
make -C linux all
make[1]: Entering directory '/usr/local/src/dahdi-linux-complete-2.11.1+2.11.1/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory '/usr/local/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/firmware'
Attempting to download dahdi-fwload-vpmadt032-1.25.0.tar.gz
--2018-07-11 21:31:40-- http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.25.0.tar.gz
Resolving downloads.digium.com (downloads.digium.com)... 76.164.171.238, 2001:470:e0d4::ee
Connecting to downloads.digium.com (downloads.digium.com)|76.164.171.238|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 149360 (146K) [application/x-gzip]
Saving to: ‘dahdi-fwload-vpmadt032-1.25.0.tar.gz’
100%[==================================================================================>] 149,360 --.-K/s in 0.003s
2018-07-11 21:31:42 (48.4 MB/s) - ‘dahdi-fwload-vpmadt032-1.25.0.tar.gz’ saved [149360/149360]
make[2]: Leaving directory '/usr/local/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/firmware'
You do not appear to have the sources for the 4.4.138-59-default kernel installed.
Makefile:71: recipe for target 'modules' failed
make[1]: *** [modules] Error 1
make[1]: Leaving directory '/usr/local/src/dahdi-linux-complete-2.11.1+2.11.1/linux'
Makefile:9: recipe for target 'all' failed
make: *** [all] Error 2
I tried same on another test VM and facing same error while compiling dahdi, please help me to rectify this issue.