[Asterisk-Users] failed compile

Jer jer at multihaven.org
Mon May 17 20:27:35 MST 2004


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 ] 




More information about the asterisk-users mailing list