Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2008 15:25:05 -0300
From:      "Phillip N." <pneumann@gmail.com>
To:        Sevan / Venture37 <venture37@hotmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Asterisk-Addons 1.4.5 still wont build
Message-ID:  <1202754305.1329.5.camel@negro>
In-Reply-To: <BAY117-W21CD19085165C6F739EC2DA02A0@phx.gbl>
References:  <BAY117-W21CD19085165C6F739EC2DA02A0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Sevan...

Wired.. i can install asterisk-addons 1.4.5 (send a pr some times ago)
sucessfully on releng_7.
Are you ports updated?. i.e. asterisk?
do you have any ports related to h323 installed?

thanks!

El lun, 11-02-2008 a las 17:26 +0000, Sevan / Venture37 escribió:
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1202754305.1329.5.camel>