Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Trying to compile DAHDI on Pidora 2014 (RPi)


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
cursor at telecomabmex...
Guest





PostPosted: Fri Nov 13, 2015 5:02 pm    Post subject: [asterisk-users] Trying to compile DAHDI on Pidora 2014 (RPi Reply with quote

I just purchased an Amfeltec USB-FXO adapter and am trying to
compile DAHDI 2.10 on a Raspberry PI running Pidora 2014 R3. I have all
the dependencies but I get an error and cannot finish. Is it even
possible to compile DAHDI for the ARM plataform? Here is the error I am
getting:

root@astpi dahdi-linux-complete-2.10.2+2.10.2]# make
make -C linux all
make[1]: Entering directory
`/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory
`/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/firmware'
make[2]: Leaving directory
`/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/firmware'
make -C
/lib/modules/3.12.26-1.20140808git4ab8abb.rpfr20.armv6hl.bcm2708/build
SUBDIRS=/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi
DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/include
DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[2]: Entering directory
`/usr/src/kernels/3.12.26-1.20140808git4ab8abb.rpfr20.armv6hl.bcm2708'
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/Kbuild:124:
CPU Architecture 'arm' does not support VPMADT032 or HPEC. Skipping.
CC [M]
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/dahdi-base.o
In file included from
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/dahdi-base.c:68:0:
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/include/dahdi/kernel.h:63:5:
warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
^
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/include/dahdi/kernel.h:63:27:
warning: "KERNEL_VERSION" is not defined [-Wundef]
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
^
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/include/dahdi/kernel.h:63:41:
error: missing binary operator before token "("
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
^
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/include/dahdi/kernel.h:69:5:
warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26)
^
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/include/dahdi/kernel.h:69:27:
warning: "KERNEL_VERSION" is not defined [-Wundef]
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26)
^
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/include/dahdi/kernel.h:69:41:
error: missing binary operator before token "("
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26)

make[3]: ***
[/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/dahdi-base.o]
Error 1
make[2]: ***
[_module_/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi] Error
2
make[2]: Leaving directory
`/usr/src/kernels/3.12.26-1.20140808git4ab8abb.rpfr20.armv6hl.bcm2708'
make[1]: *** [modules] Error 2
make[1]: Leaving directory
`/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux'
make: *** [all] Error 2

Am I missing something else?

--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)9116-91161


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
asterisk at ck-lee.com
Guest





PostPosted: Fri Nov 13, 2015 7:29 pm    Post subject: [asterisk-users] Trying to compile DAHDI on Pidora 2014 (RPi Reply with quote

I am also interested if someone can get it compile and work

Sent from my iPhone

Quote:
On 14 Nov 2015, at 6:01 AM, Carlos Chavez <cursor@telecomabmex.com> wrote:

I just purchased an Amfeltec USB-FXO adapter and am trying to compile DAHDI 2.10 on a Raspberry PI running Pidora 2014 R3. I have all the dependencies but I get an error and cannot finish. Is it even possible to compile DAHDI for the ARM plataform? Here is the error I am getting:

root@astpi dahdi-linux-complete-2.10.2+2.10.2]# make
make -C linux all
make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/firmware'
make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/firmware'
make -C /lib/modules/3.12.26-1.20140808git4ab8abb.rpfr20.armv6hl.bcm2708/build SUBDIRS=/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[2]: Entering directory `/usr/src/kernels/3.12.26-1.20140808git4ab8abb.rpfr20.armv6hl.bcm2708'
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/Kbuild:124: CPU Architecture 'arm' does not support VPMADT032 or HPEC. Skipping.
CC [M] /usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/dahdi-base.o
In file included from /usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/dahdi-base.c:68:0:
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/include/dahdi/kernel.h:63:5: warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
^
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/include/dahdi/kernel.h:63:27: warning: "KERNEL_VERSION" is not defined [-Wundef]
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
^
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/include/dahdi/kernel.h:63:41: error: missing binary operator before token "("
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
^
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/include/dahdi/kernel.h:69:5: warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26)
^
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/include/dahdi/kernel.h:69:27: warning: "KERNEL_VERSION" is not defined [-Wundef]
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26)
^
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/include/dahdi/kernel.h:69:41: error: missing binary operator before token "("
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26)

make[3]: *** [/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/dahdi-base.o] Error 1
make[2]: *** [_module_/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi] Error 2
make[2]: Leaving directory `/usr/src/kernels/3.12.26-1.20140808git4ab8abb.rpfr20.armv6hl.bcm2708'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux'
make: *** [all] Error 2

