[Asterisk-Dev] asterisk-oh323 question
Pablo Endres
epablo at comvoz.com
Mon May 10 07:47:20 MST 2004
Hi I've been trying to compile asterisk-oh323-0.5.10 and 0.6.1. But in
none of the cases has it been successfull.
For the firt I'm using openh323 and pwlib from RPMS I downloaded,
but for the later I built the RPM (1.13.5, 1.6.6) based on a spec that I
downloaded.
In both cases the libraries and the devel files are installed in
/usr
I'm working on a x86 FC1 installation with full updates via apt-get.
I get the following errors while compiling:
[asterisk at sip1 asterisk-oh323-0.6.1]$ make
for x in wrapper asterisk-driver; do make -C $x all || exit 1 ; done
make: *** No rule to make target `ccflags'. Stop.
make: *** No rule to make target `ccflags'. Stop.
make[1]: Entering directory
`/home/asterisk/install/asterisk-oh323-0.6.1/wrapper'
g++ -Wall -DWRAPTRACING -DWRAPTRACING_LEVEL=5 -DPWLIBVERSION=\"\"
-DOPENH323VERSION=\"\" -I/usr/include/openssl -I/usr/include/ptlib/unix
-I/usr/include -I/usr/include -I/usr/include/openh323
-I../asterisk-driver -x c++ -Os -g -c wrapper_misc.cxx -o wrapper_misc.o
In file included from /usr/include/ptlib.h:169,
from wrapper_misc.hxx:35,
from wrapper_misc.cxx:34:
/usr/include/ptlib/unix/ptlib/pdirect.h:78: error: syntax error before `
protected'
/usr/include/ptlib/unix/ptlib/pdirect.h:80: error: syntax error before
`*'
token
In file included from /usr/include/ptlib.h:181,
from wrapper_misc.hxx:35,
from wrapper_misc.cxx:34:
/usr/include/ptlib/unix/ptlib/config.h:53: error: syntax error before
`public'
/usr/include/ptlib/unix/ptlib/config.h:55: error: destructors must be
member
functions
/usr/include/ptlib/unix/ptlib/config.h:57: error: syntax error before `
protected'
In file included from /usr/include/ptlib.h:187,
from wrapper_misc.hxx:35,
from wrapper_misc.cxx:34:
/usr/include/ptlib/args.h:121: error: syntax error before `{' token
/usr/include/ptlib/args.h:147: error: syntax error before `const'
/usr/include/ptlib/args.h:156: error: syntax error before `const'
/usr/include/ptlib/args.h:165: error: syntax error before `int'
/usr/include/ptlib/args.h:175: error: syntax error before `int'
/usr/include/ptlib/args.h:190: error: `ostream' was not declared in this
scope
/usr/include/ptlib/args.h:191: error: `strm' was not declared in this
scope
/usr/include/ptlib/args.h:191: error: virtual outside class declaration
/usr/include/ptlib/args.h:191: error: variable or field `PrintOn'
declared void/usr/include/ptlib/args.h:197: error: `istream' was not
declared in this scope
/usr/include/ptlib/args.h:198: error: `strm' was not declared in this
scope
/usr/include/ptlib/args.h:198: error: virtual outside class declaration
/usr/include/ptlib/args.h:198: error: variable or field `ReadFrom'
declared
void
/usr/include/ptlib/args.h:206: error: syntax error before `&' token
/usr/include/ptlib/args.h:215: error: syntax error before `&' token
/usr/include/ptlib/args.h:246: error: virtual outside class declaration
/usr/include/ptlib/args.h:249: error: syntax error before `&' token
/usr/include/ptlib/args.h:254: error: virtual outside class declaration
/usr/include/ptlib/args.h:266: error: virtual outside class declaration
/usr/include/ptlib/args.h:266: error: non-member function `PINDEX
GetOptionCount(char)' cannot have `const' method qualifier
/usr/include/ptlib/args.h:270: error: virtual outside class declaration
/usr/include/ptlib/args.h:270: error: non-member function `PINDEX
GetOptionCount(const char*)' cannot have `const' method qualifier
/usr/include/ptlib/args.h:273: error: syntax error before `&' token
/usr/include/ptlib/args.h:274: error: virtual outside class declaration
/usr/include/ptlib/args.h:274: error: non-member function `PINDEX
GetOptionCount(...)' cannot have `const' method qualifier
/usr/include/ptlib/args.h:283: error: non-member function `BOOL
HasOption(char) ' cannot have `const' method qualifier
/usr/include/ptlib/args.h:287: error: non-member function `BOOL
HasOption(const
char*)' cannot have `const' method qualifier
/usr/include/ptlib/args.h:290: error: syntax error before `&' token
/usr/include/ptlib/args.h:291: error: non-member function `BOOL
HasOption(...)'
cannot have `const' method qualifier
/usr/include/ptlib/args.h:301: error: syntax error before `(' token
/usr/include/ptlib/args.h:306: error: syntax error before `(' token
/usr/include/ptlib/args.h:311: error: syntax error before `(' token
/usr/include/ptlib/args.h:323: error: non-member function `PINDEX
GetCount()'
cannot have `const' method qualifier
/usr/include/ptlib/args.h:330: error: syntax error before `=' token
/usr/include/ptlib/args.h:339: error: syntax error before `)' token
/usr/include/ptlib/args.h:347: error: syntax error before `operator'
/usr/include/ptlib/args.h:363: error: `PArgList& operator<<(int)' must
have an
argument of class or enumerated type
/usr/include/ptlib/args.h:363: error: `PArgList& operator<<(int)' must
take
exactly two arguments
/usr/include/ptlib/args.h:370: error: `PArgList& operator>>(int)' must
have an
argument of class or enumerated type
/usr/include/ptlib/args.h:370: error: `PArgList& operator>>(int)' must
take
exactly two arguments
/usr/include/ptlib/args.h:381: error: virtual outside class declaration
/usr/include/ptlib/args.h:381: error: non-member function `void
IllegalArgumentIndex(int)' cannot have `const' method qualifier
/usr/include/ptlib/args.h:388: error: syntax error before `&' token
/usr/include/ptlib/args.h:389: error: virtual outside class declaration
/usr/include/ptlib/args.h:389: error: non-member function `void
UnknownOption(...)' cannot have `const' method qualifier
/usr/include/ptlib/args.h:397: error: syntax error before `&' token
/usr/include/ptlib/args.h:398: error: virtual outside class declaration
/usr/include/ptlib/args.h:398: error: non-member function `void
MissingArgument(...)' cannot have `const' method qualifier
/usr/include/ptlib/args.h:401: error: syntax error before `protected'
/usr/include/ptlib/args.h:405: error: 'PString' is used as a type, but
is not
defined as a type.
/usr/include/ptlib/args.h:407: error: 'PStringArray' is used as a type,
but is
not defined as a type.
/usr/include/ptlib/args.h:409: error: 'PIntArray' is used as a type, but
is
not
defined as a type.
/usr/include/ptlib/args.h:411: error: 'PStringArray' is used as a type,
but is
not defined as a type.
/usr/include/ptlib/args.h:413: error: 'PIntArray' is used as a type, but
is
not
defined as a type.
/usr/include/ptlib/args.h:417: error: syntax error before `private'
/usr/include/ptlib/args.h:419: error: non-member function `PINDEX
GetOptionCountByIndex(int)' cannot have `const' method qualifier
/usr/include/ptlib/args.h:420: error: syntax error before `,' token
/usr/include/ptlib/args.h:428: error: base class `PArgList' has
incomplete type/usr/include/ptlib/args.h:454: error: syntax error before
`&' token
/usr/include/ptlib/args.h:465: error: `PString' declared as a `virtual'
field
/usr/include/ptlib/args.h:465: error: syntax error before `(' token
/usr/include/ptlib/args.h:470: error: `PString' declared as a `virtual'
field
/usr/include/ptlib/args.h:470: error: declaration of `int
PConfigArgs::PString'/usr/include/ptlib/args.h:465: error: conflicts
with previous declaration `int
PConfigArgs::PString'
/usr/include/ptlib/args.h:470: error: syntax error before `(' token
/usr/include/ptlib/args.h:475: error: `PString' declared as a `virtual'
field
/usr/include/ptlib/args.h:475: error: declaration of `int
PConfigArgs::PString'/usr/include/ptlib/args.h:465: error: conflicts
with previous declaration `int
PConfigArgs::PString'
/usr/include/ptlib/args.h:475: error: syntax error before `(' token
/usr/include/ptlib/args.h:490: error: syntax error before `&' token
/usr/include/ptlib/args.h:496: error: syntax error before `&' token
/usr/include/ptlib/args.h:501: error: declaration of `const int
PConfigArgs::PString'
/usr/include/ptlib/args.h:465: error: conflicts with previous
declaration `int
PConfigArgs::PString'
/usr/include/ptlib/args.h:501: error: syntax error before `&' token
/usr/include/ptlib/args.h:506: error: semicolon missing after
declaration of `
PConfigArgs'
/usr/include/ptlib/args.h: In member function `void
PConfigArgs::SetSectionName(...)':
/usr/include/ptlib/args.h:497: error: `sectionName' undeclared (first
use this
function)
/usr/include/ptlib/args.h:497: error: (Each undeclared identifier is
reported
only once for each function it appears in.)
/usr/include/ptlib/args.h:497: error: `section' undeclared (first use
this
function)
/usr/include/ptlib/args.h: At global scope:
/usr/include/ptlib/args.h:507: error: syntax error before `&' token
/usr/include/ptlib/args.h:508: error: ISO C++ forbids defining types
within
return type
/usr/include/ptlib/args.h:508: error: two or more data types in
declaration of
`SetNegationPrefix'
/usr/include/ptlib/args.h:508: error: semicolon missing after
declaration of `
class PConfigArgs'
/usr/include/ptlib/args.h: In function `int SetNegationPrefix(...)':
/usr/include/ptlib/args.h:508: error: `negationPrefix' undeclared (first
use
this function)
/usr/include/ptlib/args.h:508: error: `prefix' undeclared (first use
this
function)
/usr/include/ptlib/args.h: At global scope:
/usr/include/ptlib/args.h:513: error: syntax error before `&' token
/usr/include/ptlib/args.h:519: error: 'PConfig' is used as a type, but
is not
defined as a type.
/usr/include/ptlib/args.h:520: error: 'PString' is used as a type, but
is not
defined as a type.
/usr/include/ptlib/args.h:521: error: 'PString' is used as a type, but
is not
defined as a type.
/usr/include/ptlib/args.h:522: error: syntax error before `}' token
In file included from /usr/include/ptlib.h:193,
from wrapper_misc.hxx:35,
from wrapper_misc.cxx:34:
/usr/include/ptlib/unix/ptlib/thread.h:150: error: syntax error before
`&'
token
/usr/include/ptlib/unix/ptlib/thread.h:156: error: syntax error before
`&'
token
/usr/include/ptlib/unix/ptlib/thread.h:159: error: non-member function
`void
PXAbortBlock()' cannot have `const' method qualifier
/usr/include/ptlib/unix/ptlib/thread.h:163: error: syntax error before
`public'/usr/include/ptlib/unix/ptlib/thread.h:173: error: 'Priority' is
used as a
type, but is not defined as a type.
/usr/include/ptlib/unix/ptlib/thread.h:185: error: `friend' can only be
specified inside a class
/usr/include/ptlib/unix/ptlib/thread.h:186: error: friend declaration
not in
class definition
In file included from /usr/include/ptlib.h:199,
from wrapper_misc.hxx:35,
from wrapper_misc.cxx:34:
/usr/include/ptlib/unix/ptlib/pprocess.h:124: error: `PXFdDict' was not
declared in this scope
/usr/include/ptlib/unix/ptlib/pprocess.h:124: error: `POrdinalKey' was
not
declared in this scope
/usr/include/ptlib/unix/ptlib/pprocess.h:124: error: `PThread' was not
declared
in this scope
/usr/include/ptlib/unix/ptlib/pprocess.h:124: error: initializer list
being
treated as compound expression
/usr/include/ptlib/unix/ptlib/pprocess.h:129: error: syntax error before
`
public'
/usr/include/ptlib/unix/ptlib/pprocess.h:131: error: `friend' can only
be
specified inside a class
/usr/include/ptlib/unix/ptlib/pprocess.h:132: error: friend declaration
not in
class definition
/usr/include/ptlib/unix/ptlib/pprocess.h:133: error: `friend' can only
be
specified inside a class
/usr/include/ptlib/unix/ptlib/pprocess.h:135: error: destructors must be
member
functions
/usr/include/ptlib/unix/ptlib/pprocess.h:137: error: syntax error before
`)'
token
/usr/include/ptlib/unix/ptlib/pprocess.h:138: error: non-member function
`
char** PXGetArgv()' cannot have `const' method qualifier
/usr/include/ptlib/unix/ptlib/pprocess.h: In function `char**
PXGetArgv()':
/usr/include/ptlib/unix/ptlib/pprocess.h:138: error: `p_argv' undeclared
(first
use this function)
/usr/include/ptlib/unix/ptlib/pprocess.h: At global scope:
/usr/include/ptlib/unix/ptlib/pprocess.h:139: error: non-member function
`int
PXGetArgc()' cannot have `const' method qualifier
/usr/include/ptlib/unix/ptlib/pprocess.h: In function `int PXGetArgc()':
/usr/include/ptlib/unix/ptlib/pprocess.h:139: error: `p_argc' undeclared
(first
use this function)
/usr/include/ptlib/unix/ptlib/pprocess.h: At global scope:
/usr/include/ptlib/unix/ptlib/pprocess.h:140: error: non-member function
`
char** PXGetEnvp()' cannot have `const' method qualifier
/usr/include/ptlib/unix/ptlib/pprocess.h: In function `char**
PXGetEnvp()':
/usr/include/ptlib/unix/ptlib/pprocess.h:140: error: `p_envp' undeclared
(first
use this function)
/usr/include/ptlib/unix/ptlib/pprocess.h: At global scope:
/usr/include/ptlib/unix/ptlib/pprocess.h:142: error: friend declaration
not in
class definition
/usr/include/ptlib/unix/ptlib/pprocess.h:143: error: virtual outside
class
declaration
/usr/include/ptlib/unix/ptlib/pprocess.h:144: error: virtual outside
class
declaration
/usr/include/ptlib/unix/ptlib/pprocess.h:148: error: syntax error before
`&'
token
/usr/include/ptlib/unix/ptlib/pprocess.h:154: error: syntax error before
`&'
token
/usr/include/ptlib/unix/ptlib/pprocess.h:154: error: virtual outside
class
declaration
/usr/include/ptlib/unix/ptlib/pprocess.h:157: error: syntax error before
`
protected'
/usr/include/ptlib/unix/ptlib/pprocess.h:159: error: syntax error before
`*'
token
/usr/include/ptlib/unix/ptlib/pprocess.h:169: error: 'ThreadDict' is
used as a
type, but is not defined as a type.
/usr/include/ptlib/unix/ptlib/pprocess.h:170: error: 'PMutex' is used as
a
type, but is not defined as a type.
In file included from /usr/include/ptlib.h:205,
from wrapper_misc.hxx:35,
from wrapper_misc.cxx:34:
/usr/include/ptlib/unix/ptlib/semaphor.h:101: error: syntax error before
`
public'
/usr/include/ptlib/unix/ptlib/semaphor.h:103: error: non-member function
`
unsigned int GetMaxCount()' cannot have `const' method qualifier
/usr/include/ptlib/unix/ptlib/semaphor.h: In function `unsigned int
GetMaxCount()':
/usr/include/ptlib/unix/ptlib/semaphor.h:103: error: `maxCountVar'
undeclared
(first use this function)
/usr/include/ptlib/unix/ptlib/semaphor.h: At global scope:
/usr/include/ptlib/unix/ptlib/semaphor.h:105: error: syntax error before
`
protected'
/usr/include/ptlib/unix/ptlib/semaphor.h:107: error: `unsigned int
maxCountVar'
used prior to declaration
/usr/include/ptlib/unix/ptlib/semaphor.h:115: error: non-member function
`
PXClass GetSemClass()' cannot have `const' method qualifier
/usr/include/ptlib/unix/ptlib/semaphor.h:117: error: syntax error before
`
protected'
In file included from /usr/include/ptlib.h:211,
from wrapper_misc.hxx:35,
from wrapper_misc.cxx:34:
/usr/include/ptlib/unix/ptlib/mutex.h:111: error: virtual outside class
declaration
/usr/include/ptlib/unix/ptlib/mutex.h:112: error: syntax error before
`&' token/usr/include/ptlib/unix/ptlib/mutex.h:112: error: virtual
outside class
declaration
/usr/include/ptlib/unix/ptlib/mutex.h:113: error: virtual outside class
declaration
/usr/include/ptlib/unix/ptlib/mutex.h:114: error: virtual outside class
declaration
/usr/include/ptlib/unix/ptlib/mutex.h:114: error: non-member function
`BOOL
WillBlock()' cannot have `const' method qualifier
/usr/include/ptlib/unix/ptlib/mutex.h:116: error: syntax error before `
protected'
In file included from /usr/include/ptlib.h:217,
from wrapper_misc.hxx:35,
from wrapper_misc.cxx:34:
/usr/include/ptlib/unix/ptlib/syncpoint.h:60: error: syntax error before
`
public'
/usr/include/ptlib/unix/ptlib/syncpoint.h:62: error: syntax error before
`&'
token
/usr/include/ptlib/unix/ptlib/syncpoint.h:62: error: virtual outside
class
declaration
/usr/include/ptlib/unix/ptlib/syncpoint.h:63: error: virtual outside
class
declaration
/usr/include/ptlib/unix/ptlib/syncpoint.h:64: error: virtual outside
class
declaration
/usr/include/ptlib/unix/ptlib/syncpoint.h:64: error: non-member function
`BOOL
WillBlock()' cannot have `const' method qualifier
/usr/include/ptlib/unix/ptlib/syncpoint.h:65: error: syntax error before
`
private'
In file included from /usr/include/ptlib/syncthrd.h:83,
from /usr/include/ptlib.h:223,
from wrapper_misc.hxx:35,
from wrapper_misc.cxx:34:
/usr/include/ptlib/unix/ptlib/mutex.h:111: error: virtual outside class
declaration
/usr/include/ptlib/unix/ptlib/mutex.h:112: error: syntax error before
`&' token/usr/include/ptlib/unix/ptlib/mutex.h:112: error: virtual
outside class
declaration
/usr/include/ptlib/unix/ptlib/mutex.h:113: error: virtual outside class
declaration
/usr/include/ptlib/unix/ptlib/mutex.h:114: error: virtual outside class
declaration
/usr/include/ptlib/unix/ptlib/mutex.h:114: error: non-member function
`BOOL
WillBlock()' cannot have `const' method qualifier
/usr/include/ptlib/unix/ptlib/mutex.h:116: error: syntax error before `
protected'
/usr/include/ptlib/unix/ptlib/mutex.h:121: error: redefinition of
`PINDEX
lockCount'
/usr/include/ptlib/unix/ptlib/mutex.h:121: error: `PINDEX lockCount'
previously
declared here
In file included from /usr/include/ptlib/syncthrd.h:84,
from /usr/include/ptlib.h:223,
from wrapper_misc.hxx:35,
from wrapper_misc.cxx:34:
/usr/include/ptlib/unix/ptlib/syncpoint.h:60: error: syntax error before
`
public'
/usr/include/ptlib/unix/ptlib/syncpoint.h:62: error: syntax error before
`&'
token
/usr/include/ptlib/unix/ptlib/syncpoint.h:62: error: virtual outside
class
declaration
/usr/include/ptlib/unix/ptlib/syncpoint.h:63: error: virtual outside
class
declaration
/usr/include/ptlib/unix/ptlib/syncpoint.h:64: error: virtual outside
class
declaration
/usr/include/ptlib/unix/ptlib/syncpoint.h:64: error: non-member function
`BOOL
WillBlock()' cannot have `const' method qualifier
/usr/include/ptlib/unix/ptlib/syncpoint.h:65: error: syntax error before
`
private'
In file included from /usr/include/ptlib.h:223,
from wrapper_misc.hxx:35,
from wrapper_misc.cxx:34:
/usr/include/ptlib/syncthrd.h:108: error: syntax error before `{' token
/usr/include/ptlib/syncthrd.h:124: error: syntax error before `&' token
/usr/include/ptlib/syncthrd.h:133: error: syntax error before
`protected'
/usr/include/ptlib/syncthrd.h:144: error: syntax error before `{' token
/usr/include/ptlib/syncthrd.h:158: error: virtual outside class
declaration
/usr/include/ptlib/syncthrd.h:163: error: virtual outside class
declaration
/usr/include/ptlib/syncthrd.h:163: error: function `BOOL Condition()' is
initialized like a variable
/usr/include/ptlib/syncthrd.h:169: error: virtual outside class
declaration
/usr/include/ptlib/syncthrd.h:171: error: syntax error before
`protected'
/usr/include/ptlib/syncthrd.h:179: error: base class `PCondMutex' has
incomplete type
/usr/include/ptlib/syncthrd.h:214: error: `ostream' was not declared in
this
scope
/usr/include/ptlib/syncthrd.h:214: error: `strm' was not declared in
this scope/usr/include/ptlib/syncthrd.h:214: error: invalid data member
initialization
/usr/include/ptlib/syncthrd.h:214: error: (use `=' to initialize static
data
members)
/usr/include/ptlib/syncthrd.h:214: error: variable or field `PrintOn'
declared
void
/usr/include/ptlib/syncthrd.h:292: error: syntax error before `{' token
/usr/include/ptlib/syncthrd.h:343: error: syntax error before
`protected'
/usr/include/ptlib/syncthrd.h:345: error: 'PMutex' is used as a type,
but is
not defined as a type.
/usr/include/ptlib/syncthrd.h:347: error: 'PMutex' is used as a type,
but is
not defined as a type.
/usr/include/ptlib/syncthrd.h:349: error: 'PSemaphore' is used as a
type, but
is not defined as a type.
/usr/include/ptlib/syncthrd.h:350: error: 'PMutex' is used as a type,
but is
not defined as a type.
/usr/include/ptlib/syncthrd.h:354: error: syntax error before `{' token
/usr/include/ptlib/syncthrd.h:357: error: redefinition of `unsigned int
readerCount'
/usr/include/ptlib/syncthrd.h:346: error: `unsigned int readerCount'
previously
declared here
/usr/include/ptlib/syncthrd.h:358: error: redefinition of `unsigned int
writerCount'
/usr/include/ptlib/syncthrd.h:351: error: `unsigned int writerCount'
previously
declared here
/usr/include/ptlib/syncthrd.h:359: error: syntax error before `}' token
/usr/include/ptlib/syncthrd.h:360: error: `POrdinalKey' was not declared
in
this scope
/usr/include/ptlib/syncthrd.h:360: error: 'PDictionary' is used as a
type, but
is not defined as a type.
/usr/include/ptlib/syncthrd.h:361: error: 'PMutex' is used as a type,
but is
not defined as a type.
/usr/include/ptlib/syncthrd.h:363: error: non-member function `Nest*
GetNest()'
cannot have `const' method qualifier
/usr/include/ptlib/syncthrd.h:368: error: syntax error before `}' token
In file included from /usr/include/ptlib.h:229,
from wrapper_misc.hxx:35,
from wrapper_misc.cxx:34:
/usr/include/ptlib/unix/ptlib/dynalink.h:37: error: syntax error before
`
protected'
In file included from /usr/include/ptlib.h:235,
from wrapper_misc.hxx:35,
from wrapper_misc.cxx:34:
/usr/include/ptlib/unix/ptlib/channel.h:116: error: 'PString' is used as
a
type, but is not defined as a type.
/usr/include/ptlib/unix/ptlib/channel.h:117: error: 'PMutex' is used as
a
type,
but is not defined as a type.
/usr/include/ptlib/unix/ptlib/channel.h:118: error: 'PXBlockType' is
used as a
type, but is not defined as a type.
/usr/include/ptlib/unix/ptlib/channel.h:119: error: syntax error before
`*'
token
/usr/include/ptlib/unix/ptlib/channel.h:120: error: syntax error before
`*'
token
/usr/include/ptlib/unix/ptlib/channel.h:121: error: 'PMutex' is used as
a
type,
but is not defined as a type.
In file included from /usr/include/ptlib.h:241,
from wrapper_misc.hxx:35,
from wrapper_misc.cxx:34:
/usr/include/ptlib/indchan.h:76: error: syntax error before `{' token
/usr/include/ptlib/indchan.h:89: error: destructors must be member
functions
/usr/include/ptlib/indchan.h:102: error: syntax error before `&' token
/usr/include/ptlib/indchan.h:116: error: syntax error before `(' token
/usr/include/ptlib/indchan.h:124: error: virtual outside class
declaration
/usr/include/ptlib/indchan.h:133: error: virtual outside class
declaration
/usr/include/ptlib/indchan.h:133: error: non-member function `BOOL
IsOpen()'
cannot have `const' method qualifier
/usr/include/ptlib/indchan.h:153: error: virtual outside class
declaration
/usr/include/ptlib/indchan.h:172: error: virtual outside class
declaration
/usr/include/ptlib/indchan.h:183: error: `ShutdownValue' was not
declared in
this scope
/usr/include/ptlib/indchan.h:183: error: syntax error before `)' token
/usr/include/ptlib/indchan.h:184: error: virtual outside class
declaration
/usr/include/ptlib/indchan.h:195: error: syntax error before `*' token
/usr/include/ptlib/indchan.h:205: error: syntax error before `*' token
/usr/include/ptlib/indchan.h:212: error: syntax error before `(' token
/usr/include/ptlib/indchan.h:227: error: `PChannel' was not declared in
this
scope
/usr/include/ptlib/indchan.h:229: error: `channel' was not declared in
this
scope
/usr/include/ptlib/indchan.h:242: error: `PChannel' was not declared in
this
scope
/usr/include/ptlib/indchan.h:242: error: `channel' was not declared in
this
scope
/usr/include/ptlib/indchan.h:244: error: syntax error before `=' token
/usr/include/ptlib/indchan.h:245: error: `BOOL Open(...)' redeclared as
different kind of symbol
/usr/include/ptlib/indchan.h:229: error: previous declaration of `BOOL
Open'
/usr/include/ptlib/indchan.h:229: error: previous non-function
declaration `
BOOL Open'
/usr/include/ptlib/indchan.h:245: error: conflicts with function
declaration `
BOOL Open(...)'
/usr/include/ptlib/indchan.h:259: error: `PChannel' was not declared in
this
scope
/usr/include/ptlib/indchan.h:259: error: `readChannel' was not declared
in
this
scope
/usr/include/ptlib/indchan.h:261: error: `PChannel' was not declared in
this
scope
/usr/include/ptlib/indchan.h:261: error: `writeChannel' was not declared
in
this scope
/usr/include/ptlib/indchan.h:263: error: syntax error before `=' token
/usr/include/ptlib/indchan.h:265: error: `BOOL Open(...)' redeclared as
different kind of symbol
/usr/include/ptlib/indchan.h:229: error: previous declaration of `BOOL
Open'
/usr/include/ptlib/indchan.h:229: error: previous non-function
declaration `
BOOL Open'
/usr/include/ptlib/indchan.h:265: error: conflicts with function
declaration `
BOOL Open(...)'
/usr/include/ptlib/indchan.h:272: error: syntax error before `*' token
/usr/include/ptlib/indchan.h:280: error: `PChannel' was not declared in
this
scope
/usr/include/ptlib/indchan.h:280: error: `channel' was not declared in
this
scope
/usr/include/ptlib/indchan.h:282: error: syntax error before `=' token
/usr/include/ptlib/indchan.h:290: error: syntax error before `*' token
/usr/include/ptlib/indchan.h:298: error: `PChannel' was not declared in
this
scope
/usr/include/ptlib/indchan.h:298: error: `channel' was not declared in
this
scope
/usr/include/ptlib/indchan.h:300: error: syntax error before `=' token
/usr/include/ptlib/indchan.h:320: error: syntax error before `*' token
/usr/include/ptlib/indchan.h:326: error: syntax error before `*' token
/usr/include/ptlib/indchan.h:332: error: aggregate `PReadWriteMutex
channelPointerMutex' has incomplete type and cannot be defined
/usr/include/ptlib/indchan.h:333: error: syntax error before `}' token
In file included from /usr/include/ptlib.h:271,
from wrapper_misc.hxx:35,
from wrapper_misc.cxx:34:
/usr/include/ptlib/unix/ptlib/sound.h:106: error: syntax error before
`public'
/usr/include/ptlib/unix/ptlib/sound.h:111: error: syntax error before `
protected'
/usr/include/ptlib/unix/ptlib/sound.h:114: error: syntax error before
`;' token/usr/include/ptlib/unix/ptlib/sound.h:116: error: 'Directions'
is used as a
type, but is not defined as a type.
/usr/include/ptlib/unix/ptlib/sound.h:117: error: 'PString' is used as a
type,
but is not defined as a type.
In file included from /usr/include/ptlib.h:276,
from wrapper_misc.hxx:35,
from wrapper_misc.cxx:34:
/usr/include/ptlib/unix/ptlib/video.h:63: error: syntax error before
`public'
/usr/include/ptlib/unix/ptlib/video.h:66: error: syntax error before `('
token
/usr/include/ptlib/unix/ptlib/video.h:69: error: syntax error before `)'
token
In file included from wrapper_misc.cxx:34:
wrapper_misc.hxx:61: error: syntax error before `{' token
wrapper_misc.hxx:71: error: syntax error before `protected'
wrapper_misc.cxx:50: error: invalid use of undefined type `class
WrapMutex'
wrapper_misc.hxx:61: error: forward declaration of `class WrapMutex'
wrapper_misc.cxx: In constructor `WrapMutex::WrapMutex(char*)':
wrapper_misc.cxx:51: error: class `WrapMutex' does not have any field
named `
PMutex'
wrapper_misc.cxx:53: error: `name' undeclared (first use this function)
wrapper_misc.cxx:53: error: `PString' undeclared (first use this
function)
wrapper_misc.cxx:54: error: `cout' undeclared (first use this function)
wrapper_misc.cxx:54: error: `Class' undeclared (first use this function)
wrapper_misc.cxx:54: error: `endl' undeclared (first use this function)
wrapper_misc.cxx: At global scope:
wrapper_misc.cxx:58: error: invalid use of undefined type `class
WrapMutex'
wrapper_misc.hxx:61: error: forward declaration of `class WrapMutex'
wrapper_misc.cxx: In member function `BOOL WrapMutex::Wait(const char*,
int,
const char*, int)':
wrapper_misc.cxx:59: error: `PTimeInterval' undeclared (first use this
function)
wrapper_misc.cxx:59: error: syntax error before `;' token
wrapper_misc.cxx:62: error: `timeout' undeclared (first use this
function)
wrapper_misc.cxx:66: error: `Class' undeclared (first use this function)
wrapper_misc.cxx:68: error: `PMutex' undeclared (first use this
function)
wrapper_misc.cxx:68: error: syntax error before `::' token
wrapper_misc.cxx: At global scope:
wrapper_misc.cxx:72: error: syntax error before `else'
wrapper_misc.cxx:80: error: invalid use of undefined type `class
WrapMutex'
wrapper_misc.hxx:61: error: forward declaration of `class WrapMutex'
wrapper_misc.cxx: In member function `void WrapMutex::Signal(const
char*, int,
const char*)':
wrapper_misc.cxx:81: error: syntax error before `::' token
wrapper_misc.cxx:82: error: `Class' undeclared (first use this function)
/usr/include/ptlib/indchan.h: At global scope:
/usr/include/ptlib/indchan.h:332: error: storage size of
`channelPointerMutex'
isn't known
/usr/include/ptlib/unix/ptlib/thread.h:170: warning: `void
PX_ThreadEnd(void*)'
declared `static' but never defined
/usr/include/ptlib/unix/ptlib/pprocess.h:147: warning: `void
PXShowSystemWarning(int)' declared `static' but never defined
/usr/include/ptlib/unix/ptlib/pprocess.h:148: warning: `void
PXShowSystemWarning(...)' declared `static' but never defined
make[1]: *** [wrapper_misc.o] Error 1
make[1]: Leaving directory
`/home/asterisk/install/asterisk-oh323-0.6.1/wrapper'
make: *** [subdirs_all] Error 1
And this other one with 0.5.10:
[asterisk at sip1 asterisk-oh323-0.5.10]$ ./cmd.sh
for x in wrapper asterisk-driver; do make -C $x all || exit 1 ; done
make: *** No rule to make target `ccflags'. Stop.
make: *** No rule to make target `ccflags'. Stop.
make[1]: Entering directory
`/home/asterisk/install/asterisk-oh323-0.5.10/wrapper'
./check_ver /usr pwlib
./check_ver /usr openh323
g++ -Wall -DWRAPTRACING -DWRAPTRACING_LEVEL=5 -DPWLIBVERSION=\"1.5.0\"
-DOPENH323VERSION=\"1.12.0\" -DNO_H323_VIDEO -DNO_H323_AUDIO_CODECS
-DNO_SPEEX -DPASN_NOPRINTON -DPASN_LEANANDMEAN -I/usr/include/openssl
-I/usr/include/ptlib/unix -I/usr/include -I/usr/include
-I/usr/include/openh323 -I../asterisk-driver -x c++ -Os -g -c
wrapper_misc.cxx -o wrapper_misc.o
In file included from /usr/include/ptlib.h:216,
from wrapper_misc.hxx:35,
from wrapper_misc.cxx:34:
/usr/include/ptlib/syncthrd.h:356: error: 'PDictionary' is used as a
type, but
is not defined as a type.
make[1]: *** [wrapper_misc.o] Error 1
make[1]: Leaving directory
`/home/asterisk/install/asterisk-oh323-0.5.10/wrapper'
make: *** [subdirs_all] Error 1
Any Ideas on what could be wrong??
Thanks in advance
--
Pablo Endres <epablo at comvoz.com>
ComVoz Comunications
More information about the asterisk-dev
mailing list