RE: [reSIProcate] QNX build
Hi Jason,
i took the latest main from sebversion and again got stuck on similar error. I
am copying below. Do we know what is the reason for this type of error.
ppc-g++ -D_REENTRANT -g -Wall -I../../ -I../../build/../contrib/ares -I
-I -I/opt/qnx630/target/qnx6/usr/include -DUSE_ARES -c -o obj.debug.Linux.x86_64
/SdpContents.o SdpContents.cxx
SdpContents.cxx: In function `static class std::map<int,resip::SdpContents::Sess
ion::Codec,std::less<int>,std::allocator<std::pair<const int,resip::SdpContents:
:Session::Codec> > > & resip::SdpContents::Session::Codec::getStaticCodecs()':
SdpContents.cxx:1744: initialization of non-const reference type `class std::aut
o_ptr<std::map<int,resip::SdpContents::Session::Codec,std::less<int>,std::alloca
tor<std::pair<const int,resip::SdpContents::Session::Codec> > > > &'
SdpContents.cxx:1744: from rvalue of type `std::auto_ptr<std::map<int,resip::Sdp
Contents::Session::Codec,std::less<int>,std::allocator<std::pair<const int,resip
::SdpContents::Session::Codec> > > >'
/opt/qnx630/target/qnx6/usr/include/cpp/memory:503: in passing argument 1 of `st
d::auto_ptr<std::map<int,resip::SdpContents::Session::Codec,std::less<int>,std::
allocator<std::pair<const int,resip::SdpContents::Session::Codec> > > >::operato
r =(std::auto_ptr<std::map<int,resip::SdpContents::Session::Codec,std::less<int>
,std::allocator<std::pair<const int,resip::SdpContents::Session::Codec> > > > &)
'
cc: /opt/qnx630/host/linux/x86/usr/lib/gcc-lib/ntox86/2.95.3/cc1plus error 33
make: *** [obj.debug.Linux.x86_64/SdpContents.o] Error 1
Regards
amar
-----Original Message-----
From: jason.fischl@xxxxxxxxx [mailto:jason.fischl@xxxxxxxxx]On Behalf Of
Jason Fischl
Sent: Friday, September 02, 2005 11:46 AM
To: Amar Singh
Cc: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [reSIProcate] QNX build
Are you able to work off of the main version in the subversion
repository? These issues have been resolved.
On 9/2/05, Amar Singh <amar.singh@xxxxxxxxxx> wrote:
> Hi Jason,
>
> i am using resiprocate-0.9.0-5019.
>
> resiprocate-0.9.0-5019/resiprocate/Makefile has multiple entries for
> Registration.lo, Registration.cxx ...
> so rather than removing Registration.cxx from build i commented out the line
> which was causing problem. Now i am able to build libresiprocate.a, but
> getting similar errors in DUM. I am copying below.
>
> ppc-g++ -DHAVE_CONFIG_H -I. -I. -I../../resiprocate -I../.. -I../.. -I
> /opt/qnx
> 630/target/qnx6/usr/include
> -I/home/amars/sip/sipfoundry/resiprocate-0.9.0-5019/
> contrib/ares -g -O2 -Wall -Wno-deprecated -c ClientInviteSession.cxx
> -Wp,-MD,.de
> ps/ClientInviteSession.TPlo -o ClientInviteSession.o
> ClientInviteSession.cxx: In method
> `resip::ClientInviteSession::ClientInviteSess
> ion(resip::DialogUsageManager &, resip::Dialog &, const resip::SipMessage &,
> con
> st resip::SdpContents *, resip::Handle<resip::ServerSubscription> =
> Handle<resip
> ::ServerSubscription>())':
> ClientInviteSession.cxx:32: initialization of non-const reference type `class
> st
> d::auto_ptr<resip::SdpContents> &'
> ClientInviteSession.cxx:32: from rvalue of type
> `std::auto_ptr<resip::SdpContent
> s>'
> /opt/qnx630/target/qnx6/usr/include/cpp/memory:503: in passing argument 1 of
> `st
> d::auto_ptr<resip::SdpContents>::operator =(std::auto_ptr<resip::SdpContents>
> &)
> '
>
> Regards
> amar
>
>
> -----Original Message-----
> From: jason.fischl@xxxxxxxxx [mailto:jason.fischl@xxxxxxxxx]On Behalf Of
> Jason Fischl
> Sent: Friday, September 02, 2005 10:24 AM
> To: Amar Singh
> Cc: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [reSIProcate] QNX build
>
>
> On 9/2/05, Amar Singh <amar.singh@xxxxxxxxxx> wrote:
> > while attempting to compile resiprocate for QNX i am getting following
> > error. something wrong with auto_ptr. has anyone seen this problem and what
> > is the solution.
> >
> You can remove Registration.cxx from the build. It is no longer
> needed. What version of resiprocate are you building?
>