[Asterisk-Users] Asterisk-oh323 0.6.1 Compiling problem
Nicholas Ruddick
nicholasruddick at dopeflish.com
Sat May 22 19:12:34 MST 2004
ok done, but now i'm getting different errors -
/usr/src/pwlib/include/ptlib/args.h:389: virtual outside class declaration
/usr/src/pwlib/include/ptlib/args.h:389: non-member function
`UnknownOption (...)' cannot have `const'
method qualifier
/usr/src/pwlib/include/ptlib/args.h:397: parse error before `&'
/usr/src/pwlib/include/ptlib/args.h:398: virtual outside class declaration
/usr/src/pwlib/include/ptlib/args.h:398: non-member function
`MissingArgument (...)' cannot have
`const' method qualifier
/usr/src/pwlib/include/ptlib/args.h:401: parse error before `protected'
/usr/src/pwlib/include/ptlib/args.h:405: syntax error before `;'
/usr/src/pwlib/include/ptlib/args.h:407: syntax error before `;'
/usr/src/pwlib/include/ptlib/args.h:409: syntax error before `;'
/usr/src/pwlib/include/ptlib/args.h:411: syntax error before `;'
/usr/src/pwlib/include/ptlib/args.h:413: syntax error before `;'
/usr/src/pwlib/include/ptlib/args.h:417: parse error before `private'
/usr/src/pwlib/include/ptlib/args.h:419: non-member function
`GetOptionCountByIndex (int)' cannot have
`const' method qualifier
/usr/src/pwlib/include/ptlib/args.h:420: syntax error before `('
/usr/src/pwlib/include/ptlib/args.h:428: base class `PArgList' has
incomplete type
/usr/src/pwlib/include/ptlib/args.h:429: ISO C++ forbids declaration of
`PCLASSINFO' with no type
/usr/src/pwlib/include/ptlib/args.h:454: parse error before `&'
/usr/src/pwlib/include/ptlib/args.h:465: ISO C++ forbids declaration of
`PString' with no type
/usr/src/pwlib/include/ptlib/args.h:465: `PString' declared as a
`virtual' field
/usr/src/pwlib/include/ptlib/args.h:465: parse error before `('
/usr/src/pwlib/include/ptlib/args.h:470: ISO C++ forbids declaration of
`PString' with no type
/usr/src/pwlib/include/ptlib/args.h:470: `PString' declared as a
`virtual' field
/usr/src/pwlib/include/ptlib/args.h:470: declaration of `int
PConfigArgs::PString'
/usr/src/pwlib/include/ptlib/args.h:465: conflicts with previous
declaration `int PConfigArgs::PString'
/usr/src/pwlib/include/ptlib/args.h:470: parse error before `('
/usr/src/pwlib/include/ptlib/args.h:475: ISO C++ forbids declaration of
`PString' with no type
/usr/src/pwlib/include/ptlib/args.h:475: `PString' declared as a
`virtual' field
/usr/src/pwlib/include/ptlib/args.h:475: declaration of `int
PConfigArgs::PString'
/usr/src/pwlib/include/ptlib/args.h:465: conflicts with previous
declaration `int PConfigArgs::PString'
/usr/src/pwlib/include/ptlib/args.h:475: parse error before `('
/usr/src/pwlib/include/ptlib/args.h:490: parse error before `&'
/usr/src/pwlib/include/ptlib/args.h:496: parse error before `&'
/usr/src/pwlib/include/ptlib/args.h:501: ISO C++ forbids declaration of
`PString' with no type
/usr/src/pwlib/include/ptlib/args.h:501: declaration of `const int
PConfigArgs::PString'
/usr/src/pwlib/include/ptlib/args.h:465: conflicts with previous
declaration `int PConfigArgs::PString'
/usr/src/pwlib/include/ptlib/args.h:501: parse error before `&'
/usr/src/pwlib/include/ptlib/args.h:470: duplicate member
`PConfigArgs::PString'
/usr/src/pwlib/include/ptlib/args.h:475: duplicate member
`PConfigArgs::PString'
/usr/src/pwlib/include/ptlib/args.h:501: duplicate member
`PConfigArgs::PString'
/usr/src/pwlib/include/ptlib/args.h:506: semicolon missing after
declaration of `PConfigArgs'
/usr/src/pwlib/include/ptlib/args.h: In method `void
PConfigArgs::SetSectionName (...)':
/usr/src/pwlib/include/ptlib/args.h:497: `sectionName' undeclared (first
use this function)
/usr/src/pwlib/include/ptlib/args.h:497: (Each undeclared identifier is
reported only once for each
function it appears in.)
/usr/src/pwlib/include/ptlib/args.h:497: `section' undeclared (first use
this function)
/usr/src/pwlib/include/ptlib/args.h: At top level:
/usr/src/pwlib/include/ptlib/args.h:507: parse error before `&'
/usr/src/pwlib/include/ptlib/args.h:508: ISO C++ forbids defining types
within return type
/usr/src/pwlib/include/ptlib/args.h:508: two or more data types in
declaration of `SetNegationPrefix'
/usr/src/pwlib/include/ptlib/args.h:508: semicolon missing after
declaration of `class PConfigArgs'
/usr/src/pwlib/include/ptlib/args.h: In function `int SetNegationPrefix
(...)':
/usr/src/pwlib/include/ptlib/args.h:508: `negationPrefix' undeclared
(first use this function)
/usr/src/pwlib/include/ptlib/args.h:508: `prefix' undeclared (first use
this function)
/usr/src/pwlib/include/ptlib/args.h:508: warning: no return statement in
function returning non-void
/usr/src/pwlib/include/ptlib/args.h: At top level:
/usr/src/pwlib/include/ptlib/args.h:513: syntax error before `&'
/usr/src/pwlib/include/ptlib/args.h:519: syntax error before `;'
/usr/src/pwlib/include/ptlib/args.h:520: syntax error before `;'
/usr/src/pwlib/include/ptlib/args.h:521: syntax error before `;'
In file included from /usr/src/pwlib/include/ptlib.h:193,
from asteriskaudio.cxx:31:
/usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:150: parse error before `&'
/usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:156: parse error before `&'
/usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:159: non-member
function `PXAbortBlock ()' cannot have
`const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:163: parse error before
`public'
/usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:173: syntax error
before `;'
/usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:185: `friend' can only
be specified inside a class
/usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:186: friend declaration
not in class definition
In file included from /usr/src/pwlib/include/ptlib.h:199,
from asteriskaudio.cxx:31:
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:124: `PXFdDict' was
not declared in this scope
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:124: `POrdinalKey'
was not declared in this scope
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:124: `PThread' was
not declared in this scope
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:124: ISO C++ forbids
declaration of `PDICTIONARY'
with no type
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:124: initializer list
being treated as compound
expression
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:129: parse error
before `public'
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:131: `friend' can
only be specified inside a class
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:132: friend
declaration not in class definition
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:133: `friend' can
only be specified inside a class
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:135: destructors must
be member functions
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:137: syntax error
before `('
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:138: non-member
function `PXGetArgv ()' cannot have
`const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h: In function `char
**PXGetArgv ()':
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:138: `p_argv'
undeclared (first use this function)
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h: At top level:
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:139: non-member
function `PXGetArgc ()' cannot have
`const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h: In function `int
PXGetArgc ()':
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:139: `p_argc'
undeclared (first use this function)
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h: At top level:
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:140: non-member
function `PXGetEnvp ()' cannot have
`const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h: In function `char
**PXGetEnvp ()':
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:140: `p_envp'
undeclared (first use this function)
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h: At top level:
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:142: friend
declaration not in class definition
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:143: virtual outside
class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:144: virtual outside
class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:148: parse error
before `&'
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:154: parse error
before `&'
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:154: virtual outside
class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:157: parse error
before `protected'
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:159: syntax error
before `*'
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:169: syntax error
before `;'
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:170: syntax error
before `;'
In file included from /usr/src/pwlib/include/ptlib.h:205,
from asteriskaudio.cxx:31:
/usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h:101: parse error
before `public'
/usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h:103: non-member
function `GetMaxCount ()' cannot
have `const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h: In function
`unsigned int GetMaxCount ()':
/usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h:103: `maxCountVar'
undeclared (first use this
function)
/usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h: At top level:
/usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h:105: parse error
before `protected'
/usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h:107: `unsigned int
maxCountVar' used prior to
declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h:115: non-member
function `GetSemClass ()' cannot
have `const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h:117: parse error
before `protected'
In file included from /usr/src/pwlib/include/ptlib.h:211,
from asteriskaudio.cxx:31:
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:111: virtual outside
class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:112: parse error before `&'
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:112: virtual outside
class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:113: virtual outside
class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:114: virtual outside
class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:114: non-member function
`WillBlock ()' cannot have
`const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:116: parse error before
`protected'
In file included from /usr/src/pwlib/include/ptlib.h:217,
from asteriskaudio.cxx:31:
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:60: parse error
before `public'
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:62: parse error
before `&'
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:62: virtual outside
class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:63: virtual outside
class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:64: virtual outside
class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:64: non-member
function `WillBlock ()' cannot have
`const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:65: parse error
before `private'
In file included from /usr/src/pwlib/include/ptlib/syncthrd.h:83,
from /usr/src/pwlib/include/ptlib.h:223,
from asteriskaudio.cxx:31:
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:111: virtual outside
class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:112: parse error before `&'
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:112: virtual outside
class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:113: virtual outside
class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:114: virtual outside
class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:114: non-member function
`WillBlock ()' cannot have
`const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:116: parse error before
`protected'
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:121: redefinition of
`PINDEX lockCount'
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:121: `PINDEX lockCount'
previously declared here
In file included from /usr/src/pwlib/include/ptlib/syncthrd.h:84,
from /usr/src/pwlib/include/ptlib.h:223,
from asteriskaudio.cxx:31:
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:60: parse error
before `public'
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:62: parse error
before `&'
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:62: virtual outside
class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:63: virtual outside
class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:64: virtual outside
class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:64: non-member
function `WillBlock ()' cannot have
`const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:65: parse error
before `private'
In file included from /usr/src/pwlib/include/ptlib.h:223,
from asteriskaudio.cxx:31:
/usr/src/pwlib/include/ptlib/syncthrd.h:108: parse error before `{'
/usr/src/pwlib/include/ptlib/syncthrd.h:124: parse error before `&'
/usr/src/pwlib/include/ptlib/syncthrd.h:133: parse error before `protected'
/usr/src/pwlib/include/ptlib/syncthrd.h:144: parse error before `{'
/usr/src/pwlib/include/ptlib/syncthrd.h:158: virtual outside class
declaration
/usr/src/pwlib/include/ptlib/syncthrd.h:163: virtual outside class
declaration
/usr/src/pwlib/include/ptlib/syncthrd.h:163: function `BOOL Condition
()' is initialized like a
variable
/usr/src/pwlib/include/ptlib/syncthrd.h:169: virtual outside class
declaration
/usr/src/pwlib/include/ptlib/syncthrd.h:171: parse error before `protected'
/usr/src/pwlib/include/ptlib/syncthrd.h:179: base class `PCondMutex' has
incomplete type
/usr/src/pwlib/include/ptlib/syncthrd.h:180: ISO C++ forbids declaration
of `PCLASSINFO' with no type
/usr/src/pwlib/include/ptlib/syncthrd.h:214: `ostream' was not declared
in this scope
/usr/src/pwlib/include/ptlib/syncthrd.h:214: `strm' was not declared in
this scope
/usr/src/pwlib/include/ptlib/syncthrd.h:214: invalid data member
initiailization
/usr/src/pwlib/include/ptlib/syncthrd.h:214: use `=' to initialize
static data members
/usr/src/pwlib/include/ptlib/syncthrd.h:214: variable or field `PrintOn'
declared void
/usr/src/pwlib/include/ptlib/syncthrd.h:292: parse error before `{'
/usr/src/pwlib/include/ptlib/syncthrd.h:343: parse error before `protected'
/usr/src/pwlib/include/ptlib/syncthrd.h:345: syntax error before `;'
/usr/src/pwlib/include/ptlib/syncthrd.h:347: syntax error before `;'
/usr/src/pwlib/include/ptlib/syncthrd.h:349: syntax error before `;'
/usr/src/pwlib/include/ptlib/syncthrd.h:350: syntax error before `;'
/usr/src/pwlib/include/ptlib/syncthrd.h:354: parse error before `{'
/usr/src/pwlib/include/ptlib/syncthrd.h:357: redefinition of `unsigned
int readerCount'
/usr/src/pwlib/include/ptlib/syncthrd.h:346: `unsigned int readerCount'
previously declared here
/usr/src/pwlib/include/ptlib/syncthrd.h:358: redefinition of `unsigned
int writerCount'
/usr/src/pwlib/include/ptlib/syncthrd.h:351: `unsigned int writerCount'
previously declared here
/usr/src/pwlib/include/ptlib/syncthrd.h:359: parse error before `}'
/usr/src/pwlib/include/ptlib/syncthrd.h:360: `POrdinalKey' was not
declared in this scope
/usr/src/pwlib/include/ptlib/syncthrd.h:360: syntax error before `;'
/usr/src/pwlib/include/ptlib/syncthrd.h:361: syntax error before `;'
/usr/src/pwlib/include/ptlib/syncthrd.h:363: non-member function
`GetNest ()' cannot have `const'
method qualifier
/usr/src/pwlib/include/ptlib/syncthrd.h:368: parse error before `}'
In file included from /usr/src/pwlib/include/ptlib.h:229,
from asteriskaudio.cxx:31:
/usr/src/pwlib/include/ptlib/unix/ptlib/dynalink.h:37: parse error
before `protected'
In file included from /usr/src/pwlib/include/ptlib.h:235,
from asteriskaudio.cxx:31:
/usr/src/pwlib/include/ptlib/unix/ptlib/channel.h:116: syntax error
before `;'
/usr/src/pwlib/include/ptlib/unix/ptlib/channel.h:117: syntax error
before `;'
/usr/src/pwlib/include/ptlib/unix/ptlib/channel.h:118: syntax error
before `;'
/usr/src/pwlib/include/ptlib/unix/ptlib/channel.h:119: syntax error
before `*'
/usr/src/pwlib/include/ptlib/unix/ptlib/channel.h:120: syntax error
before `*'
/usr/src/pwlib/include/ptlib/unix/ptlib/channel.h:121: syntax error
before `;'
In file included from /usr/src/pwlib/include/ptlib.h:241,
from asteriskaudio.cxx:31:
/usr/src/pwlib/include/ptlib/indchan.h:76: parse error before `{'
/usr/src/pwlib/include/ptlib/indchan.h:89: destructors must be member
functions
/usr/src/pwlib/include/ptlib/indchan.h:101: syntax error before `('
/usr/src/pwlib/include/ptlib/indchan.h:116: syntax error before `('
/usr/src/pwlib/include/ptlib/indchan.h:124: virtual outside class
declaration
/usr/src/pwlib/include/ptlib/indchan.h:133: virtual outside class
declaration
/usr/src/pwlib/include/ptlib/indchan.h:133: non-member function `IsOpen
()' cannot have `const' method
qualifier
/usr/src/pwlib/include/ptlib/indchan.h:153: virtual outside class
declaration
/usr/src/pwlib/include/ptlib/indchan.h:172: virtual outside class
declaration
/usr/src/pwlib/include/ptlib/indchan.h:184: `ShutdownValue' was not
declared in this scope
/usr/src/pwlib/include/ptlib/indchan.h:184: parse error before `)'
/usr/src/pwlib/include/ptlib/indchan.h:184: virtual outside class
declaration
/usr/src/pwlib/include/ptlib/indchan.h:195: syntax error before `*'
/usr/src/pwlib/include/ptlib/indchan.h:205: syntax error before `*'
/usr/src/pwlib/include/ptlib/indchan.h:212: syntax error before `('
/usr/src/pwlib/include/ptlib/indchan.h:227: `PChannel' was not declared
in this scope
/usr/src/pwlib/include/ptlib/indchan.h:229: `channel' was not declared
in this scope
/usr/src/pwlib/include/ptlib/indchan.h:242: `PChannel' was not declared
in this scope
/usr/src/pwlib/include/ptlib/indchan.h:242: `channel' was not declared
in this scope
/usr/src/pwlib/include/ptlib/indchan.h:244: parse error before `='
/usr/src/pwlib/include/ptlib/indchan.h:245: `BOOL Open (...)' redeclared
as different kind of symbol
/usr/src/pwlib/include/ptlib/indchan.h:229: previous declaration of
`BOOL Open'
/usr/src/pwlib/include/ptlib/indchan.h:229: previous non-function
declaration `BOOL Open'
/usr/src/pwlib/include/ptlib/indchan.h:245: conflicts with function
declaration `BOOL Open (...)'
/usr/src/pwlib/include/ptlib/indchan.h:259: `PChannel' was not declared
in this scope
/usr/src/pwlib/include/ptlib/indchan.h:259: `readChannel' was not
declared in this scope
/usr/src/pwlib/include/ptlib/indchan.h:261: `PChannel' was not declared
in this scope
/usr/src/pwlib/include/ptlib/indchan.h:261: `writeChannel' was not
declared in this scope
/usr/src/pwlib/include/ptlib/indchan.h:263: parse error before `='
/usr/src/pwlib/include/ptlib/indchan.h:265: `BOOL Open (...)' redeclared
as different kind of symbol
/usr/src/pwlib/include/ptlib/indchan.h:229: previous declaration of
`BOOL Open'
/usr/src/pwlib/include/ptlib/indchan.h:229: previous non-function
declaration `BOOL Open'
/usr/src/pwlib/include/ptlib/indchan.h:265: conflicts with function
declaration `BOOL Open (...)'
/usr/src/pwlib/include/ptlib/indchan.h:265: confused by earlier errors,
bailing out
make[1]: *** [asteriskaudio.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-oh323-0.6.1/wrapper'
make: *** [subdirs_all] Error 1
Whats this all about, it's still complaining about some audio thing i
just can't work out. I'm using redhat 7.3 btw, i have both the openh323,
pwlib standard, devel and src packages install. Still no joy.
Thanks,
Nicholas Ruddick
Pablo Endres wrote:
>Check your README file again.
>
>In order to compile 0.6.1 you need newer versions of pwlib and
>openh323 (1.6.6 and 1.13.5)
>
>Then it should work just fine
>
>Pablo
>
>
>
More information about the asterisk-users
mailing list