[Asterisk-bsd] Problems compiling port for asterisk-1.0.9 on FBSD5.4

Chris St Denis chris at aebc.com
Tue Oct 4 12:23:12 CDT 2005


Sounds like either:
1. Your libpri or maybe zaptel installed it out of date, upgrade to the
latest port version.
2. Could be a compatability problem if you are using zaptel from svn, I'm
not sure if it works with the asterisk port. 

-----Original Message-----
From: asterisk-bsd-bounces at lists.digium.com
[mailto:asterisk-bsd-bounces at lists.digium.com] On Behalf Of Ernie Dunbar
Sent: Tuesday, October 04, 2005 10:03 AM
To: Asterisk on BSD discussion
Subject: [Asterisk-bsd] Problems compiling port for asterisk-1.0.9 on
FBSD5.4

In an effort to get around the problems I had with asterisk-addons, I
cvsupped and tried the port for asterisk-1.0.9. After much compiling, I
get the following error.

Has anyone actually gotten this port to run?

gmake[2]: Leaving directory
`/usr/ports/net/asterisk/work/asterisk-1.0.9/channels/h323'
c++ -shared -Xlinker -x -L/usr/local/lib -o chan_h323.so chan_h323.o
h323/ast_h323.o -L/usr/ports/net/openh323/work/openh323/lib
-lh323_FreeBSD_x86_r_s -L/usr/ports/devel/pwlib/work/pwlib/lib
-lpt_FreeBSD_x86_r_s -lcrypto -lssl -L/usr/local/lib -lexpat -llber -lldap
-lldap_r
cc -c -O -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE 
 -march=i386     -I/usr/local/include -DZAPTEL_OPTIMIZATIONS
-DASTERISK_VERSION=\"1.0.8-BRIstuffed-0.2.0-RC8h\"
-DINSTALL_PREFIX=\"/usr/local\" -DASTETCDIR=\"/usr/local/etc/asterisk\"
-DASTLIBDIR=\"/usr/local/lib/asterisk\"
-DASTVARLIBDIR=\"/usr/local/share/asterisk\" -DASTVARRUNDIR=\"/var/run\"
-DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
-DASTCONFPATH=\"/usr/local/etc/asterisk/asterisk.conf\"
-DASTMODDIR=\"/usr/local/lib/asterisk/modules\"
-DASTAGIDIR=\"/usr/local/share/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN 
    -Wno-missing-prototypes -Wno-missing-declarations  -DOLD_SANGOMA_API 
-DZAPATA_PRI    -DIAX_TRUNKING -I/usr/local/include  -DCRYPTO -fPIC  -o
chan_zap.o chan_zap.c
chan_zap.c: In function `pri_dchannel':
chan_zap.c:8391: error: structure has no member named `cause'
chan_zap.c:8886: error: structure has no member named `inband_progress'
gmake[1]: *** [chan_zap.o] Error 1
gmake[1]: Leaving directory
`/usr/ports/net/asterisk/work/asterisk-1.0.9/channels'
gmake: *** [subdirs] Error 1
*** Error code 2

_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd



More information about the Asterisk-BSD mailing list