Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2007 02:41:16 +0200
From:      Nikola Lecic <nlecic@EUnet.yu>
To:        Dantavious <derrick@uniquestrength.net>
Cc:        pneumann@gmail.com, freebsd-questions@freebsd.org
Subject:   Re: FreeBSD Port: net/asterisk-addons
Message-ID:  <200709050040.l850et00016819@smtpclu-6.eunet.yu>
In-Reply-To: <200709031022.24028.derrick@uniquestrength.net>
References:  <200709031022.24028.derrick@uniquestrength.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 Sep 2007 10:22:22 -0400
Dantavious <derrick@uniquestrength.net> wrote:

> 	Hi,
> I am having problems compiling this port. Here is the output.=20
> Can you assist me with this issue.=20
>=20
> =3D=3D=3D>  Building for asterisk-addons-1.4.2
> gmake[1]: Entering directory=20
> `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.2'
> gmake[2]: Entering directory=20
> `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.2/asterisk-ooh32=
3c'
> gmake  all-am
> gmake[3]: Entering directory=20
> `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.2/asterisk-ooh32=
3c'
> source=3D'src/chan_h323.c' object=3D'chan_h323.lo' libtool=3Dyes \
>         depfile=3D'.deps/chan_h323.Plo'
> tmpdepfile=3D'.deps/chan_h323.TPlo' \
> depmode=3Dgcc3 /usr/local/bin/bash ./config/depcomp
> \ /usr/local/bin/bash ./libtool --mode=3Dcompile 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 veeeery 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=C4=8Di=C4=87



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