Jump to content

Problem with build dahdi on armbian 5.2 (orange pi one)


Recommended Posts

Posted
cant build dahdi on armbian 5.2

how  it make on arm?

 

 

/usr/src/dahdi-linux-complete-2.11.1+2.11.1# make all

make -C linux all

make[1]: Entering directory '/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux'

make -C drivers/dahdi/firmware firmware-loaders

make[2]: Entering directory '/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/firmware'

make[2]: Leaving directory '/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/firmware'

make -C /lib/modules/3.4.112-sun8i/build SUBDIRS=/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m

make[2]: Entering directory '/usr/src/linux-headers-3.4.112-sun8i'

/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/Kbuild:124: CPU Architecture 'arm' does not support VPMADT032 or HPEC. Skipping.

  VERSION /usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/xpp/xpp_version.h

 

  Building modules, stage 2.

/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/Kbuild:124: CPU Architecture 'arm' does not support VPMADT032 or HPEC. Skipping.

 

 

Posted
I belive your problem is not the "CPU Architecture 'arm' does not support VPMADT032 or HPEC." but a problem in the makefile related with pod2man.
So I manage to do it in Armbian_5.25_Bananapi_Debian_jessie_next_4.9.7.img this way.

wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
tar -xzf dahdi-linux-complete-current.tar.gz
cd dahdi-linux-complete-2.11.1+2.11.1/

# handle the tools folder separately 
# Is Makefile appears to have a problem runing pod2man
# we need to generate the man files one by one
# let start

cd ../tools
./configure

# next we need to generate the files

cd xpp
/usr/bin/pod2man --section 8 dahdi_registration > dahdi_registration.8
/usr/bin/pod2man --section 8 lsdahdi >lsdahdi.8
/usr/bin/pod2man --section 8 xpp_blink > xpp_blink.8
/usr/bin/pod2man --section 8 dahdi_genconf > dahdi_genconf.8
/usr/bin/pod2man --section 8 dahdi_hardware > dahdi_hardware.8
/usr/bin/pod2man --section 8 twinstar > twinstar.8
/usr/bin/pod2man --section 8 xpp_sync > xpp_sync.8

# go to base directory
cd .../..
make
make install
make config

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines