[chord] Another problem on building chord.

mafish mafish at ustc.edu
Tue May 29 04:32:21 EDT 2007


Hi, sir:
I failed to solve the problem I posted before.
What's more, I check every directories in Chord and found that building
in directories utils , chord, dhash, merkle were successfully. But
another error occured while building lsd.

The error message is :
make: *** No rule to make target `/usr/local/lib/sfs/libtame.la', needed
by `lsdctl'. Stop.

I found no library named libtame.la in /usr/local/lib/sfs. So I doubted
that if I have had sfs installed correctly. But I met no errors while
installing sfs-0.8pre.

I tried to comment out "libtame.la" in Makefile and ran "make" again.
This time, some link errors occured as following:

../chord/libchord.a(server.o): In function
`vnode_impl::update_error(float, float, float)':
../utils/coord.h:30: undefined reference to `Coord::PRED_ERR_MULT'
../chord/libchord.a(server.o): In function `update_err':
../utils/coord.h:31: undefined reference to `Coord::PRED_ERR_MULT'
../chord/libchord.a(server.o): In function
`vnode_impl::update_error(float, float, float)':
../utils/coord.h:30: undefined reference to `Coord::PRED_ERR_MULT'
../chord/libchord.a(server.o): In function `err':
../utils/coord.h:30: undefined reference to `Coord::PRED_ERR_MULT'
../utils/coord.h:30: undefined reference to `Coord::PRED_ERR_MULT'
collect2: ld returned 1 exit status
make: *** [lsd] Error 1

I hope you can help me to solve these problems. Thanks in advance.

Yours: Mafish



More information about the chord mailing list