I am trying to create an RPM of DAHDI on a Raspberry PI but without success, specifically the “kmod” compilation.
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.35ssDQ
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd dahdi-linux-2.11.1
+ make KVERS=4.14.101-v7.1.el7 KSRC=/usr/src/kernels/4.14.101-v7.1.el7 modules
make -C drivers/dahdi/firmware firmware-loaders
make[1]: Entering directory `/root/rpmbuild/BUILD/dahdi-linux-2.11.1/drivers/dahdi/firmware'
make[1]: Leaving directory `/root/rpmbuild/BUILD/dahdi-linux-2.11.1/drivers/dahdi/firmware'
make -C /usr/src/kernels/4.14.101-v7.1.el7 SUBDIRS=/root/rpmbuild/BUILD/dahdi-linux-2.11.1/drivers/dahdi DAHDI_INCLUDE=/root/rpmbuild/BUILD/dahdi-linux-2.11.1/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory `/usr/src/kernels/4.14.101-v7.1.el7'
/root/rpmbuild/BUILD/dahdi-linux-2.11.1/drivers/dahdi/Kbuild:129: CPU Architecture 'arm' does not support VPMADT032 or HPEC. Skipping.
CC [M] /root/rpmbuild/BUILD/dahdi-linux-2.11.1/drivers/dahdi/dahdi-base.o
/root/rpmbuild/BUILD/dahdi-linux-2.11.1/drivers/dahdi/dahdi-base.c: In function 'dahdi_ioctl_iomux':
/root/rpmbuild/BUILD/dahdi-linux-2.11.1/drivers/dahdi/dahdi-base.c:5954:3: error: implicit declaration of function 'signal_pending' [-Werror=implicit-function-declaration]
if (signal_pending(current)) {
^
cc1: some warnings being treated as errors
make[2]: *** [/root/rpmbuild/BUILD/dahdi-linux-2.11.1/drivers/dahdi/dahdi-base.o] Error 1
make[1]: *** [_module_/root/rpmbuild/BUILD/dahdi-linux-2.11.1/drivers/dahdi] Error 2
make[1]: Leaving directory `/usr/src/kernels/4.14.101-v7.1.el7'
make: *** [modules] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.35ssDQ (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.35ssDQ (%build)
[root@localhost rpmbuild]#
Do you have any guide or advice to resolve this issue?
No, I don’t need the “meetme” app. I am asking because there are some raspberry PI devices that comes with DAHDI ports, like FXO, FXS, etc. That makes me wonder if there is any special version of DAHDI for Raspberry.
I am no using any devices with FXO or FXS, I am using just a raspberry machine with Centos 7. I just curious about it is possible or not to run DAHDI on these devices.