Thread: [OpenSIPStack] opensipstack compile error
Brought to you by:
joegenbaclor
From: mashudi <mas...@te...> - 2008-01-07 10:14:57
|
Dear All, Using debian 4.0 on two AMD Opteron dual core CPU, I run make=20 bothnoshared but get error, here is the log file. /usr/src/opensipstack/include/ptlib/critsec.h: In member function =E2void=20 SIPTransactions::SIPTransaction::SetState(int)=E2: /usr/src/opensipstack/include/ptlib/critsec.h:252: error:=20 =E2PAtomicInteger& PAtomicInteger::operator=3D(const PAtomicInteger&)=E2 is= =20 private /usr/src/opensipstack/include/SIPTransaction.h:273: error: within this=20 context /usr/src/opensipstack/include/ptlib/critsec.h: In constructor=20 =E2GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T =3D=20 SIPTransactions::SIPTransaction]=E2: /usr/src/opensipstack/include/GCObject.h:521: instantiated from=20 =E2GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const=20 Tools::OString&, const Tools::OString&, const char*, int) [with T =3D=20 SIPTransactions::SIPTransaction]=E2 /usr/src/opensipstack/include/SIPTransaction.h:154: instantiated from here /usr/src/opensipstack/include/ptlib/critsec.h:252: error:=20 =E2PAtomicInteger& PAtomicInteger::operator=3D(const PAtomicInteger&)=E2 is= =20 private /usr/src/opensipstack/include/GCObject.h:281: error: within this context /usr/src/opensipstack/include/ptlib/critsec.h: In constructor=20 =E2GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T =3D=20 UACORE::SIPSession]=E2: /usr/src/opensipstack/include/GCObject.h:521: instantiated from=20 =E2GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const=20 Tools::OString&, const Tools::OString&, const char*, int) [with T =3D=20 UACORE::SIPSession]=E2 /usr/src/opensipstack/include/SIPSession.h:264: instantiated from here /usr/src/opensipstack/include/ptlib/critsec.h:252: error:=20 =E2PAtomicInteger& PAtomicInteger::operator=3D(const PAtomicInteger&)=E2 is= =20 private /usr/src/opensipstack/include/GCObject.h:281: error: within this context /usr/src/opensipstack/include/ptlib/critsec.h: In constructor=20 =E2GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T =3D=20 RFC3265::RFC3265Subscription]=E2: /usr/src/opensipstack/include/GCObject.h:521: instantiated from=20 =E2GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const=20 Tools::OString&, const Tools::OString&, const char*, int) [with T =3D=20 RFC3265::RFC3265Subscription]=E2 /usr/src/opensipstack/include/RFC3265Subscription.h:93: instantiated=20 from here /usr/src/opensipstack/include/ptlib/critsec.h:252: error:=20 =E2PAtomicInteger& PAtomicInteger::operator=3D(const PAtomicInteger&)=E2 is= =20 private /usr/src/opensipstack/include/GCObject.h:281: error: within this context /usr/src/opensipstack/include/ptlib/critsec.h: In constructor=20 =E2GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T =3D=20 RFC3265::RFC3265Resource]=E2: /usr/src/opensipstack/include/GCObject.h:521: instantiated from=20 =E2GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const=20 Tools::OString&, const Tools::OString&, const char*, int) [with T =3D=20 RFC3265::RFC3265Resource]=E2 /usr/src/opensipstack/include/RFC3265Resource.h:74: instantiated from here /usr/src/opensipstack/include/ptlib/critsec.h:252: error:=20 =E2PAtomicInteger& PAtomicInteger::operator=3D(const PAtomicInteger&)=E2 is= =20 private /usr/src/opensipstack/include/GCObject.h:281: error: within this context /usr/src/opensipstack/include/ptlib/critsec.h: In constructor=20 =E2GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T =3D=20 B2BUA::B2BMediaInterface::AggregatedMedia]=E2: /usr/src/opensipstack/include/GCObject.h:521: instantiated from=20 =E2GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const=20 Tools::OString&, const Tools::OString&, const char*, int) [with T =3D=20 B2BUA::B2BMediaInterface::AggregatedMedia]=E2 /usr/src/opensipstack/include/B2BMediaInterface.h:223: instantiated=20 from here /usr/src/opensipstack/include/ptlib/critsec.h:252: error:=20 =E2PAtomicInteger& PAtomicInteger::operator=3D(const PAtomicInteger&)=E2 is= =20 private /usr/src/opensipstack/include/GCObject.h:281: error: within this context make[3]: ***=20 [/usr/src/opensipstack/lib/obj=5Flinux=5Fx86=5F64=5Fr/B2BAuthInterface.o] E= rror 1 make[2]: *** [optnoshared] Error 2 make[1]: *** [optnoshared] Error 2 make: *** [bothnoshared] Error 2 |
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 |
From: Joegen E. B. <joe...@gm...> - 2008-04-10 06:53:04
|
I think I was that last guy in that thread you mentioned. I must admit the last guy was wrong ;-). I have patched CVS so that all instances of PAtomicInteger never use the operator=() and use PAtomicInteger::SetValue() instead. Thank you for following up on this. Joegen Matthias Dreißig wrote: > 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 > > ------------------------------------------------------------------------- > 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 > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |
From: Matthias D. <mdr...@gm...> - 2008-04-10 12:47:23
|
Thats it. Now it works, thanks a lot. M. Dreißig Joegen E. Baclor schrieb: > I think I was that last guy in that thread you mentioned. I must admit > the last guy was wrong ;-). I have patched CVS so that all instances of > PAtomicInteger never use the operator=() and use > PAtomicInteger::SetValue() instead. Thank you for following up on this. > > Joegen > > Matthias Dreißig wrote: > >> 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 >> >> ------------------------------------------------------------------------- >> 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 >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> >> > > > > ------------------------------------------------------------------------- > 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 > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > |
From: Ryan C. <rco...@so...> - 2008-01-07 10:50:38
|
Hello Mashudi, Did you run "configure" before you execute "make bothnoshared"? Ex: -bash-3.00$ ./configure checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes ... regards, mashudi wrote: > Dear All, > Using debian 4.0 on two AMD Opteron dual core CPU, I run make > bothnoshared but get error, > here is the log file. > /usr/src/opensipstack/include/ptlib/critsec.h: In member function âvoid > SIPTransactions::SIPTransaction::SetState(int)â: > /usr/src/opensipstack/include/ptlib/critsec.h:252: error: > âPAtomicInteger& PAtomicInteger::operator=(const PAtomicInteger&)â is > private > /usr/src/opensipstack/include/SIPTransaction.h:273: error: within this > context > /usr/src/opensipstack/include/ptlib/critsec.h: In constructor > âGC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T = > SIPTransactions::SIPTransaction]â: > /usr/src/opensipstack/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]â > /usr/src/opensipstack/include/SIPTransaction.h:154: instantiated from here > /usr/src/opensipstack/include/ptlib/critsec.h:252: error: > âPAtomicInteger& PAtomicInteger::operator=(const PAtomicInteger&)â is > private > /usr/src/opensipstack/include/GCObject.h:281: error: within this context > /usr/src/opensipstack/include/ptlib/critsec.h: In constructor > âGC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T = > UACORE::SIPSession]â: > /usr/src/opensipstack/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]â > /usr/src/opensipstack/include/SIPSession.h:264: instantiated from here > /usr/src/opensipstack/include/ptlib/critsec.h:252: error: > âPAtomicInteger& PAtomicInteger::operator=(const PAtomicInteger&)â is > private > /usr/src/opensipstack/include/GCObject.h:281: error: within this context > /usr/src/opensipstack/include/ptlib/critsec.h: In constructor > âGC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T = > RFC3265::RFC3265Subscription]â: > /usr/src/opensipstack/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]â > /usr/src/opensipstack/include/RFC3265Subscription.h:93: instantiated > from here > /usr/src/opensipstack/include/ptlib/critsec.h:252: error: > âPAtomicInteger& PAtomicInteger::operator=(const PAtomicInteger&)â is > private > /usr/src/opensipstack/include/GCObject.h:281: error: within this context > /usr/src/opensipstack/include/ptlib/critsec.h: In constructor > âGC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T = > RFC3265::RFC3265Resource]â: > /usr/src/opensipstack/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]â > /usr/src/opensipstack/include/RFC3265Resource.h:74: instantiated from here > /usr/src/opensipstack/include/ptlib/critsec.h:252: error: > âPAtomicInteger& PAtomicInteger::operator=(const PAtomicInteger&)â is > private > /usr/src/opensipstack/include/GCObject.h:281: error: within this context > /usr/src/opensipstack/include/ptlib/critsec.h: In constructor > âGC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T = > B2BUA::B2BMediaInterface::AggregatedMedia]â: > /usr/src/opensipstack/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]â > /usr/src/opensipstack/include/B2BMediaInterface.h:223: instantiated > from here > /usr/src/opensipstack/include/ptlib/critsec.h:252: error: > âPAtomicInteger& PAtomicInteger::operator=(const PAtomicInteger&)â is > private > /usr/src/opensipstack/include/GCObject.h:281: error: within this context > make[3]: *** > [/usr/src/opensipstack/lib/obj_linux_x86_64_r/B2BAuthInterface.o] Error 1 > make[2]: *** [optnoshared] Error 2 > make[1]: *** [optnoshared] Error 2 > make: *** [bothnoshared] Error 2 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |
From: mashudi <mas...@te...> - 2008-01-07 12:20:13
Attachments:
configure_output.txt
|
Dear Ryan Colobong, thank you for your responds,=20 i already done the ./configure command with output as file attach, the=20 gcc version 4.2.3, i also install all gcc library libc6. /opensipstack# echo 'main(){printf("hello world\n");}' | gcc -E -v - Using built-in specs. Target: x86=5F64-linux-gnu Configured with: ../src/configure -v=20 --enable-languages=3Dc,c++,fortran,objc,obj-c++,treelang --prefix=3D/usr=20 --enable-shared --with-system-zlib --libexecdir=3D/usr/lib=20 --without-included-gettext --enable-threads=3Dposix --enable-nls=20 --with-gxx-include-dir=3D/usr/include/c++/4.2 --program-suffix=3D-4.2=20 --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-mpfr=20 --enable-checking=3Drelease --build=3Dx86=5F64-linux-gnu=20 --host=3Dx86=5F64-linux-gnu --target=3Dx86=5F64-linux-gnu Thread model: posix gcc version 4.2.3 20071123 (prerelease) (Debian 4.2.2-4) /usr/lib/gcc/x86=5F64-linux-gnu/4.2.3/cc1 -E -quiet -v - -mtune=3Dgeneric ignoring nonexistent directory "/usr/local/include/x86=5F64-linux-gnu" ignoring nonexistent directory=20 "/usr/lib/gcc/x86=5F64-linux-gnu/4.2.3/../../../../x86=5F64-linux-gnu/inclu= de" ignoring nonexistent directory "/usr/include/x86=5F64-linux-gnu" #include "..." search starts here: #include <...> search starts here: /usr/local/include /usr/lib/gcc/x86=5F64-linux-gnu/4.2.3/include /usr/include End of search list. # 1 "<stdin>" # 1 "<built-in>" # 1 "<command-line>" # 1 "<stdin>" main(){printf("hello world\n");} Ryan Colobong wrote: > *********************** > Your mail has been scanned by=20 > Telkom Anti Virus System > *********************** > > > Hello Mashudi, > > Did you run "configure" before you execute "make bothnoshared"? > > Ex: > -bash-3.00$ ./configure > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > ... > > regards, > > mashudi wrote: > =20 >> Dear All, >> Using debian 4.0 on two AMD Opteron dual core CPU, I run make=20 >> bothnoshared but get error, >> here is the log file. >> /usr/src/opensipstack/include/ptlib/critsec.h: In member function =E2voi= d=20 >> SIPTransactions::SIPTransaction::SetState(int)=E2: >> /usr/src/opensipstack/include/ptlib/critsec.h:252: error:=20 >> =E2PAtomicInteger& PAtomicInteger::operator=3D(const PAtomicInteger&)=E2= is=20 >> private >> /usr/src/opensipstack/include/SIPTransaction.h:273: error: within this=20 >> context >> /usr/src/opensipstack/include/ptlib/critsec.h: In constructor=20 >> =E2GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T =3D=20 >> SIPTransactions::SIPTransaction]=E2: >> /usr/src/opensipstack/include/GCObject.h:521: instantiated from=20 >> =E2GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const=20 >> Tools::OString&, const Tools::OString&, const char*, int) [with T =3D=20 >> SIPTransactions::SIPTransaction]=E2 >> /usr/src/opensipstack/include/SIPTransaction.h:154: instantiated from = here >> /usr/src/opensipstack/include/ptlib/critsec.h:252: error:=20 >> =E2PAtomicInteger& PAtomicInteger::operator=3D(const PAtomicInteger&)=E2= is=20 >> private >> /usr/src/opensipstack/include/GCObject.h:281: error: within this context >> /usr/src/opensipstack/include/ptlib/critsec.h: In constructor=20 >> =E2GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T =3D=20 >> UACORE::SIPSession]=E2: >> /usr/src/opensipstack/include/GCObject.h:521: instantiated from=20 >> =E2GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const=20 >> Tools::OString&, const Tools::OString&, const char*, int) [with T =3D=20 >> UACORE::SIPSession]=E2 >> /usr/src/opensipstack/include/SIPSession.h:264: instantiated from here >> /usr/src/opensipstack/include/ptlib/critsec.h:252: error:=20 >> =E2PAtomicInteger& PAtomicInteger::operator=3D(const PAtomicInteger&)=E2= is=20 >> private >> /usr/src/opensipstack/include/GCObject.h:281: error: within this context >> /usr/src/opensipstack/include/ptlib/critsec.h: In constructor=20 >> =E2GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T =3D=20 >> RFC3265::RFC3265Subscription]=E2: >> /usr/src/opensipstack/include/GCObject.h:521: instantiated from=20 >> =E2GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const=20 >> Tools::OString&, const Tools::OString&, const char*, int) [with T =3D=20 >> RFC3265::RFC3265Subscription]=E2 >> /usr/src/opensipstack/include/RFC3265Subscription.h:93: instantiated=20 >> from here >> /usr/src/opensipstack/include/ptlib/critsec.h:252: error:=20 >> =E2PAtomicInteger& PAtomicInteger::operator=3D(const PAtomicInteger&)=E2= is=20 >> private >> /usr/src/opensipstack/include/GCObject.h:281: error: within this context >> /usr/src/opensipstack/include/ptlib/critsec.h: In constructor=20 >> =E2GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T =3D=20 >> RFC3265::RFC3265Resource]=E2: >> /usr/src/opensipstack/include/GCObject.h:521: instantiated from=20 >> =E2GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const=20 >> Tools::OString&, const Tools::OString&, const char*, int) [with T =3D=20 >> RFC3265::RFC3265Resource]=E2 >> /usr/src/opensipstack/include/RFC3265Resource.h:74: instantiated from = here >> /usr/src/opensipstack/include/ptlib/critsec.h:252: error:=20 >> =E2PAtomicInteger& PAtomicInteger::operator=3D(const PAtomicInteger&)=E2= is=20 >> private >> /usr/src/opensipstack/include/GCObject.h:281: error: within this context >> /usr/src/opensipstack/include/ptlib/critsec.h: In constructor=20 >> =E2GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T =3D=20 >> B2BUA::B2BMediaInterface::AggregatedMedia]=E2: >> /usr/src/opensipstack/include/GCObject.h:521: instantiated from=20 >> =E2GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const=20 >> Tools::OString&, const Tools::OString&, const char*, int) [with T =3D=20 >> B2BUA::B2BMediaInterface::AggregatedMedia]=E2 >> /usr/src/opensipstack/include/B2BMediaInterface.h:223: instantiated=20 >> from here >> /usr/src/opensipstack/include/ptlib/critsec.h:252: error:=20 >> =E2PAtomicInteger& PAtomicInteger::operator=3D(const PAtomicInteger&)=E2= is=20 >> private >> /usr/src/opensipstack/include/GCObject.h:281: error: within this context >> make[3]: ***=20 >> [/usr/src/opensipstack/lib/obj=5Flinux=5Fx86=5F64=5Fr/B2BAuthInterface.o= ] Error 1 >> make[2]: *** [optnoshared] Error 2 >> make[1]: *** [optnoshared] Error 2 >> make: *** [bothnoshared] Error 2 >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> =20 >> =20 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > =20 |
From: Joegen E. B. <joe...@gm...> - 2008-01-08 02:32:29
|
If have a hunch. Seems like you have another instance of pwlib in your=20 include path. =20 mashudi wrote: > Dear All, > Using debian 4.0 on two AMD Opteron dual core CPU, I run make=20 > bothnoshared but get error, > here is the log file. > /usr/src/opensipstack/include/ptlib/critsec.h: In member function =E2vo= id=20 > SIPTransactions::SIPTransaction::SetState(int)=E2: > /usr/src/opensipstack/include/ptlib/critsec.h:252: error:=20 > =E2PAtomicInteger& PAtomicInteger::operator=3D(const PAtomicInteger&)=E2= is=20 > private > /usr/src/opensipstack/include/SIPTransaction.h:273: error: within this = > context > /usr/src/opensipstack/include/ptlib/critsec.h: In constructor=20 > =E2GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T =3D=20 > SIPTransactions::SIPTransaction]=E2: > /usr/src/opensipstack/include/GCObject.h:521: instantiated from=20 > =E2GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const=20 > Tools::OString&, const Tools::OString&, const char*, int) [with T =3D=20 > SIPTransactions::SIPTransaction]=E2 > /usr/src/opensipstack/include/SIPTransaction.h:154: instantiated from= here > /usr/src/opensipstack/include/ptlib/critsec.h:252: error:=20 > =E2PAtomicInteger& PAtomicInteger::operator=3D(const PAtomicInteger&)=E2= is=20 > private > /usr/src/opensipstack/include/GCObject.h:281: error: within this contex= t > /usr/src/opensipstack/include/ptlib/critsec.h: In constructor=20 > =E2GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T =3D=20 > UACORE::SIPSession]=E2: > /usr/src/opensipstack/include/GCObject.h:521: instantiated from=20 > =E2GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const=20 > Tools::OString&, const Tools::OString&, const char*, int) [with T =3D=20 > UACORE::SIPSession]=E2 > /usr/src/opensipstack/include/SIPSession.h:264: instantiated from her= e > /usr/src/opensipstack/include/ptlib/critsec.h:252: error:=20 > =E2PAtomicInteger& PAtomicInteger::operator=3D(const PAtomicInteger&)=E2= is=20 > private > /usr/src/opensipstack/include/GCObject.h:281: error: within this contex= t > /usr/src/opensipstack/include/ptlib/critsec.h: In constructor=20 > =E2GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T =3D=20 > RFC3265::RFC3265Subscription]=E2: > /usr/src/opensipstack/include/GCObject.h:521: instantiated from=20 > =E2GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const=20 > Tools::OString&, const Tools::OString&, const char*, int) [with T =3D=20 > RFC3265::RFC3265Subscription]=E2 > /usr/src/opensipstack/include/RFC3265Subscription.h:93: instantiated = > from here > /usr/src/opensipstack/include/ptlib/critsec.h:252: error:=20 > =E2PAtomicInteger& PAtomicInteger::operator=3D(const PAtomicInteger&)=E2= is=20 > private > /usr/src/opensipstack/include/GCObject.h:281: error: within this contex= t > /usr/src/opensipstack/include/ptlib/critsec.h: In constructor=20 > =E2GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T =3D=20 > RFC3265::RFC3265Resource]=E2: > /usr/src/opensipstack/include/GCObject.h:521: instantiated from=20 > =E2GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const=20 > Tools::OString&, const Tools::OString&, const char*, int) [with T =3D=20 > RFC3265::RFC3265Resource]=E2 > /usr/src/opensipstack/include/RFC3265Resource.h:74: instantiated from= here > /usr/src/opensipstack/include/ptlib/critsec.h:252: error:=20 > =E2PAtomicInteger& PAtomicInteger::operator=3D(const PAtomicInteger&)=E2= is=20 > private > /usr/src/opensipstack/include/GCObject.h:281: error: within this contex= t > /usr/src/opensipstack/include/ptlib/critsec.h: In constructor=20 > =E2GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T =3D=20 > B2BUA::B2BMediaInterface::AggregatedMedia]=E2: > /usr/src/opensipstack/include/GCObject.h:521: instantiated from=20 > =E2GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const=20 > Tools::OString&, const Tools::OString&, const char*, int) [with T =3D=20 > B2BUA::B2BMediaInterface::AggregatedMedia]=E2 > /usr/src/opensipstack/include/B2BMediaInterface.h:223: instantiated=20 > from here > /usr/src/opensipstack/include/ptlib/critsec.h:252: error:=20 > =E2PAtomicInteger& PAtomicInteger::operator=3D(const PAtomicInteger&)=E2= is=20 > private > /usr/src/opensipstack/include/GCObject.h:281: error: within this contex= t > make[3]: ***=20 > [/usr/src/opensipstack/lib/obj_linux_x86_64_r/B2BAuthInterface.o] Error= 1 > make[2]: *** [optnoshared] Error 2 > make[1]: *** [optnoshared] Error 2 > make: *** [bothnoshared] Error 2 > > > -----------------------------------------------------------------------= -- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > =20 |