[chord] sfslite0.8 problems

jtv208 jtv208 at yahoo.com.tw
Fri Oct 23 02:12:53 EDT 2009


Hi all,
I am so sorry to post the message again. I tried the GCC version with 3.4
4.1 4.3, and Berkeley DB version is 4.8.24, gmp is 4.3.1, OS is Ubuntu 8.10. But there are some problem I can't solve.
When I configure the SFSlite0.8.16, it is working. Unfortunately,
there are some error messages when I make the SFSlite0.8.16. The error message as following:

In file included from callback1.h:617,
                 from callback.h:15,
                 from suio++.h:30,
                 from str.h:29,
                 from err.h:28,
                 from amisc.h:29,
                 from async.h:28,
                 from aerr.C:25:
refcnt.h:423: error: declaration of 'typedef struct ptr<T> ref<T>::ptr'
refcnt.h:158: error: changes meaning of 'ptr' from 'struct ptr<T>'
refcnt.h:485: error: declaration of 'typedef struct ref<T> ptr<T>::ref'
refcnt.h:157: error: changes meaning of 'ref' from 'struct ref<T>'
In file included from callback.h:15,
                 from suio++.h:30,
                 from str.h:29,
                 from err.h:28,
                 from amisc.h:29,
                 from async.h:28,
                 from aerr.C:25:
callback1.h:678: error: declaration of 'typedef class ref<callback<R, void, void, void> > callback<R, void, void, void>::ref'
refcnt.h:410: error: changes meaning of 'ref' from 'class ref<callback<R, void, void, void> >'
callback1.h:679: error: declaration of 'typedef class ptr<callback<R, void, void, void> > callback<R, void, void, void>::ptr'
refcnt.h:459: error: changes meaning of 'ptr' from 'class ptr<callback<R, void, void, void> >'
callback1.h:1557: error: declaration of 'typedef class ref<callback<R, B1, void, void> > callback<R, B1, void, void>::ref'
refcnt.h:410: error: changes meaning of 'ref' from 'class ref<callback<R, B1, void, void> >'
callback1.h:1558: error: declaration of 'typedef class ptr<callback<R, B1, void, void> > callback<R, B1, void, void>::ptr'
refcnt.h:459: error: changes meaning of 'ptr' from 'class ptr<callback<R, B1, void, void> >'
callback1.h:2436: error: declaration of 'typedef class ref<callback<R, B1, B2, void> > callback<R, B1, B2, void>::ref'
refcnt.h:410: error: changes meaning of 'ref' from 'class ref<callback<R, B1, B2, void> >'
callback1.h:2437: error: declaration of 'typedef class ptr<callback<R, B1, B2, void> > callback<R, B1, B2, void>::ptr'
refcnt.h:459: error: changes meaning of 'ptr' from 'class ptr<callback<R, B1, B2, void> >'
callback1.h:3315: error: declaration of 'typedef class ref<callback<R, B1, B2, B3> > callback<R, B1, B2, B3>::ref'
refcnt.h:410: error: changes meaning of 'ref' from 'class ref<callback<R, B1, B2, B3> >'
callback1.h:3316: error: declaration of 'typedef class ptr<callback<R, B1, B2, B3> > callback<R, B1, B2, B3>::ptr'
refcnt.h:459: error: changes meaning of 'ptr' from 'class ptr<callback<R, B1, B2, B3> >'
make[2]: *** [aerr.lo] Error 1
make[2]: Leaving directory `/media/disk/install_chord/sfslite-0.8.16/async'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/disk/install_chord/sfslite-0.8.16'
make: *** [all] Error 2

I have no idea to solve thease problems. Please help me.


                                               Charlie Chang

___________________________________________________ 
 您的生活即時通 - 溝通、娛樂、生活、工作一次搞定! 
 http://messenger.yahoo.com.tw/



More information about the chord mailing list