[chord] Error compiling chordcd
Y Chen
s0231189 at sms.ed.ac.uk
Wed Jul 14 14:52:57 EDT 2004
Hello
I got the following error when compling chordcd
in subdirectory chord-build/chorcd/ run make, get result as:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
yin at df-01:~/chord-build/chordcd$ make chordcd
g++ -DHAVE_CONFIG_H -I. -I/home/yin/sfsnet/chordcd -I.. -I../svc -I/home/yin/s
fsnet/proxy -I/home/yin/sfsnet/lsd -I/home/yin/sfsnet/svc -I/home/yin/sfsnet/sfs
rodb -I/home/yin/sfsnet/dhash -I/home/yin/sfsnet/dhc -I/home/yin/sfsnet/chord -I
/home/yin/sfsnet/merkle -I/home/yin/sfsnet/utils -I/usr/include/sfs -DSLEEPYCAT
-g -O2 -Wall -Werror -c /home/yin/sfsnet/chordcd/server.C
/usr/include/sfs/list.h: In member function `void qhash<K, V, H, E, R,
kludge>::insert(const K&) [with K = chordID, V = wait_list, H = hashID, E =
equals<chordID>, R = qhash_lookup_return<wait_list>,
ihash_entry<qhash_slot<K, V> > qhash_slot<K, V>::*kludge =
&qhash_slot<chordID, wait_list>::link]':
/home/yin/sfsnet/chordcd/server.C:996: instantiated from here
/usr/include/sfs/list.h:38: error: `list<T, field>& list<T,
field>::operator=(const list<T, field>&) [with T = fetch_wait_state,
list_entry<T> T::*field = &fetch_wait_state::link]' is private
/usr/include/sfs/qhash.h:103: error: within this context
In file included from /home/yin/sfsnet/chordcd/server.C:105:
/usr/include/sfs/list.h: In constructor `qhash_slot<K, V>::qhash_slot(const K&,
typename unref_t<T2>::ref_type) [with K = chordID, V = wait_list]':
/usr/include/sfs/ihash.h:115: instantiated from here
/usr/include/sfs/list.h:37: error: `list<T, field>::list(const list<T, field>&)
[with T = fetch_wait_state, list_entry<T> T::*field =
&fetch_wait_state::link]' is private
/usr/include/sfs/qhash.h:53: error: within this context
make: *** [server.o] Error 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
What's the problem of this?
Thanks a lot
Yin
More information about the chord
mailing list