Am I missing something else?

--
Telecomunicaciones Abiertas de M¨¦xico S.A. de C.V.
Carlos Ch¨¢vez
+52 (55)9116-91161


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Sun Nov 15, 2015 6:23 am    Post subject: [asterisk-users] Trying to compile DAHDI on Pidora 2014 (RPi Reply with quote

On Fri, Nov 13, 2015 at 04:01:33PM -0600, Carlos Chavez wrote:
Quote:
I just purchased an Amfeltec USB-FXO adapter and am trying to compile
DAHDI 2.10 on a Raspberry PI running Pidora 2014 R3. I have all the
dependencies but I get an error and cannot finish. Is it even possible to
compile DAHDI for the ARM plataform? Here is the error I am getting:

root@astpi dahdi-linux-complete-2.10.2+2.10.2]# make
make -C linux all
make[1]: Entering directory
`/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory
`/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/firmware'
make[2]: Leaving directory
`/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/firmware'
make -C
/lib/modules/3.12.26-1.20140808git4ab8abb.rpfr20.armv6hl.bcm2708/build
SUBDIRS=/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi
DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/include
DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[2]: Entering directory
`/usr/src/kernels/3.12.26-1.20140808git4ab8abb.rpfr20.armv6hl.bcm2708'
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/Kbuild:124:
CPU Architecture 'arm' does not support VPMADT032 or HPEC. Skipping.
CC [M]
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/dahdi-base.o
In file included from /usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/dahdi-base.c:68:0:
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/include/dahdi/kernel.h:63:5:
warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
^

Something seems to be wrong with your kernel headers. Perhaps you need
to install a matchig kernel-devel package.

What is the output of:

ls -l /lib/modules/3.12.26-1.20140808git4ab8abb.rpfr20.armv6hl.bcm2708/build
?

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
cursor at telecomabmex...
Guest





PostPosted: Tue Nov 17, 2015 1:11 pm    Post subject: [asterisk-users] Trying to compile DAHDI on Pidora 2014 (RPi Reply with quote

On 11/15/15 5:22 AM, Tzafrir Cohen wrote:
Quote:
On Fri, Nov 13, 2015 at 04:01:33PM -0600, Carlos Chavez wrote:
Quote:
I just purchased an Amfeltec USB-FXO adapter and am trying to compile
DAHDI 2.10 on a Raspberry PI running Pidora 2014 R3. I have all the
dependencies but I get an error and cannot finish. Is it even possible to
compile DAHDI for the ARM plataform? Here is the error I am getting:

root@astpi dahdi-linux-complete-2.10.2+2.10.2]# make
make -C linux all
make[1]: Entering directory
`/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory
`/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/firmware'
make[2]: Leaving directory
`/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/firmware'
make -C
/lib/modules/3.12.26-1.20140808git4ab8abb.rpfr20.armv6hl.bcm2708/build
SUBDIRS=/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi
DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/include
DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[2]: Entering directory
`/usr/src/kernels/3.12.26-1.20140808git4ab8abb.rpfr20.armv6hl.bcm2708'
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/Kbuild:124:
CPU Architecture 'arm' does not support VPMADT032 or HPEC. Skipping.
CC [M]
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/dahdi-base.o
In file included from /usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/dahdi-base.c:68:0:
/usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/include/dahdi/kernel.h:63:5:
warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
^
Something seems to be wrong with your kernel headers. Perhaps you need
to install a matchig kernel-devel package.

What is the output of:

ls -l /lib/modules/3.12.26-1.20140808git4ab8abb.rpfr20.armv6hl.bcm2708/build
?

[root@astpi kernels]# ls -l
/lib/modules/3.12.26-1.20140808git4ab8abb.rpfr20.armv6hl.bcm2708/build
lrwxrwxrwx 1 root root 68 Nov 13 12:56
/lib/modules/3.12.26-1.20140808git4ab8abb.rpfr20.armv6hl.bcm2708/build
-> /usr/src/kernels/3.12.26-1.20140808git4ab8abb.rpfr20.armv6hl.bcm2708

[root@astpi kernels]# rpm -qa | grep kernel
raspberrypi-kernel-3.12.26-1.20140808git4ab8abb.rpfr20.armv6hl
raspberrypi-kernel-devel-3.12.26-1.20140808git4ab8abb.rpfr20.armv6hl
raspberrypi-kernel-headers-3.12.26-1.20140808git4ab8abb.rpfr20.armv6hl

--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)9116-91161


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services