Trouble Building Dahdi On Kernel 5.2.7
dahdi built fine on 5.1.20, but on 5.2.7:
………….
CC [M]
/home/asterisk/rpmbuild/BUILD/linux-dade6ac/drivers/dahdi/vpmadt032_loader/dahdi_vpmadt032_loader.o
SHIPPED
/home/asterisk/rpmbuild/BUILD/linux-dade6ac/drivers/dahdi/vpmadt032_loader/vpmadt032_x86_64.o
LD [M]
/home/asterisk/rpmbuild/BUILD/linux-dade6ac/drivers/dahdi/dahdi_vpmadt032_loader.o
Building modules, stage 2.
MODPOST 15 modules ERROR: “vpmadtreg_register”
[/home/asterisk/rpmbuild/BUILD/linux-dade6ac/drivers/dahdi/dahdi_vpmadt032_loader.ko]
undefined!
ERROR: “vpmadtreg_unregister”
[/home/asterisk/rpmbuild/BUILD/linux-dade6ac/drivers/dahdi/dahdi_vpmadt032_loader.ko]
undefined!
make[2]: *** [scripts/Makefile.modpost:91: __modpost] Error 1
make[1]: *** [Makefile:1605: modules] Error 2
make[1]: Leaving directory ‘/usr/src/kernels/5.2.7-100.fc29.x86_64’
make: *** [Makefile:74: modules] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.F8F4dL (%prep)
Any ideas ?
sean
—
3 thoughts on - Trouble Building Dahdi On Kernel 5.2.7
And yes, kernel-devel is installled.
kernel-5.1.20-200.fc29.x86_64
kernel-5.1.21-200.fc29.x86_64
kernel-5.2.7-100.fc29.x86_64
kernel-core-5.1.20-200.fc29.x86_64
kernel-core-5.1.21-200.fc29.x86_64
kernel-core-5.2.7-100.fc29.x86_64
kernel-devel-5.1.20-200.fc29.x86_64
kernel-devel-5.1.21-200.fc29.x86_64
kernel-devel-5.2.7-100.fc29.x86_64
kernel-headers-5.2.7-100.fc29.x86_64
kernel-modules-5.1.20-200.fc29.x86_64
kernel-modules-5.1.21-200.fc29.x86_64
kernel-modules-5.2.7-100.fc29.x86_64
kernel-tools-5.2.7-100.fc29.x86_64
kernel-tools-libs-5.2.7-100.fc29.x86_64
The same kernel packages as the 5.1 kernels.
sean
—
Hi Sean. Unfortunately I can only add a +1 for the DAHDI kernel modules, but can confirm that the SipWise rtpengine kernel module also fails to build. I’m waiting to try on 5.2.8 to see if anything is different before raising the flag.
Other F30 ix86 build errors not appearing to be related to yours, Sean. These are with DAHDI git master branch (at v3.1.0-rc1). What DAHDI version are you building?
https://issues.asterisk.org/jira/browse/DAHLIN-371
make[1]: Entering directory ‘/usr/src/kernels/5.2.8-200.fc30.i686’
Building modules, stage 2. make[1]: Leaving directory ‘/usr/src/kernels/5.2.8-200.fc30.i686’
MODPOST 27 modules BUILDSTDERR: ERROR: “__divdi3” [/builddir/build/BUILD/dahdi-linux-kmod-3.0.0/
_kmod_build_5.2.8-200.fc30.i686/drivers/dahdi/xpp/xpp_usb.ko] undefined!
BUILDSTDERR: ERROR: “__udivdi3” [/builddir/build/BUILD/dahdi-linux-kmod-3.0.0/
_kmod_build_5.2.8-200.fc30.i686/drivers/dahdi/xpp/xpp_usb.ko] undefined!
BUILDSTDERR: ERROR: “__moddi3” [/builddir/build/BUILD/dahdi-linux-kmod-3.0.0/
_kmod_build_5.2.8-200.fc30.i686/drivers/dahdi/xpp/xpp.ko] undefined!
BUILDSTDERR: ERROR: “__divdi3” [/builddir/build/BUILD/dahdi-linux-kmod-3.0.0/
_kmod_build_5.2.8-200.fc30.i686/drivers/dahdi/xpp/xpp.ko] undefined!