Asterisk-Addons 1.4.5 still wont build

Sevan / Venture37 venture37 at hotmail.com
Mon Feb 11 17:38:07 UTC 2008


Hi
I tried building v.1.4.2 of Asterisk-Addons from ports but was unsuccessful, the system has a fresh install of FreeBSD 6.3/AMD64,

v.1.4.2 dies with the following error:
gmake[3]: Entering directory `/usr/ports/net/asterisk-addons-old/work/asterisk-addons-1.4.2/asterisk-ooh323c'
source='src/chan_h323.c' object='chan_h323.lo' libtool=yes \
        depfile='.deps/chan_h323.Plo' tmpdepfile='.deps/chan_h323.TPlo' \
        depmode=gcc3 /bin/sh ./config/depcomp \
        /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./ooh323c/src -I./ooh323c/src/h323 -I/usr/local/include     -DGNU -D_GNU_SOURCE -D_REENTRANT -D_COMPACT -c -o chan_h323.lo `test -f 'src/chan_h323.c' || echo './'`src/chan_h323.c
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I. -I. -I./ooh323c/src -I./ooh323c/src/h323 -I/usr/local/include -DGNU -D_GNU_SOURCE -D_REENTRANT -D_COMPACT -c src/chan_h323.c -MT chan_h323.lo -MD -MP -MF .deps/chan_h323.TPlo  -fPIC -DPIC -o .libs/chan_h323.lo
src/chan_h323.c:71: warning: initialization from incompatible pointer type
src/chan_h323.c:91: warning: initialization from incompatible pointer type
src/chan_h323.c: In function `ooh323_new':
src/chan_h323.c:261: error: incompatible types in assignment
src/chan_h323.c:264: error: incompatible type for argument 1 of `ast_best_codec'
src/chan_h323.c: In function `ooh323_write':
src/chan_h323.c:974: error: invalid operands to binary &
src/chan_h323.c: In function `print_codec_to_cli':
src/chan_h323.c:2219: error: structure has no member named `framing'
src/chan_h323.c: In function `ooh323_rtp_read':
src/chan_h323.c:3246: error: invalid operands to binary !=
src/chan_h323.c:3249: error: incompatible types in assignment
gmake[3]: *** [chan_h323.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/net/asterisk-addons-old/work/asterisk-addons-1.4.2/asterisk-ooh323c'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/net/asterisk-addons-old/work/asterisk-addons-1.4.2/asterisk-ooh323c'
gmake[1]: *** [chan_ooh323.so] Error 2
rm app_saycountpl.o
gmake[1]: Leaving directory `/usr/ports/net/asterisk-addons-old/work/asterisk-addons-1.4.2'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/net/asterisk-addons-old.
*** Error code 1

Stop in /usr/ports/net/asterisk-addons-old.

So I updated the port to v.1.4.5 & still no joy


gmake[3]: Entering directory `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.5/asterisk-ooh323c'
source='src/chan_h323.c' object='chan_h323.lo' libtool=yes \
        depfile='.deps/chan_h323.Plo' tmpdepfile='.deps/chan_h323.TPlo' \
        depmode=gcc3 /bin/sh ./config/depcomp \
        /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./ooh323c/src -I./ooh323c/src/h323 -I/usr/local/include     -DGNU -D_GNU_SOURCE -D_REENTRANT -D_COMPACT -c -o chan_h323.lo `test -f 'src/chan_h323.c' || echo './'`src/chan_h323.c
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I. -I. -I./ooh323c/src -I./ooh323c/src/h323 -I/usr/local/include -DGNU -D_GNU_SOURCE -D_REENTRANT -D_COMPACT -c src/chan_h323.c -MT chan_h323.lo -MD -MP -MF .deps/chan_h323.TPlo  -fPIC -DPIC -o .libs/chan_h323.lo
src/chan_h323.c:71: warning: initialization from incompatible pointer type
src/chan_h323.c:91: warning: initialization from incompatible pointer type
src/chan_h323.c: In function `ooh323_new':
src/chan_h323.c:261: error: incompatible types in assignment
src/chan_h323.c:264: error: incompatible type for argument 1 of `ast_best_codec'
src/chan_h323.c: In function `ooh323_write':
src/chan_h323.c:974: error: invalid operands to binary &
src/chan_h323.c: In function `print_codec_to_cli':
src/chan_h323.c:2226: error: structure has no member named `framing'
src/chan_h323.c: In function `ooh323_rtp_read':
src/chan_h323.c:3253: error: invalid operands to binary !=
src/chan_h323.c:3256: error: incompatible types in assignment
gmake[3]: *** [chan_h323.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.5/asterisk-ooh323c'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.5/asterisk-ooh323c'
gmake[1]: *** [chan_ooh323.so] Error 2
rm app_saycountpl.o
gmake[1]: Leaving directory `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.5'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/net/asterisk-addons.
*** Error code 1

Stop in /usr/ports/net/asterisk-addons.


Attached is a diff to update the port to v.1.4.5

_________________________________________________________________
Who's friends with who and co-starred in what?
http://www.searchgamesbox.com/celebrityseparation.shtml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asterisk-addons-1.4.5
Type: application/octet-stream
Size: 7543 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080211/733b99dc/asterisk-addons-1.4.obj


More information about the freebsd-ports mailing list