[asterisk-bugs] [DAHDI-tools 0016552]: cannot compile xpp support in dahdi 2.2.1-rc2

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Jan 10 09:15:10 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16552 
====================================================================== 
Reported By:                cmoye
Assigned To:                tzafrir
====================================================================== 
Project:                    DAHDI-tools
Issue ID:                   16552
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
JIRA:                        
Reviewboard Link:            
====================================================================== 
Date Submitted:             2010-01-05 18:55 CST
Last Modified:              2010-01-10 09:15 CST
====================================================================== 
Summary:                    cannot compile xpp support in dahdi 2.2.1-rc2
Description: 
Linux pbx 2.6.28-17-server https://issues.asterisk.org/view.php?id=58-Ubuntu SMP
Tue Dec 1 22:13:36 UTC 2009
x86_64 GNU/Linux

Ubuntu 9.04


When compiling dahdi-tool-2.2.1-rc2 I get the following error

make[3]: Entering directory
`/usr/src/test/dahdi-linux-complete-2.2.1-rc2+2.2.1-rc2/tools/xpp'
Makefile:139: .depend: No such file or directory
make[3]: Leaving directory
`/usr/src/test/dahdi-linux-complete-2.2.1-rc2+2.2.1-rc2/tools/xpp'
make[3]: Entering directory
`/usr/src/test/dahdi-linux-complete-2.2.1-rc2+2.2.1-rc2/tools/xpp'
for i in dahdi_registration xpp_sync lsdahdi xpp_blink dahdi_genconf
dahdi_hardware twinstar; do perl -I./perl_modules -c $i || exit 1; done
Failed to read SysFS attribute /sys/bus/usb/devices/1-3/serial
BEGIN failed--compilation aborted at perl_modules/Dahdi/Xpp.pm line 11,
<ATTR> line 3.
Compilation failed in require at perl_modules/Dahdi/Xpp/Xpd.pm line 12,
<ATTR> line 3.
BEGIN failed--compilation aborted at perl_modules/Dahdi/Xpp/Xpd.pm line
12, <ATTR> line 3.
Compilation failed in require at perl_modules/Dahdi/Span.pm line 13,
<ATTR> line 3.
BEGIN failed--compilation aborted at perl_modules/Dahdi/Span.pm line 13,
<ATTR> line 3.
Compilation failed in require at perl_modules/Dahdi.pm line 11, <ATTR>
line 3.
BEGIN failed--compilation aborted at perl_modules/Dahdi.pm line 11, <ATTR>
line 3.
Compilation failed in require at dahdi_registration line 14, <ATTR> line
3.
BEGIN failed--compilation aborted at dahdi_registration line 14, <ATTR>
line 3.
make[3]: *** [.perlcheck] Error 1
make[3]: Leaving directory
`/usr/src/test/dahdi-linux-complete-2.2.1-rc2+2.2.1-rc2/tools/xpp'
make[2]: *** [utils-subdirs] Error 2
make[2]: Leaving directory
`/usr/src/test/dahdi-linux-complete-2.2.1-rc2+2.2.1-rc2/tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/usr/src/test/dahdi-linux-complete-2.2.1-rc2+2.2.1-rc2/tools'
make: *** [all] Error 2


For now, I got dahdi-tool installed by modifying the Makefile in the tools
directory and commenting out line 30:

SUBDIRS_UTILS := xpp

This removes support for xpp and allowed me to finish installing dahdi.
====================================================================== 

---------------------------------------------------------------------- 
 (0116419) svnbot (reporter) - 2010-01-10 09:15
 https://issues.asterisk.org/view.php?id=16552#c116419 
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 7827

_U  tools/branches/2.2/
U   tools/branches/2.2/xpp/perl_modules/Dahdi/Hardware/USB.pm

------------------------------------------------------------------------
r7827 | tzafrir | 2010-01-10 09:15:09 -0600 (Sun, 10 Jan 2010) | 10 lines

dahdi-perl: only get 'serial' and 'devnum' attributes from Astribanks

We can tell if a device is an Astribank by the vendorId and productId
attribute. Get other attributed only after we give up on other devices.

(closes issue https://issues.asterisk.org/view.php?id=16552)

Merged revisions 7558 via svnmerge from 
https://origsvn.digium.com/svn/dahdi/tools/trunk

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=7827 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-10 09:15 svnbot         Checkin                                      
2010-01-10 09:15 svnbot         Note Added: 0116419                          
======================================================================




More information about the asterisk-bugs mailing list