Does including "ref_counted.h" from "smart_ptr.h" fixes it ? --strk;
On Thu, Mar 22, 2007 at 06:57:05PM +0530, Praveen A wrote: > Hi, > > Every time I do a cvs update, the code fail to build. > The error messages I get now are > > In file included from Math.cpp:38: > ../../libbase/smart_ptr.h: In function `void > gnash::intrusive_ptr_add_ref(T*) > [with T = gnash::as_object]': > /usr/include/boost/intrusive_ptr.hpp:64: instantiated from > `boost::intrusive_ptr<T>::intrusive_ptr(T*, bool) [with T = > gnash::as_object]' > ../../server/vm/fn_call.h:59: instantiated from here > ../../libbase/smart_ptr.h:47: error: `add_ref' undeclared (first use this > function) > ../../libbase/smart_ptr.h:47: error: (Each undeclared identifier is reported > only once for each function it appears in.) > ../../libbase/smart_ptr.h: In function `void > gnash::intrusive_ptr_release(T*) > [with T = gnash::as_object]': > /usr/include/boost/intrusive_ptr.hpp:83: instantiated from > `boost::intrusive_ptr<T>::~intrusive_ptr() [with T = > gnash::as_object]' > ../../server/vm/fn_call.h:59: instantiated from here > ../../libbase/smart_ptr.h:54: error: `drop_ref' undeclared (first use this > function) > make[3]: *** [Math.lo] Error 1 > make[3]: Leaving directory `/home/pravi/forge/cvs/gnash/server/asobj' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/pravi/forge/cvs/gnash/server' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/pravi/forge/cvs/gnash' > make: *** [all] Error 2 > [EMAIL PROTECTED]:~/forge/cvs/gnash$ > > I did ./configure --disable-klash --enable-sound=GST > > I tried compiling with gcc 4.1 and gcc 3.3 both gave the same error. > > Cheers > Praveen > > -- > à´ªàµà´°à´µàµà´£àµ à´ à´°à´¿à´®àµà´ªàµà´°à´¤àµà´¤àµà´à´¿à´¯à´¿à´²àµ > Join The DRM Elimination Crew Now! > http://fci.wikia.com/wiki/Anti-DRM-Campaign > _______________________________________________ > Gnash mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/gnash -- () ASCII Ribbon Campaign /\ Keep it simple! _______________________________________________ Gnash mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash
