[Asterisk-Users] Error on compiling oh323 0.6.5 on cvs stable
asterisk
Robert Rozman
rozman at fri.uni-lj.si
Tue Feb 1 04:51:57 MST 2005
Hi,
I have downloaded files and also local versions of pwlib oh323 (both Janus
patched). Both libraries compile fine, but I get following errors on
asterisk-oh323-0.6.5. Readme is a bit confusing since it doesn't mention
which local libraries should be downloaded from inaccess to get everything
working OK. I've also tried with/without patching oh323 with supplied
patch.
Any hint, advice ?
Thanks in advance,
regards,
Rob.
centrala:~/Asterisk/h323/asterisk-oh323-0.6.5 # make
for x in wrapper asterisk-driver; do make -C $x build || exit 1 ; done
make: *** No rule to make target `ccflags'. Stop.
make: *** No rule to make target `ccflags'. Stop.
make[1]: Entering directory
`/root/Asterisk/h323/asterisk-oh323-0.6.5/wrapper'
./check_ver /root/Asterisk/h323/pwlib pwlib
./check_ver /root/Asterisk/h323/openh323 openh323
g++ -Wall -x
c++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5 -DPWLIBVERSION=\"1.6.6\" -DOPENH
323VERSION=\"1.13.5\" -I/root/Asterisk/h323/pwlib/include/ptlib/unix -I/roo
t/Asterisk/h323/pwlib/include -I/root/Asterisk/h323/openh323/include -I/root
/Asterisk/h323/openh323/include/openh323 -I../asterisk-driver -c
wrapper_misc.cxx -o wrapper_misc.o
In file included from /root/Asterisk/h323/pwlib/include/ptlib.h:169,
from wrapper_misc.hxx:35,
from wrapper_misc.cxx:34:
/root/Asterisk/h323/pwlib/include/ptlib/unix/ptlib/pdirect.h:78: error:
syntax
error before `protected'
/root/Asterisk/h323/pwlib/include/ptlib/unix/ptlib/pdirect.h:80: error:
syntax
error before `*' token
In file included from /root/Asterisk/h323/pwlib/include/ptlib.h:181,
from wrapper_misc.hxx:35,
from wrapper_misc.cxx:34:
/root/Asterisk/h323/pwlib/include/ptlib/unix/ptlib/config.h:53: error:
syntax
error before `public'
/root/Asterisk/h323/pwlib/include/ptlib/unix/ptlib/config.h:55: error:
destructors
must be member functions
/root/Asterisk/h323/pwlib/include/ptlib/unix/ptlib/config.h:57: error:
syntax
error before `protected'
In file included from /root/Asterisk/h323/pwlib/include/ptlib.h:187,
from wrapper_misc.hxx:35,
from wrapper_misc.cxx:34:
/root/Asterisk/h323/pwlib/include/ptlib/args.h:121: error: syntax error
before
`{' token
/root/Asterisk/h323/pwlib/include/ptlib/args.h:147: error: syntax error
before
`const'
/root/Asterisk/h323/pwlib/include/ptlib/args.h:156: error: syntax error
before
`const'
/root/Asterisk/h323/pwlib/include/ptlib/args.h:165: error: syntax error
before
`int'
/root/Asterisk/h323/pwlib/include/ptlib/args.h:175: error: syntax error
before
`int'
/root/Asterisk/h323/pwlib/include/ptlib/args.h:190: error: `ostream' was not
declared in this scope
/root/Asterisk/h323/pwlib/include/ptlib/args.h:191: error: `strm' was not
declared in this scope
/root/Asterisk/h323/pwlib/include/ptlib/args.h:191: error: virtual outside
class declaration
/root/Asterisk/h323/pwlib/include/ptlib/args.h:191: error: variable or field
`
PrintOn' declared void
/root/Asterisk/h323/pwlib/include/ptlib/args.h:197: error: `istream' was not
declared in this scope
/root/Asterisk/h323/pwlib/include/ptlib/args.h:198: error: `strm' was not
declared in this scope
/root/Asterisk/h323/pwlib/include/ptlib/args.h:198: error: virtual outside
class declaration
/root/Asterisk/h323/pwlib/include/ptlib/args.h:198: error: variable or field
`
ReadFrom' declared void
/root/Asterisk/h323/pwlib/include/ptlib/args.h:206: error: syntax error
before
`&' token
/root/Asterisk/h323/pwlib/include/ptlib/args.h:215: error: syntax error
before
`&' token
/root/Asterisk/h323/pwlib/include/ptlib/args.h:246: error: virtual outside
class declaration
/root/Asterisk/h323/pwlib/include/ptlib/args.h:249: error: syntax error
before
`&' token
/root/Asterisk/h323/pwlib/include/ptlib/args.h:254: error: virtual outside
class declaration
/root/Asterisk/h323/pwlib/include/ptlib/args.h:266: error: virtual outside
class declaration
/root/Asterisk/h323/pwlib/include/ptlib/args.h:266: error: non-member
function
`PINDEX GetOptionCount(char)' cannot have `const' method qualifier
/root/Asterisk/h323/pwlib/include/ptlib/args.h:270: error: virtual outside
class declaration
/root/Asterisk/h323/pwlib/include/ptlib/args.h:270: error: non-member
function
`PINDEX GetOptionCount(const char*)' cannot have `const' method qualifier
/root/Asterisk/h323/pwlib/include/ptlib/args.h:273: error: syntax error
before
`&' token
/root/Asterisk/h323/pwlib/include/ptlib/args.h:274: error: virtual outside
class declaration
/root/Asterisk/h323/pwlib/include/ptlib/args.h:274: error: non-member
function
`PINDEX GetOptionCount(...)' cannot have `const' method qualifier
/root/Asterisk/h323/pwlib/include/ptlib/args.h:283: error: non-member
function
`BOOL HasOption(char)' cannot have `const' method qualifier
/root/Asterisk/h323/pwlib/include/ptlib/args.h:287: error: non-member
function
`BOOL HasOption(const char*)' cannot have `const' method qualifier
/root/Asterisk/h323/pwlib/include/ptlib/args.h:290: error: syntax error
before
`&' token
/root/Asterisk/h323/pwlib/include/ptlib/args.h:291: error: non-member
function
`BOOL HasOption(...)' cannot have `const' method qualifier
/root/Asterisk/h323/pwlib/include/ptlib/args.h:301: error: syntax error
before
`(' token
/root/Asterisk/h323/pwlib/include/ptlib/args.h:306: error: syntax error
before
`(' token
/root/Asterisk/h323/pwlib/include/ptlib/args.h:311: error: syntax error
before
`(' token
/root/Asterisk/h323/pwlib/include/ptlib/args.h:323: error: non-member
function
`PINDEX GetCount()' cannot have `const' method qualifier
/root/Asterisk/h323/pwlib/include/ptlib/args.h:330: error: syntax error
before
`=' token
/root/Asterisk/h323/pwlib/include/ptlib/args.h:339: error: syntax error
before
`)' token
/root/Asterisk/h323/pwlib/include/ptlib/args.h:347: error: syntax error
before
`operator'
/root/Asterisk/h323/pwlib/include/ptlib/args.h:363: error: `PArgList&
operator<<(int)' must have an argument of class or enumerated type
/root/Asterisk/h323/pwlib/include/ptlib/args.h:363: error: `PArgList&
operator<<(int)' must take exactly two arguments
/root/Asterisk/h323/pwlib/include/ptlib/args.h:370: error: `PArgList&
operator>>(int)' must have an argument of class or enumerated type
/root/Asterisk/h323/pwlib/include/ptlib/args.h:370: error: `PArgList&
operator>>(int)' must take exactly two arguments
/root/Asterisk/h323/pwlib/include/ptlib/args.h:381: error: virtual outside
class declaration
/root/Asterisk/h323/pwlib/include/ptlib/args.h:381: error: non-member
function
`void IllegalArgumentIndex(int)' cannot have `const' method qualifier
/root/Asterisk/h323/pwlib/include/ptlib/args.h:388: error: syntax error
before
`&' token
/root/Asterisk/h323/pwlib/include/ptlib/args.h:389: error: virtual outside
class declaration
/root/Asterisk/h323/pwlib/include/ptlib/args.h:389: error: non-member
function
`void UnknownOption(...)' cannot have `const' method qualifier
/root/Asterisk/h323/pwlib/include/ptlib/args.h:397: error: syntax error
before
`&' token
/root/Asterisk/h323/pwlib/include/ptlib/args.h:398: error: virtual outside
class declaration
/root/Asterisk/h323/pwlib/include/ptlib/args.h:398: error: non-member
function
`void MissingArgument(...)' cannot have `const' method qualifier
/root/Asterisk/h323/pwlib/include/ptlib/args.h:401: error: syntax error
before
`protected'
/root/Asterisk/h323/pwlib/include/ptlib/args.h:405: error: 'PString' is used
as
a type, but is not defined as a type.
/root/Asterisk/h323/pwlib/include/ptlib/args.h:407: error: 'PStringArray' is
used as a type, but is not defined as a type.
/root/Asterisk/h323/pwlib/include/ptlib/args.h:409: error: 'PIntArray' is
used
as a type, but is not defined as a type.
/root/Asterisk/h323/pwlib/include/ptlib/args.h:411: error: 'PStringArray' is
used as a type, but is not defined as a type.
/root/Asterisk/h323/pwlib/include/ptlib/args.h:413: error: 'PIntArray' is
used
as a type, but is not defined as a type.
/root/Asterisk/h323/pwlib/include/ptlib/args.h:417: error: syntax error
before
`private'
/root/Asterisk/h323/pwlib/include/ptlib/args.h:419: error: non-member
function
`PINDEX GetOptionCountByIndex(int)' cannot have `const' method qualifier
/root/Asterisk/h323/pwlib/include/ptlib/args.h:420: error: syntax error
before
`,' token
/root/Asterisk/h323/pwlib/include/ptlib/args.h:428: error: base class
`PArgList
' has incomplete type
/root/Asterisk/h323/pwlib/include/ptlib/args.h:429: error: ISO C++ forbids
declaration of `PCLASSINFO' with no type
/root/Asterisk/h323/pwlib/include/ptlib/args.h:454: error: syntax error
before
`&' token
/root/Asterisk/h323/pwlib/include/ptlib/args.h:465: error: ISO C++ forbids
declaration of `PString' with no type
/root/Asterisk/h323/pwlib/include/ptlib/args.h:465: error: `PString'
declared
as a `virtual' field
/root/Asterisk/h323/pwlib/include/ptlib/args.h:465: error: syntax error
before
`(' token
/root/Asterisk/h323/pwlib/include/ptlib/args.h:470: error: ISO C++ forbids
declaration of `PString' with no type
/root/Asterisk/h323/pwlib/include/ptlib/args.h:470: error: `PString'
declared
as a `virtual' field
/root/Asterisk/h323/pwlib/include/ptlib/args.h:470: error: declaration of
`int
PConfigArgs::PString'
/root/Asterisk/h323/pwlib/include/ptlib/args.h:465: error: conflicts with
previous declaration `int PConfigArgs::PString'
/root/Asterisk/h323/pwlib/include/ptlib/args.h:470: error: syntax error
before
`(' token
/root/Asterisk/h323/pwlib/include/ptlib/args.h:475: error: ISO C++ forbids
declaration of `PString' with no type
More information about the asterisk-users
mailing list