[Asterisk-bsd] new port for asterisk 1.2.7.1 doesn't compile

Vahan Yerkanian vahan at arminco.com
Thu Apr 27 01:43:59 MST 2006


Just tried upgrading with portupgrade:

--->  Upgrading 'asterisk-1.2.4_2' to 'asterisk-1.2.7.1' (net/asterisk)
...snip...
cc -shared -Xlinker -x -L/usr/local/lib -o chan_oss.so  chan_oss.o 
-pthread -lncurses -lm -lcrypto -lssl
cc -c -O -pipe   -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations  -Iinclude -I../include -D_REENTRANT 
-D_GNU_SOURCE  -I/usr/local/include -L/usr/local/lib 
-I/usr/local/include/spandsp -DZAPTEL_OPTIMIZATIONS 
-fomit-frame-pointer  -I/usr/local/include -L/usr/local/lib 
-Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI 
-DIAX_TRUNKING -DCRYPTO -fPIC  -o chan_zap.o chan_zap.c
chan_zap.c: In function `start_pri':
chan_zap.c:9169: error: too few arguments to function `pri_new'
chan_zap.c: In function `load_module':
chan_zap.c:10972: warning: passing arg 1 of `pri_set_error' from 
incompatible pointer type
chan_zap.c:10973: warning: passing arg 1 of `pri_set_message' from 
incompatible pointer type
gmake[1]: *** [chan_zap.o] Error 1
gmake[1]: Leaving directory 
`/usr/ports/net/asterisk/work/asterisk-1.2.7.1/channels'
gmake: *** [subdirs] Error 1
*** Error code 2

Stop in /usr/ports/net/asterisk.


My guess is this is because of unpatched libpri/zaptel ports. I got this 
same error 2 days ago when I tried installing the patched 1.2.7 port 
wihtout first removing bristuff related stuff from libpri/zaptel and 
reinstalling those.

Regards,
Vahan


More information about the Asterisk-BSD mailing list