[Asterisk-Dev] Unable to build CVS since 12/26/04 (says libpri tooold)

Brian West brian at bkw.org
Wed Jan 5 09:18:06 MST 2005


Checkout and build libpri first and install it... then build asterisk

bkw

> -----Original Message-----
> From: asterisk-dev-bounces at lists.digium.com [mailto:asterisk-dev-
> bounces at lists.digium.com] On Behalf Of Shawn L. Djernes
> Sent: Wednesday, January 05, 2005 1:34 AM
> To: Asterisk Dev List
> Subject: [Asterisk-Dev] Unable to build CVS since 12/26/04 (says libpri
> tooold)
> 
> Hello,
> 
> I have not been able to build Asterisk from CVS since 12/26/04 on either a
> RedHat FC2 or Debian SID system.  When I try to build I get the message
> saying I need to update my libpri.  I have done that.  My typical build
> process is to build zaptel, then libpri, and then asterisk.  This is all
> after doing cvs update (make update for asterisk) on all modules.
> 
> I today tried deleting the asterisk and libpri directories from my system
> and checking them out of CVS again.
> 
> Here is the error from the asterisk build process.
> 
> make[1]: Entering directory `/usr/src/phone/asterisk/channels'
> gcc -c -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -
> D_GNU_SOURCE
> -O6 -march=i686   -DZAPTEL_OPTIMIZATIONS
> -DASTERISK_VERSION=\"CVS-HEAD-01/04/05-23:51:48\"
> -DASTERISK_VERSION_NUM=999999 -DINSTALL_PREFIX=\"\"
> -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\"
> -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
> -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
> -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\"
> -DASTMODDIR=\"/usr/lib/asterisk/modules\"
> -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN
> -Wno-missing-prototypes -Wno-missing-declarations   -DZAPATA_PRI
> -DIAX_TRUNKING   -DCRYPTO -fPIC  -o chan_zap.o chan_zap.c
> chan_zap.c:61:2: #error "You need newer libpri"
> chan_zap.c: In function `pri_dchannel':
> chan_zap.c:7808: error: structure has no member named `redirectingreason'
> chan_zap.c:7810: error: structure has no member named `redirectingreason'
> make[1]: *** [chan_zap.o] Error 1
> make[1]: Leaving directory `/usr/src/phone/asterisk/channels'
> make: *** [subdirs] Error 1
> 
> Hope someone can point me in the right direction to fix this.
> 
> Thanks,
> Shawn
> 
> 
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev




More information about the asterisk-dev mailing list