Re: [OpenSIPStack] opensipstack compile error
Brought to you by:
joegenbaclor
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 > > > |