Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2008 10:28:03 +0800
From:      Ganbold <ganbold@micom.mng.net>
To:        Sevan / Venture37 <venture37@hotmail.com>
Cc:        "Phillip N." <pneumann@gmail.com>, freebsd-ports@freebsd.org
Subject:   Re: Asterisk-Addons 1.4.5 still wont build
Message-ID:  <47B10433.5090103@micom.mng.net>
In-Reply-To: <BAY117-W34DF3EB25A9B49EAC01DCEA02B0@phx.gbl>
References:  <BAY117-W34DF3EB25A9B49EAC01DCEA02B0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
Sevan / Venture37 wrote:
> Ignore my previous diff, use the one attached, as Phillip question, the default selection of modules for asterisk includes openh323 support, this needs to be deselected when building asterisk.
>
> v.1.4.2 of addons is in the tree because the PR which Phillip submitted is still open
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/120087
>
> Test it on FreeBSD 7 & let us know. I'm just waiting for v.7 to install on a VM so I can try it out.
>   

I'm sorry, it still says same error when it tries to compile ooh323. 
Please see below:
...
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 /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
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 -DPIC -o chan_h323.o
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: 'struct ast_codec_pref' 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.
daemon#


I know where the problem is and I know how to fix it, however I'm not 
quite sure whether it is
correct or not. That is why I need those 2 files that Phillip was able 
to compile.

thanks,

Ganbold


>
> Sevan / Venture37
>
> _________________________________________________________________
> Free games, great prizes - get gaming at Gamesbox. 
> http://www.searchgamesbox.com
> ------------------------------------------------------------------------
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"


-- 
One of the worst of my many faults is that I'm too critical of myself.



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