[chord] Chord compilation error
aleix
apenellat at uoc.edu
Fri Dec 7 08:52:26 EST 2012
Hello,
I am an student from Universitat Oberta de Catalunya, and I would like to
use your chord's implementation for my degree project.
Once I try to compile chord's code I found some compilations errors and I
would like to check if there is my fault.
I am using a gcc version 4.4.5 (Debian 4.4.5-8) in a squeeze Debian's
version, sfslite 1.2.7 and BerkeleyDB 4.6 library.
The errors indicate that some methods are missed:
*In file included from lsdctl_prot.C:4:*
*lsdctl_prot.h: In function 'bool rpc_traverse(T&, lsdctl_rpcstat&, const
char*) [with T = ptr<v_XDR_t>]':*
*lsdctl_prot.C:564: instantiated from here*
*lsdctl_prot.h:107: error: no matching function for call to
'rpc_traverse(ptr<v_XDR_t>&, str&, const char [4])'*
or
*In file included from lsdctl_prot.C:4:*
*lsdctl_prot.h: In function 'bool rpc_traverse(T&, lsdctl_rpcstat&, const
char*) [with T = ptr<v_XDR_t>]':*
*lsdctl_prot.C:564: instantiated from here*
*lsdctl_prot.h:107: error: no matching function for call to
'rpc_traverse(ptr<v_XDR_t>&, str&, const char [4])'*
I try to solve it making some changes like the next one but, after apply
it, appears new errors.
lsdctl_prot.C:564: instantiated from here
* //ret = rpc_traverse (v, *static_cast<lsdctl_rpcstat *> (objp));*
* ret = rpc_traverse (xdrs, *static_cast<lsdctl_rpcstat *> (objp));*
or
* ret = rpc_traverse (v->xdrp(), *static_cast<lsdctl_rpcstat *> (objp));*
*
*
Is that a correct way to solve it or the root is another one?
I would be grateful If you could help me.
thank you in advance,
aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://amsterdam.lcs.mit.edu/pipermail/chord/attachments/20121207/289849e5/attachment.htm
More information about the chord
mailing list