[OpenSIPStack] opensipstack compile error
Brought to you by:
joegenbaclor
From: Matthias D. <mdr...@gm...> - 2008-04-09 08:13:44
|
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<T>::GCObject(T*, const Tools::OString&) [with T = SIPTransactions::SIPTransaction]?: opensipstack-1.1.7/include/GCObject.h:521: instantiated from ?GC::GCReference<T> GC::Collector<T>::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<T>::GCObject(T*, const Tools::OString&) [with T = UACORE::SIPSession]?: opensipstack-1.1.7/include/GCObject.h:521: instantiated from ?GC::GCReference<T> GC::Collector<T>::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<T>::GCObject(T*, const Tools::OString&) [with T = RFC3265::RFC3265Subscription]?: opensipstack-1.1.7/include/GCObject.h:521: instantiated from ?GC::GCReference<T> GC::Collector<T>::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<T>::GCObject(T*, const Tools::OString&) [with T = RFC3265::RFC3265Resource]?: opensipstack-1.1.7/include/GCObject.h:521: instantiated from ?GC::GCReference<T> GC::Collector<T>::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<T>::GCObject(T*, const Tools::OString&) [with T = B2BUA::B2BMediaInterface::AggregatedMedia]?: opensipstack-1.1.7/include/GCObject.h:521: instantiated from ?GC::GCReference<T> GC::Collector<T>::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<T>::GCObject(T*, const Tools::OString&) [with T = SIPTransactions::SIPTransaction]?: opensipstack-1.1.7/include/GCObject.h:521: instantiated from ?GC::GCReference<T> GC::Collector<T>::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<T>::GCObject(T*, const Tools::OString&) [with T = UACORE::SIPSession]?: opensipstack-1.1.7/include/GCObject.h:521: instantiated from ?GC::GCReference<T> GC::Collector<T>::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<T>::GCObject(T*, const Tools::OString&) [with T = RFC3265::RFC3265Subscription]?: opensipstack-1.1.7/include/GCObject.h:521: instantiated from ?GC::GCReference<T> GC::Collector<T>::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<T>::GCObject(T*, const Tools::OString&) [with T = RFC3265::RFC3265Resource]?: opensipstack-1.1.7/include/GCObject.h:521: instantiated from ?GC::GCReference<T> GC::Collector<T>::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<T>::GCObject(T*, const Tools::OString&) [with T = B2BUA::B2BMediaInterface::AggregatedMedia]?: opensipstack-1.1.7/include/GCObject.h:521: instantiated from ?GC::GCReference<T> GC::Collector<T>::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 |