[Asterisk-Users] chan h323 Compile problem

Mike Bentley asterisk at officenetsystems.co.uk
Fri Jan 23 02:48:35 MST 2004


Hi can anyone help me with this

g++ -g -c -o ast_h323.o -march=i686 -DPBYTE_ORDER=PLITTLE_ENDIAN 
-DNDEBUG -DDO_CRASH -DDEBUG_THREADS -pipe -Wall -fPIC 
-Wmissing-prototypes -Wmissing-declarations  -DP_LINUX  -D_REENTRANT 
-D_GNU_SOURCE -DP_HAS_SEMAPHORES -DP_SSL -DP_PTHREADS -DPHAS_TEMPLATES 
-DPTRACING -DP_USE_PRAGMA -I../../include 
-I/usr/src/pwlib/include/ptlib/unix -I/usr/src/pwlib/include  
-I/usr/src/openh323/include -Wno-missing-prototypes 
-Wno-missing-declarations ast_h323.cpp
In file included from /usr/src/pwlib/include/ptlib.h:169,
                 from ast_h323.h:30,
                 from ast_h323.cpp:29:
/usr/src/pwlib/include/ptlib/unix/ptlib/pdirect.h:78: parse error before `
   protected'
/usr/src/pwlib/include/ptlib/unix/ptlib/pdirect.h:80: syntax error 
before `*'
   token
In file included from /usr/src/pwlib/include/ptlib.h:181,
                 from ast_h323.h:30,
                 from ast_h323.cpp:29:
/usr/src/pwlib/include/ptlib/unix/ptlib/config.h:53: parse error before 
`public
   '
/usr/src/pwlib/include/ptlib/unix/ptlib/config.h:55: destructors must be 
member
   functions
/usr/src/pwlib/include/ptlib/unix/ptlib/config.h:57: parse error before `
   protected'
In file included from /usr/src/pwlib/include/ptlib.h:187,
                 from ast_h323.h:30,
                 from ast_h323.cpp:29:
/usr/src/pwlib/include/ptlib/args.h:121: parse error before `{' token
/usr/src/pwlib/include/ptlib/args.h:147: parse error before `const'
/usr/src/pwlib/include/ptlib/args.h:156: parse error before `const'
/usr/src/pwlib/include/ptlib/args.h:165: parse error before `int'
/usr/src/pwlib/include/ptlib/args.h:175: parse error before `int'
/usr/src/pwlib/include/ptlib/args.h:190: `ostream' was not declared in this
   scope
/usr/src/pwlib/include/ptlib/args.h:191: `strm' was not declared in this 
scope
/usr/src/pwlib/include/ptlib/args.h:191: virtual outside class declaration
/usr/src/pwlib/include/ptlib/args.h:191: variable or field `PrintOn' 
declared
   void
/usr/src/pwlib/include/ptlib/args.h:197: `istream' was not declared in this
   scope
/usr/src/pwlib/include/ptlib/args.h:198: `strm' was not declared in this 
scope
/usr/src/pwlib/include/ptlib/args.h:198: virtual outside class declaration
/usr/src/pwlib/include/ptlib/args.h:198: variable or field `ReadFrom' 
declared
   void
/usr/src/pwlib/include/ptlib/args.h:206: parse error before `&' token
/usr/src/pwlib/include/ptlib/args.h:215: parse error before `&' token
/usr/src/pwlib/include/ptlib/args.h:246: virtual outside class declaration


open h323 and pwlib from cvs complied fine.





More information about the asterisk-users mailing list