[chord] Compiling problems on maint_policy.T

mafish mafish at ustc.edu
Mon May 28 22:32:48 EDT 2007


Hi:
I'm Mafish and I'm a newbie to Chord.
I tried to build CFS and met some compiling problems while building
Chord, the error information are:

maint_policy.T:36: error: variable or field 'track_aclnt' declared void
maint_policy.T:36: error: 'aclnt_acct_t' was not declared in this scope
maint_policy.T:37: error: expected ',' or ';' before '{' token
maint_policy.T: In member function 'void locationcc::aclntmaker(const
rpc_program*, ref<callback<void, ptr<aclnt>, void, void> >)':
maint_policy.T:83: error: 'class aclnt' has no member named 'set_acct_hook'
maint_policy.T:83: error: no matching function for call to 'wrap(int*)'
maint_policy.T: In member function 'void
locationcc::get_stream_aclnt(const rpc_program&, ref<callback<void,
ptr<aclnt>, void, void> >, ptr<closure_t>)':
maint_policy.T:110: error: 'class aclnt' has no member named 'set_acct_hook'
maint_policy.T:110: error: no matching function for call to 'wrap(int*)'
cc1plus: warnings being treated as errors
maint_policy.T: In function 'str ctype2ext(dhash_ctype)':
maint_policy.T:193: warning: control reaches end of non-void function
make[2]: *** [maint_policy.o] Error 1
rm maint_policy.C
make[2]: Leaving directory `/data/opt/soft/p2p/chord/chord-0.1/maint'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/opt/soft/p2p/chord/chord-0.1'
make: *** [all] Error 2

I'm using SUSE 10.0 with gcc version 4.0.2.
I tried chord-0.1-20070528.tar.bz2 and chord-0.1-20070423.tar.bz2, and
met the same problem.
Any suggestion is appreciated. Thank you all.

Mafish



More information about the chord mailing list