[Asterisk-Users] oh323 version 0.6.6.
CM Rahman Jr.
cmrahman at ccsi.com
Sat Jul 9 15:59:22 MST 2005
Hi,
I have downloaded
asterisk-oh323-0.6.6.tar
pwlib-Janus_patch4-src-tar
openh323-Janus_patch4-src-tar
pwlib and openh323 compiled fine as instructed.
When I tried to compile asterisk-oh323
I am getting this and anybody know howto fix this?
[root at phone1 oh323]# cd asterisk-oh323-0.6.6
[root at phone1 asterisk-oh323-0.6.6]# ls
asterisk-driver CONFIGURATION Makefile rpm TESTS
BUGS COPYING README rules.mak wrapper
[root at phone1 asterisk-oh323-0.6.6]# make
for x in wrapper asterisk-driver; do make -C $x build || exit 1 ; done
make[1]: Entering directory `/root/oh323/asterisk-oh323-0.6.6/wrapper'
./check_ver /root/oh323/pwlib pwlib
./check_ver /root/oh323/openh323 openh323
ar rc liboh323wrap_s.a wrapper_misc.o asteriskaudio.o wrapconnection.o
wrapendpoint.o wrapper.o wrapcaps.o wrapgkserver.o
make[1]: Leaving directory `/root/oh323/asterisk-oh323-0.6.6/wrapper'
make[1]: Entering directory `/root/oh323/asterisk-oh323-0.6.6/asterisk-driver'
gcc -Wall -DUSE_OLD_CAPABILITIES_API=1 -march=i686 -pipe -Wstrict-prototypes -
Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -fPIC -
I/usr/include/asterisk -I../wrapper -c -o chan_oh323.o chan_oh323.c
In file included from /usr/include/string.h:33,
from chan_oh323.c:34:
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/stddef.h:213: error:
syntax error before "typedef"
In file included from chan_oh323.c:34:
/usr/include/string.h:38: error: syntax error before "extern"
/usr/include/string.h:39: error: syntax error before "__THROW"
/usr/include/string.h:43: error: syntax error before "__THROW"
/usr/include/string.h:56: error: syntax error before "__BEGIN_NAMESPACE_STD"
/usr/include/string.h:58: error: syntax error before "extern"
/usr/include/string.h:58: error: syntax error before "__THROW"
/usr/include/string.h:62: error: syntax error before "__THROW"
/usr/include/string.h:66: error: syntax error before "__THROW"
/usr/include/string.h:80: error: syntax error before "__BEGIN_NAMESPACE_STD"
/usr/include/string.h:82: error: syntax error before "extern"
/usr/include/string.h:83: error: syntax error before "__THROW"
/usr/include/string.h:86: error: syntax error before "__THROW"
/usr/include/string.h:90: error: syntax error before "__THROW"
/usr/include/string.h:93: error: syntax error before "__THROW"
/usr/include/string.h:97: error: syntax error before "__THROW"
/usr/include/string.h:100: error: syntax error before "__THROW"
/usr/include/string.h:104: error: syntax error before "__THROW"
/usr/include/string.h:107: error: syntax error before "__THROW"
/usr/include/string.h:160: error: syntax error before "__BEGIN_NAMESPACE_STD"
/usr/include/string.h:162: error: syntax error before "extern"
/usr/include/string.h:162: error: syntax error before "__THROW"
/usr/include/string.h:164: error: syntax error before "__THROW"
/usr/include/string.h:173: error: syntax error before "__BEGIN_NAMESPACE_STD"
/usr/include/string.h:176: error: syntax error before "extern"
/usr/include/string.h:177: error: syntax error before "__THROW"
/usr/include/string.h:181: error: syntax error before "__THROW"
/usr/include/string.h:184: error: syntax error before "__THROW"
/usr/include/string.h:187: error: syntax error before "__THROW"
/usr/include/string.h:192: error: syntax error before "__THROW"
/usr/include/string.h:197: error: syntax error before "extern"
/usr/include/string.h:199: error: syntax error before "__THROW"
/usr/include/string.h:230: error: syntax error before "extern"
More information about the asterisk-users
mailing list