Guest
Apr 9, 2008 4:13 AM
[OpenSIPStack] opensipstack compile error
Hi all,
if I try to compile opensipstack 1.1.7 on SUSE 10.3 (Intel dual core
CPU) a compile error occurs. I run ./configure and make bothnoshared.
There is already a thread describing this problem but there is no clear
solution. In this thread the last guy said the pwlib include path
contains another instance of pwlib. How can I fix the problem?
If I make the operator in include/ptlib/critsec.h from private to public
all works fine but this is perhaps not the best way.
Thanks
M. Dreißig
log:
opensipstack-1.1.7/include/ptlib/critsec.h: In member function ?void
SIPTransactions::SIPTransaction::SetState(int)?:
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/SIPTransaction.h:258: error: within this context
opensipstack-1.1.7/include/ptlib/critsec.h: In constructor
?GC::GCObject::GCObject(T*, const Tools::OString&) [with T =
SIPTransactions::SIPTransaction]?:
opensipstack-1.1.7/include/GCObject.h:521: instantiated from
?GC::GCReference GC::Collector::CreateReference(T*, const
Tools::OString&, const Tools::OString&, const char*, int) [with T =
SIPTransactions::SIPTransaction]?
opensipstack-1.1.7/include/SIPTransaction.h:147: instantiated from here
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/GCObject.h:281: error: within this context
opensipstack-1.1.7/include/ptlib/critsec.h: In constructor
?GC::GCObject::GCObject(T*, const Tools::OString&) [with T =
UACORE::SIPSession]?:
opensipstack-1.1.7/include/GCObject.h:521: instantiated from
?GC::GCReference GC::Collector::CreateReference(T*, const
Tools::OString&, const Tools::OString&, const char*, int) [with T =
UACORE::SIPSession]?
opensipstack-1.1.7/include/SIPSession.h:244: instantiated from here
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/GCObject.h:281: error: within this context
opensipstack-1.1.7/include/ptlib/critsec.h: In constructor
?GC::GCObject::GCObject(T*, const Tools::OString&) [with T =
RFC3265::RFC3265Subscription]?:
opensipstack-1.1.7/include/GCObject.h:521: instantiated from
?GC::GCReference GC::Collector::CreateReference(T*, const
Tools::OString&, const Tools::OString&, const char*, int) [with T =
RFC3265::RFC3265Subscription]?
opensipstack-1.1.7/include/RFC3265Subscription.h:93: instantiated from
here
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/GCObject.h:281: error: within this context
opensipstack-1.1.7/include/ptlib/critsec.h: In constructor
?GC::GCObject::GCObject(T*, const Tools::OString&) [with T =
RFC3265::RFC3265Resource]?:
opensipstack-1.1.7/include/GCObject.h:521: instantiated from
?GC::GCReference GC::Collector::CreateReference(T*, const
Tools::OString&, const Tools::OString&, const char*, int) [with T =
RFC3265::RFC3265Resource]?
opensipstack-1.1.7/include/RFC3265Resource.h:74: instantiated from here
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/GCObject.h:281: error: within this context
opensipstack-1.1.7/include/ptlib/critsec.h: In constructor
?GC::GCObject::GCObject(T*, const Tools::OString&) [with T =
B2BUA::B2BMediaInterface::AggregatedMedia]?:
opensipstack-1.1.7/include/GCObject.h:521: instantiated from
?GC::GCReference GC::Collector::CreateReference(T*, const
Tools::OString&, const Tools::OString&, const char*, int) [with T =
B2BUA::B2BMediaInterface::AggregatedMedia]?
opensipstack-1.1.7/include/B2BMediaInterface.h:223: instantiated from here
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/GCObject.h:281: error: within this context
opensipstack-1.1.7/include/ptlib/critsec.h: In constructor
?GC::GCObject::GCObject(T*, const Tools::OString&) [with T =
SIPTransactions::SIPTransaction]?:
opensipstack-1.1.7/include/GCObject.h:521: instantiated from
?GC::GCReference GC::Collector::CreateReference(T*, const
Tools::OString&, const Tools::OString&, const char*, int) [with T =
SIPTransactions::SIPTransaction]?
opensipstack-1.1.7/include/SIPTransaction.h:147: instantiated from here
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/GCObject.h:281: error: within this context
opensipstack-1.1.7/include/ptlib/critsec.h: In constructor
?GC::GCObject::GCObject(T*, const Tools::OString&) [with T =
UACORE::SIPSession]?:
opensipstack-1.1.7/include/GCObject.h:521: instantiated from
?GC::GCReference GC::Collector::CreateReference(T*, const
Tools::OString&, const Tools::OString&, const char*, int) [with T =
UACORE::SIPSession]?
opensipstack-1.1.7/include/SIPSession.h:244: instantiated from here
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/GCObject.h:281: error: within this context
opensipstack-1.1.7/include/ptlib/critsec.h: In constructor
?GC::GCObject::GCObject(T*, const Tools::OString&) [with T =
RFC3265::RFC3265Subscription]?:
opensipstack-1.1.7/include/GCObject.h:521: instantiated from
?GC::GCReference GC::Collector::CreateReference(T*, const
Tools::OString&, const Tools::OString&, const char*, int) [with T =
RFC3265::RFC3265Subscription]?
opensipstack-1.1.7/include/RFC3265Subscription.h:93: instantiated from
here
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/GCObject.h:281: error: within this context
opensipstack-1.1.7/include/ptlib/critsec.h: In constructor
?GC::GCObject::GCObject(T*, const Tools::OString&) [with T =
RFC3265::RFC3265Resource]?:
opensipstack-1.1.7/include/GCObject.h:521: instantiated from
?GC::GCReference GC::Collector::CreateReference(T*, const
Tools::OString&, const Tools::OString&, const char*, int) [with T =
RFC3265::RFC3265Resource]?
opensipstack-1.1.7/include/RFC3265Resource.h:74: instantiated from here
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/GCObject.h:281: error: within this context
opensipstack-1.1.7/include/ptlib/critsec.h: In constructor
?GC::GCObject::GCObject(T*, const Tools::OString&) [with T =
B2BUA::B2BMediaInterface::AggregatedMedia]?:
opensipstack-1.1.7/include/GCObject.h:521: instantiated from
?GC::GCReference GC::Collector::CreateReference(T*, const
Tools::OString&, const Tools::OString&, const char*, int) [with T =
B2BUA::B2BMediaInterface::AggregatedMedia]?
opensipstack-1.1.7/include/B2BMediaInterface.h:223: instantiated from here
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/GCObject.h:281: error: within this context
make[3]: ***
[/opensipstack-1.1.7/lib/obj_linux_x86_r/B2BCallInterface.o] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
make[3]: ***
[/opensipstack-1.1.7/lib/obj_linux_x86_r/B2BAuthInterface.o] Fehler 1
make[3]: Leaving directory `/opensipstack-1.1.7/src'
make[2]: *** optnoshared Fehler 2
make[2]: Leaving directory `/opensipstack-1.1.7/src'
make[1]: *** optnoshared Fehler 2
make[1]: Leaving directory `/opensipstack-1.1.7'
make: *** bothnoshared Fehler 2
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
if I try to compile opensipstack 1.1.7 on SUSE 10.3 (Intel dual core
CPU) a compile error occurs. I run ./configure and make bothnoshared.
There is already a thread describing this problem but there is no clear
solution. In this thread the last guy said the pwlib include path
contains another instance of pwlib. How can I fix the problem?
If I make the operator in include/ptlib/critsec.h from private to public
all works fine but this is perhaps not the best way.
Thanks
M. Dreißig
log:
opensipstack-1.1.7/include/ptlib/critsec.h: In member function ?void
SIPTransactions::SIPTransaction::SetState(int)?:
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/SIPTransaction.h:258: error: within this context
opensipstack-1.1.7/include/ptlib/critsec.h: In constructor
?GC::GCObject::GCObject(T*, const Tools::OString&) [with T =
SIPTransactions::SIPTransaction]?:
opensipstack-1.1.7/include/GCObject.h:521: instantiated from
?GC::GCReference GC::Collector::CreateReference(T*, const
Tools::OString&, const Tools::OString&, const char*, int) [with T =
SIPTransactions::SIPTransaction]?
opensipstack-1.1.7/include/SIPTransaction.h:147: instantiated from here
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/GCObject.h:281: error: within this context
opensipstack-1.1.7/include/ptlib/critsec.h: In constructor
?GC::GCObject::GCObject(T*, const Tools::OString&) [with T =
UACORE::SIPSession]?:
opensipstack-1.1.7/include/GCObject.h:521: instantiated from
?GC::GCReference GC::Collector::CreateReference(T*, const
Tools::OString&, const Tools::OString&, const char*, int) [with T =
UACORE::SIPSession]?
opensipstack-1.1.7/include/SIPSession.h:244: instantiated from here
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/GCObject.h:281: error: within this context
opensipstack-1.1.7/include/ptlib/critsec.h: In constructor
?GC::GCObject::GCObject(T*, const Tools::OString&) [with T =
RFC3265::RFC3265Subscription]?:
opensipstack-1.1.7/include/GCObject.h:521: instantiated from
?GC::GCReference GC::Collector::CreateReference(T*, const
Tools::OString&, const Tools::OString&, const char*, int) [with T =
RFC3265::RFC3265Subscription]?
opensipstack-1.1.7/include/RFC3265Subscription.h:93: instantiated from
here
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/GCObject.h:281: error: within this context
opensipstack-1.1.7/include/ptlib/critsec.h: In constructor
?GC::GCObject::GCObject(T*, const Tools::OString&) [with T =
RFC3265::RFC3265Resource]?:
opensipstack-1.1.7/include/GCObject.h:521: instantiated from
?GC::GCReference GC::Collector::CreateReference(T*, const
Tools::OString&, const Tools::OString&, const char*, int) [with T =
RFC3265::RFC3265Resource]?
opensipstack-1.1.7/include/RFC3265Resource.h:74: instantiated from here
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/GCObject.h:281: error: within this context
opensipstack-1.1.7/include/ptlib/critsec.h: In constructor
?GC::GCObject::GCObject(T*, const Tools::OString&) [with T =
B2BUA::B2BMediaInterface::AggregatedMedia]?:
opensipstack-1.1.7/include/GCObject.h:521: instantiated from
?GC::GCReference GC::Collector::CreateReference(T*, const
Tools::OString&, const Tools::OString&, const char*, int) [with T =
B2BUA::B2BMediaInterface::AggregatedMedia]?
opensipstack-1.1.7/include/B2BMediaInterface.h:223: instantiated from here
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/GCObject.h:281: error: within this context
opensipstack-1.1.7/include/ptlib/critsec.h: In constructor
?GC::GCObject::GCObject(T*, const Tools::OString&) [with T =
SIPTransactions::SIPTransaction]?:
opensipstack-1.1.7/include/GCObject.h:521: instantiated from
?GC::GCReference GC::Collector::CreateReference(T*, const
Tools::OString&, const Tools::OString&, const char*, int) [with T =
SIPTransactions::SIPTransaction]?
opensipstack-1.1.7/include/SIPTransaction.h:147: instantiated from here
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/GCObject.h:281: error: within this context
opensipstack-1.1.7/include/ptlib/critsec.h: In constructor
?GC::GCObject::GCObject(T*, const Tools::OString&) [with T =
UACORE::SIPSession]?:
opensipstack-1.1.7/include/GCObject.h:521: instantiated from
?GC::GCReference GC::Collector::CreateReference(T*, const
Tools::OString&, const Tools::OString&, const char*, int) [with T =
UACORE::SIPSession]?
opensipstack-1.1.7/include/SIPSession.h:244: instantiated from here
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/GCObject.h:281: error: within this context
opensipstack-1.1.7/include/ptlib/critsec.h: In constructor
?GC::GCObject::GCObject(T*, const Tools::OString&) [with T =
RFC3265::RFC3265Subscription]?:
opensipstack-1.1.7/include/GCObject.h:521: instantiated from
?GC::GCReference GC::Collector::CreateReference(T*, const
Tools::OString&, const Tools::OString&, const char*, int) [with T =
RFC3265::RFC3265Subscription]?
opensipstack-1.1.7/include/RFC3265Subscription.h:93: instantiated from
here
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/GCObject.h:281: error: within this context
opensipstack-1.1.7/include/ptlib/critsec.h: In constructor
?GC::GCObject::GCObject(T*, const Tools::OString&) [with T =
RFC3265::RFC3265Resource]?:
opensipstack-1.1.7/include/GCObject.h:521: instantiated from
?GC::GCReference GC::Collector::CreateReference(T*, const
Tools::OString&, const Tools::OString&, const char*, int) [with T =
RFC3265::RFC3265Resource]?
opensipstack-1.1.7/include/RFC3265Resource.h:74: instantiated from here
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/GCObject.h:281: error: within this context
opensipstack-1.1.7/include/ptlib/critsec.h: In constructor
?GC::GCObject::GCObject(T*, const Tools::OString&) [with T =
B2BUA::B2BMediaInterface::AggregatedMedia]?:
opensipstack-1.1.7/include/GCObject.h:521: instantiated from
?GC::GCReference GC::Collector::CreateReference(T*, const
Tools::OString&, const Tools::OString&, const char*, int) [with T =
B2BUA::B2BMediaInterface::AggregatedMedia]?
opensipstack-1.1.7/include/B2BMediaInterface.h:223: instantiated from here
opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger&
PAtomicInteger::operator=(const PAtomicInteger&)? is private
opensipstack-1.1.7/include/GCObject.h:281: error: within this context
make[3]: ***
[/opensipstack-1.1.7/lib/obj_linux_x86_r/B2BCallInterface.o] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
make[3]: ***
[/opensipstack-1.1.7/lib/obj_linux_x86_r/B2BAuthInterface.o] Fehler 1
make[3]: Leaving directory `/opensipstack-1.1.7/src'
make[2]: *** optnoshared Fehler 2
make[2]: Leaving directory `/opensipstack-1.1.7/src'
make[1]: *** optnoshared Fehler 2
make[1]: Leaving directory `/opensipstack-1.1.7'
make: *** bothnoshared Fehler 2
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel









