[chord] Chord compile trouble

Martin Makowiecki martinm at CS.Princeton.EDU
Thu Dec 1 13:16:57 EST 2005


Hi,

We are trying to build Chord for an end of semester project.  We are 
getting errors compiling Chord. Specifically:

/root/sfsnet/merkle/merkle_syncer.C:283: no matching function for call to `
   rpc_vec<bigint, 64>::back()

I noticed in one of the earlier postings, you suggested to someone who 
had a simliar looking problem to use the csv version of sfs and an older 
version of chord.  If uncompatible versions are indeed the source of our 
problems, could you tell us which linux distro, version of GCC, SFS and 
Chord you recommend?  Below are the specifications of what we are 
running and a more throughout error msg.   OS: Redhat linux (version 
number?)

The versions of the tools we are usign are:
Fedora Core 4
GCC: 3.2.0
SFS: 0.7.2
BerkeleyDB: 4.4

Chord: Latest anonymous CSV build


Making all in merkle
make[2]: Entering directory `/root/chord-build/merkle'
if g++32 -DHAVE_CONFIG_H -I. -I/root/sfsnet/merkle -I..   -I../svc 
-I/root/sfsnet/lsd -I/root/sfsnet/svc -I/root/sfsnet/sfsrodb 
-I/root/sfsnet/dhash -I/root/sfsnet/dhc -I/root/sfsnet/chord 
-I/root/sfsnet/merkle -I/root/sfsnet/utils  -I/usr/local//include/sfs 
-I/usr/include/db4 -DSLEEPYCAT  -g -O2 -Wall   -MT merkle_syncer.o -MD 
-MP -MF ".deps/merkle_syncer.Tpo" -c -o merkle_syncer.o 
/root/sfsnet/merkle/merkle_syncer.C; \
then mv -f ".deps/merkle_syncer.Tpo" ".deps/merkle_syncer.Po"; else rm 
-f ".deps/merkle_syncer.Tpo"; exit 1; fi
In file included from /usr/local/include/sfs/xdrmisc.h:81,
                 from /usr/local/include/sfs/nfs3_prot.h:7,
                 from /usr/local/include/sfs/sfsmisc.h:28,
                 from /root/sfsnet/chord/chord.h:30,
                 from /root/sfsnet/merkle/merkle_syncer.C:1:
/usr/local/include/sfs/rpctypes.h: In member function `rpc_vec<T, max>&
   rpc_vec<T, max>::set(const vec<T, NN>&)':
/usr/local/include/sfs/rpctypes.h:179: warning: no return statement in 
function
   returning non-void
/root/sfsnet/merkle/merkle_syncer.C: In member function `void
   merkle_getkeyrange::getkeys_cb(ref<getkeys_arg>, ref<getkeys_res>,
   clnt_stat)':
/root/sfsnet/merkle/merkle_syncer.C:283: no matching function for call to `
   rpc_vec<bigint, 64>::back()'
make[2]: *** [merkle_syncer.o] Error 1
make[2]: Leaving directory `/root/chord-build/merkle'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/chord-build'
make: *** [all] Error 2



More information about the chord mailing list