[Asterisk-Users] problems compiling h323 support

Jer jer at multihaven.org
Mon May 17 15:32:45 MST 2004


At 06:23 PM 5/17/2004, you wrote:

gives the same error...

g++ -Wall -DPNXVER2=2 -DP_LINUX -mcpu=i686 -D_REENTRANT -DP_HAS_SEMAPHORES 
-O3 -
DNDEBUG -DP_SSL -I../include -I/include -I/crypto 
-DPNX_VERSION=\"CVS-05/17/04-1
7:10:07\" -DP_PTHREADS -DPBYTE_ORDER=PLITTLE_ENDIAN -I/include/ptlib/unix 
-I/inc
lude -I/root/openh323/include -DHAS_IXJ -DHAS_IXJ -DHAS_OSS -c chan_h323.cxx -o
chan_h323.o
In file included from /usr/include/ptlib/contain.h:222,
                  from /usr/include/ptlib.h:139,
                  from chan_h323.cxx:37:
/usr/include/ptlib/object.h:585: parse error before `(' token
/usr/include/ptlib/object.h:1201: `BOOL' declared as a `virtual' field
/usr/include/ptlib/object.h:1201: parse error before `(' token
/usr/include/ptlib/object.h:1214: `BOOL' declared as a `virtual' field
/usr/include/ptlib/object.h:1214: declaration of `int PObject::BOOL'
/usr/include/ptlib/object.h:1201: conflicts with previous declaration `int


>Try 'export LANG=C' then 'make clean && make'
>
>--
>  Matthew Billings              |   Affordable WWW & Internet Solutions
>  foreThought.net               |   for Small Business
>  matt.billings at foreThought.net |   910 16th Street, #1220  (303)
>228-0070 x821
>  --The Future is Now!--        |   Denver, CO 80202        (303)
>228-0077 fax
>
> > -----Original Message-----
> > From: asterisk-users-admin at lists.digium.com [mailto:asterisk-users-
> > admin at lists.digium.com] On Behalf Of Jer
> > Sent: Monday, May 17, 2004 4:07 PM
> > To: asterisk-users at lists.digium.com
> > Subject: [Asterisk-Users] problems compiling h323 support
> >
> > Hi all I am trying to compile  Asterisk  on RH9
> >
> > I am have installed
> > pwlib_1.5.2
> > readline-4.3-5
> > readline-devel-4.3-5
> > openssl-devel-0.9.7a-2
> > openssl-0.9.7a-2
> > openh323_1.12.2
> >
> > I read that it has to do with pwlib not being installed correctly so i
> > made
> > sure it was in /usr/local correctly
> >
> > When i try to compile i get the follow errors....
> > I was wondering can anyone shed in light on this issue
> >
> > Thanks
> >
> >
> >
> > g++ -Wall -DPNXVER2=2 -DP_LINUX -mcpu=i686 -D_REENTRANT
>-DP_HAS_SEMAPHORES
> > -O3 -
> > DNDEBUG -DP_SSL -I../include -I/include -I/crypto
> > -DPNX_VERSION=\"CVS-05/17/04-1
> > 7:10:07\" -DP_PTHREADS -DPBYTE_ORDER=PLITTLE_ENDIAN
>-I/include/ptlib/unix
> > -I/inc
> > lude -I/home/dictate/openh323/include -DHAS_IXJ -DHAS_IXJ -DHAS_OSS -c
> > chan_h323
> > .cxx -o chan_h323.o
> > In file included from /usr/include/ptlib/contain.h:222,
> >                   from /usr/include/ptlib.h:139,
> >                   from chan_h323.cxx:37:
> > /usr/include/ptlib/object.h:585: parse error before `(' token
> > /usr/include/ptlib/object.h:1201: `BOOL' declared as a `virtual' field
> > /usr/include/ptlib/object.h:1201: parse error before `(' token
> > /usr/include/ptlib/object.h:1214: `BOOL' declared as a `virtual' field
> > /usr/include/ptlib/object.h:1214: declaration of `int PObject::BOOL'
> > /usr/include/ptlib/object.h:1201: conflicts with previous declaration
>`int
> >
> > [ snip ]
> >
> > _______________________________________________
> > 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
>
>_______________________________________________
>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