RE: [reSIProcate] QNX build
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?