Phillip N. wrote:
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!
Hi,
Sorry to inform you that asterisk-addons is marked as broken on FreeBSD
7.0-PRERELEASE.
#uname -an
FreeBSD daemon.micom.mng.net 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0:
Mon Jan 14 16:49:57 ULAT 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GDAEMON i386
Every required port is installed. I tried to manually download and
compile asterisk-addons.
However some of the ooh323 codes included in asterisk-addons-1.4.5 does
not compile like below problem mentioned by Sevan.
Some variables doesn't match with the variables included in header files
of asterisk port.
However I was able to compile it after making some changes to
chan_h323.c and ooh323cDriver.c.
So could you please send me your chan_h323.c and ooh323cDriver.c?
I would like to see why it was compiled on your system not on mine.
thanks a lot,
Ganbold
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
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
--
It is a wise father that knows his own child. -- William Shakespeare,
"The Merchant of Venice"
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"