Re: FreeBSD Port: net/asterisk-addons
On Mon, 3 Sep 2007 10:22:22 -0400 Dantavious <[EMAIL PROTECTED]> wrote: > Hi, > I am having problems compiling this port. Here is the output. > Can you assist me with this issue. > > ===> Building for asterisk-addons-1.4.2 > gmake[1]: Entering directory > `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.2' > gmake[2]: Entering directory > `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.2/asterisk-ooh323c' > gmake all-am > gmake[3]: Entering directory > `/usr/ports/net/asterisk-addons/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 /usr/local/bin/bash ./config/depcomp > \ /usr/local/bin/bash ./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 rm > -f .libs/chan_h323.lo 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' [...] ^^^ Derrick, Looks like you have vry outdated version of net/asterisk (at least a year old; if not, something's wrong with its *.h files), so if your ports tree is up-to-date please do # portupgrade -fr asterisk That should fix the problem. Nikola Lečić ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD Port: net/asterisk-addons
Hi, I am having problems compiling this port. Here is the output. Can you assist me with this issue. ===> Building for asterisk-addons-1.4.2 gmake[1]: Entering directory `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.2' gmake[2]: Entering directory `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.2/asterisk-ooh323c' gmake all-am gmake[3]: Entering directory `/usr/ports/net/asterisk-addons/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 /usr/local/bin/bash ./config/depcomp \ /usr/local/bin/bash ./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 rm -f .libs/chan_h323.lo 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/work/asterisk-addons-1.4.2/asterisk-ooh323c' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.2/asterisk-ooh323c' gmake[1]: *** [chan_ooh323.so] Error 2 gmake[1]: Leaving directory `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.2' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/net/asterisk-addons. v/r Derrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"