[Asterisk-Users] OH323 0.6.3b compilation problem with 1.0 RC2 on RH9

Vlasis Chatzistayrou vhatz at auth.gr
Fri Sep 3 03:57:59 MST 2004


Hello,

Thanks for replying. On a Slackware 9.1 it may compile, but on a RH9 it 
doesn't and I don't think we can install another distro on that machine...  

:-)

I guess I'll have to wait for the new version of OH323 in order to try 
cimpiling again...

Best regards & thanks,
Vlasis.


Αρχικό μήνυμα από  Michael Manousos <manousos at inaccessnetworks.com>:

> 
> 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.
> > 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
> 


-- 






More information about the asterisk-users mailing list