Vlasis Chatzistayrou
2004-Sep-03 01:27 UTC
[Asterisk-Users] OH323 0.6.3b compilation problem with 1.0 RC2 on RH9
Hello, I just tried to compile OH323 0.6.3b on a RH9 machine with Asterisk 1.0 RC2 installed but failed. I applied the patch to the required OpenH323 library according to the instructions, and set the proper directories in the Makefile. Here is what I receive after I issue make: ******************************* g++ -DP_USE_PRAGMA -fno-rtti -ffunction-sections -fdata-sections -D_REENTRANT - DOPENSSL_NO_KRB5 -Wall -fPIC -I/Downloads/pwlib/v1.6.6/pwlib/include - DPTRACING -I/Downloads/openh323/v1.13.5/openh323/include -DHAS_OSS -Wall -x c++ -Os -DPWLIBVERSION=\"1.6.6\" -DOPENH323VERSION=\"1.13.5\" - I/Downloads/pwlib/v1.6.6/pwlib/include/ptlib/unix - I/Downloads/pwlib/v1.6.6/pwlib/include - I/Downloads/openh323/v1.13.5/openh323/include - I/Downloads/openh323/v1.13.5/openh323/include/openh323 -I../asterisk-driver -c wrapcaps.cxx -o wrapcaps.o touch ../asterisk-driver/chan_oh323.c gcc -shared -Wl,-soname,liboh323wrap.so -o liboh323wrap.so wrapper_misc.o asteriskaudio.o wrapendpoint.o wrapconnection.o wrapper.o wrapcaps.o make[1]: Leaving directory `/Downloads/oh323/oh323-0.6.3b/asterisk-oh323- 0.6.3b/wrapper' make[1]: Entering directory `/Downloads/oh323/oh323-0.6.3b/asterisk-oh323- 0.6.3b/asterisk-driver' gcc -Wall -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing- declarations -D_REENTRANT -D_GNU_SOURCE -I/usr/include/asterisk -I../wrapper - g -c -o chan_oh323.o chan_oh323.c In file included from /usr/include/stdio.h:34, from chan_oh323.c:34: /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stddef.h:213: syntax error before "typedef" In file included from chan_oh323.c:34: /usr/include/stdio.h:46: syntax error before "typedef" /usr/include/stdio.h:62: syntax error before "typedef" In file included from /usr/include/_G_config.h:44, from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from chan_oh323.c:34: /usr/include/gconv.h:176: parse error before "__flexarr" In file included from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from chan_oh323.c:34: /usr/include/_G_config.h:47: field `__cd' has incomplete type /usr/include/_G_config.h:50: field `__cd' has incomplete type /usr/include/_G_config.h:52: confused by earlier errors, bailing out make[1]: *** [chan_oh323.o] Error 1 make[1]: Leaving directory `/Downloads/oh323/oh323-0.6.3b/asterisk-oh323- 0.6.3b/asterisk-driver' make: *** [subdirs_all] Error 1 ******************************* I'm not a very experienced Linux user so I can't really figure out what the problem may be in this case. Does anyone have any suggestions? Thank you in advance, Vlasis Hatzistavrou.
João Amaro
2004-Sep-03 02:05 UTC
[Asterisk-Users] OH323 0.6.3b compilation problem with 1.0 RC2 on RH9
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I Vlasis, I'm using those versions (Fedora COre 1) and it compiled without problems, but when i try to initialize asterisk i get the folowwing error: ERROR [-1084337504]: chanoh323.c:4636 load_module: H.323 listener creation failed. Hope someone can help us. Vlasis Chatzistayrou wrote: | Hello, | | I just tried to compile OH323 0.6.3b on a RH9 machine with Asterisk | 1.0 RC2 installed but failed. I applied the patch to the required | OpenH323 library according to the instructions, and set the proper | directories in the Makefile. | | Here is what I receive after I issue make: | | | ******************************* | | g++ -DP_USE_PRAGMA -fno-rtti -ffunction-sections -fdata-sections | -D_REENTRANT - DOPENSSL_NO_KRB5 -Wall -fPIC | -I/Downloads/pwlib/v1.6.6/pwlib/include - DPTRACING | -I/Downloads/openh323/v1.13.5/openh323/include -DHAS_OSS -Wall -x | c++ -Os -DPWLIBVERSION=\"1.6.6\" -DOPENH323VERSION=\"1.13.5\" - | I/Downloads/pwlib/v1.6.6/pwlib/include/ptlib/unix - | I/Downloads/pwlib/v1.6.6/pwlib/include - | I/Downloads/openh323/v1.13.5/openh323/include - | I/Downloads/openh323/v1.13.5/openh323/include/openh323 | -I../asterisk-driver -c wrapcaps.cxx -o wrapcaps.o touch | ../asterisk-driver/chan_oh323.c gcc -shared | -Wl,-soname,liboh323wrap.so -o liboh323wrap.so wrapper_misc.o | asteriskaudio.o wrapendpoint.o wrapconnection.o wrapper.o | wrapcaps.o make[1]: Leaving directory | `/Downloads/oh323/oh323-0.6.3b/asterisk-oh323- 0.6.3b/wrapper' | make[1]: Entering directory | `/Downloads/oh323/oh323-0.6.3b/asterisk-oh323- | 0.6.3b/asterisk-driver' gcc -Wall -pipe -Wall -Wstrict-prototypes | -Wmissing-prototypes -Wmissing- declarations -D_REENTRANT | -D_GNU_SOURCE -I/usr/include/asterisk -I../wrapper - g -c -o | chan_oh323.o chan_oh323.c In file included from | /usr/include/stdio.h:34, from chan_oh323.c:34: | /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stddef.h:213: | syntax error before "typedef" In file included from | chan_oh323.c:34: /usr/include/stdio.h:46: syntax error before | "typedef" /usr/include/stdio.h:62: syntax error before "typedef" In | file included from /usr/include/_G_config.h:44, from | /usr/include/libio.h:32, from /usr/include/stdio.h:72, from | chan_oh323.c:34: /usr/include/gconv.h:176: parse error before | "__flexarr" In file included from /usr/include/libio.h:32, from | /usr/include/stdio.h:72, from chan_oh323.c:34: | /usr/include/_G_config.h:47: field `__cd' has incomplete type | /usr/include/_G_config.h:50: field `__cd' has incomplete type | /usr/include/_G_config.h:52: confused by earlier errors, bailing | out make[1]: *** [chan_oh323.o] Error 1 make[1]: Leaving directory | `/Downloads/oh323/oh323-0.6.3b/asterisk-oh323- | 0.6.3b/asterisk-driver' make: *** [subdirs_all] Error 1 | | | ******************************* | | I'm not a very experienced Linux user so I can't really figure out | what the problem may be in this case. | | Does anyone have any suggestions? | | Thank you in advance, Vlasis Hatzistavrou. | | | | | _______________________________________________ Asterisk-Users | mailing list Asterisk-Users@lists.digium.com | http://lists.digium.com/mailman/listinfo/asterisk-users To | UNSUBSCRIBE or update options visit: | http://lists.digium.com/mailman/listinfo/asterisk-users | | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBODPPJUm/Bor63CERAiJzAKDBC8UTGfRji5h7A0gbIZJDl3CCSwCfcp/q J+aNefwc0lZ8vL0witdHBOc=qAW3 -----END PGP SIGNATURE-----
Michael Manousos
2004-Sep-03 03:11 UTC
[Asterisk-Users] OH323 0.6.3b compilation problem with 1.0 RC2 on RH9
It works fine for me on a Slack9.1 laptop. Michael. Vlasis Chatzistayrou wrote:> Hello, > > I just tried to compile OH323 0.6.3b on a RH9 machine with Asterisk 1.0 RC2 > installed but failed. I applied the patch to the required OpenH323 library > according to the instructions, and set the proper directories in the Makefile. > > Here is what I receive after I issue make: > > > ******************************* > > g++ -DP_USE_PRAGMA -fno-rtti -ffunction-sections -fdata-sections -D_REENTRANT - > DOPENSSL_NO_KRB5 -Wall -fPIC -I/Downloads/pwlib/v1.6.6/pwlib/include - > DPTRACING -I/Downloads/openh323/v1.13.5/openh323/include -DHAS_OSS -Wall -x > c++ -Os -DPWLIBVERSION=\"1.6.6\" -DOPENH323VERSION=\"1.13.5\" - > I/Downloads/pwlib/v1.6.6/pwlib/include/ptlib/unix - > I/Downloads/pwlib/v1.6.6/pwlib/include - > I/Downloads/openh323/v1.13.5/openh323/include - > I/Downloads/openh323/v1.13.5/openh323/include/openh323 -I../asterisk-driver -c > wrapcaps.cxx -o wrapcaps.o > touch ../asterisk-driver/chan_oh323.c > gcc -shared -Wl,-soname,liboh323wrap.so -o liboh323wrap.so wrapper_misc.o > asteriskaudio.o wrapendpoint.o wrapconnection.o wrapper.o wrapcaps.o > make[1]: Leaving directory `/Downloads/oh323/oh323-0.6.3b/asterisk-oh323- > 0.6.3b/wrapper' > make[1]: Entering directory `/Downloads/oh323/oh323-0.6.3b/asterisk-oh323- > 0.6.3b/asterisk-driver' > gcc -Wall -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing- > declarations -D_REENTRANT -D_GNU_SOURCE -I/usr/include/asterisk -I../wrapper - > g -c -o chan_oh323.o chan_oh323.c > In file included from /usr/include/stdio.h:34, > from chan_oh323.c:34: > /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stddef.h:213: syntax error > before "typedef" > In file included from chan_oh323.c:34: > /usr/include/stdio.h:46: syntax error before "typedef" > /usr/include/stdio.h:62: syntax error before "typedef" > In file included from /usr/include/_G_config.h:44, > from /usr/include/libio.h:32, > from /usr/include/stdio.h:72, > from chan_oh323.c:34: > /usr/include/gconv.h:176: parse error before "__flexarr" > In file included from /usr/include/libio.h:32, > from /usr/include/stdio.h:72, > from chan_oh323.c:34: > /usr/include/_G_config.h:47: field `__cd' has incomplete type > /usr/include/_G_config.h:50: field `__cd' has incomplete type > /usr/include/_G_config.h:52: confused by earlier errors, bailing out > make[1]: *** [chan_oh323.o] Error 1 > make[1]: Leaving directory `/Downloads/oh323/oh323-0.6.3b/asterisk-oh323- > 0.6.3b/asterisk-driver' > make: *** [subdirs_all] Error 1 > > > ******************************* > > I'm not a very experienced Linux user so I can't really figure out what the > problem may be in this case. > > Does anyone have any suggestions? > > Thank you in advance, > Vlasis Hatzistavrou. >