[Asterisk-bsd] Problems compiling port for asterisk-1.0.9 on FBSD 5.4

Ernie Dunbar maillist at lightspeed.ca
Tue Oct 4 12:03:02 CDT 2005


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



More information about the Asterisk-BSD mailing list