List Info

Thread: Can not compile Msrp stack!




Can not compile Msrp stack!
user name
2006-05-17 07:29:44
Hello All,

I just downloaded the revision 84 of Msrp stack and tried to
compile it 
but I received the following error.
I suppose there is an incompability between msrp and
resiprocate stack.
what can be the problem ? Could anyone help me?

g++ -Wall -g -I.. -I../../../resiprocate/resip/stack -c
Headers.cxx -o 
Headers.o
In file included from Headers.cxx:8:
../MsrpRoar.h:39: error: parse error before `*' token
../MsrpRoar.h:152: error: ISO C++ forbids declaration of
`Transport' with no
   type
../MsrpRoar.h:152: error: parse error before `*' token
../MsrpRoar.h:154: error: semicolon missing after
declaration of `
   msrp::MsrpRoar'
../MsrpRoar.h: In member function `void
msrp::MsrpRoar::setFromTU()':
../MsrpRoar.h:68: error: `mIsExternal' undeclared (first
use this function)
../MsrpRoar.h:68: error: (Each undeclared identifier is
reported only 
once for
   each function it appears in.)
../MsrpRoar.h: In member function `const
std::list<std::pair<msrp:ata,
   msrp::HeaderFieldValueList*>,
std::allocator<std::pair<msrp:ata,
   msrp::HeaderFieldValueList*> > >&
msrp::MsrpRoar::getRawUnknownHeaders()
   const':
../MsrpRoar.h:137: error: `mUnknownHeaders' undeclared
(first use this
   function)
../MsrpRoar.h: At global scope:
../MsrpRoar.h:154: error: two or more data types in
declaration of 
`addBuffer'
../MsrpRoar.h: In function `UInt64
msrp::getCreatedTimeMicroSec()':
../MsrpRoar.h:160: error: `mCreatedTime' undeclared (first
use this 
function)
../MsrpRoar.h: At global scope:
../MsrpRoar.h:162: error: non-member function `const
msrp:ata&
   msrp::getTlsDomain()' cannot have `const' method
qualifier
../MsrpRoar.h: In function `const msrp:ata&
msrp::getTlsDomain()':
../MsrpRoar.h:162: error: `mTlsDomain' undeclared (first
use this function)
../MsrpRoar.h: At global scope:
../MsrpRoar.h:165: error: parse error before `protected'
../MsrpRoar.h:175: error: non-member function
`msrp::HeaderFieldValueList*
   msrp::ensureHeaders(msrp::Headers::Type, bool)' cannot
have `const' 
method
   qualifier
../MsrpRoar.h:178: error: `bool msrp::mIsExternal' used
prior to declaration
../MsrpRoar.h:181: error: non-member `mHeaders' cannot be
declared `mutable'
../MsrpRoar.h:184: error: syntax error before `;' token
../MsrpRoar.h:197: error: non-member `mStartLine' cannot be
declared 
`mutable'
../MsrpRoar.h:200: error: non-member `mContentsHfv' cannot
be declared
   `mutable'
../MsrpRoar.h:203: error: non-member `mContents' cannot be
declared 
`mutable'
../MsrpRoar.h:206: error: non-member `mRequest' cannot be
declared `mutable'
../MsrpRoar.h:207: error: non-member `mResponse' cannot be
declared 
`mutable'
../MsrpRoar.h:210: error: `UInt64 msrp::mCreatedTime' used
prior to 
declaration
../MsrpRoar.h:213: error: `msrp:ata
msrp::mTlsDomain' used prior to
   declaration
../MsrpRoar.h:215: error: `friend' can only be specified
inside a class
../MsrpRoar.h:218: error: parse error before `}' token
make: *** [Headers.o] Error 1

-- 
Mesut SOYTURK
=============================
ARGELA Technologies
http://www.argela.com.tr/
============================= 

_______________________________________________
msrp mailing list
msrplist.sipfoundry.org
htt
ps://list.sipfoundry.org/mailman/listinfo/msrp
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )