[asterisk-users] trouble building dahdi on kernel 5.2.7

Anthony Joseph Messina amessina at messinet.com
Thu Aug 15 17:27:02 CDT 2019


On Wednesday, August 14, 2019 5:12:52 PM CDT sean darcy wrote:
> On 8/14/19 6:00 PM, sean darcy wrote:
> > 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
> 
> 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

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!

-- 
Anthony - https://messinet.com
F9B6 560E 68EA 037D 8C3D  D1C9 FF31 3BDB D9D8 99B6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190815/fdb43864/attachment.sig>


More information about the asterisk-users mailing list