[chord] problems found

Stephan Korsback (LN/EAB) stephan.korsback at ericsson.com
Thu Aug 28 10:59:44 EDT 2003


Hi

 
Yesterday I compiled  2003-08-27-chord-0.1.tar on a Solaris 9 with gcc 3.3.1 and I saw some problem, one I solved I guess.

1.  In the ./utils/coord.c the  sqrtf   function that was undeclared however I renamed it sqrt and that solved the problem. But it could it be another solution ?

2.   Making all in merkle directory , I got sever problems !!


Anything special  I should consider ?
Should these problems be solved at the "list of issues"

Regards

Stephan Korsback




# gmake
gmake  all-recursive
gmake[1]: Entering directory `/usr/local/src/chord-0.1'
Making all in svc
gmake[2]: Entering directory `/usr/local/src/chord-0.1/svc'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/local/src/chord-0.1/svc'
Making all in utils
gmake[2]: Entering directory `/usr/local/src/chord-0.1/utils'
c++ -DHAVE_CONFIG_H -I. -I. -I..   -I../svc -I../proxy -I../lsd -I../svc -I../sfsrodb -I../dhash -I../dhc -I../chord -I../merkle -I../utils  -I/usr/local/include/sfs -I/usr/local/include -I/usr/local/BerkeleyDB.3.3/include -DSLEEPYCAT  -g -O2 -Wall  -c id_utils.C
c++ -DHAVE_CONFIG_H -I. -I. -I..   -I../svc -I../proxy -I../lsd -I../svc -I../sfsrodb -I../dhash -I../dhc -I../chord -I../merkle -I../utils  -I/usr/local/include/sfs -I/usr/local/include -I/usr/local/BerkeleyDB.3.3/include -DSLEEPYCAT  -g -O2 -Wall  -c location.C
c++ -DHAVE_CONFIG_H -I. -I. -I..   -I../svc -I../proxy -I../lsd -I../svc -I../sfsrodb -I../dhash -I../dhc -I../chord -I../merkle -I../utils  -I/usr/local/include/sfs -I/usr/local/include -I/usr/local/BerkeleyDB.3.3/include -DSLEEPYCAT  -g -O2 -Wall  -c locationtable.C
c++ -DHAVE_CONFIG_H -I. -I. -I..   -I../svc -I../proxy -I../lsd -I../svc -I../sfsrodb -I../dhash -I../dhc -I../chord -I../merkle -I../utils  -I/usr/local/include/sfs -I/usr/local/include -I/usr/local/BerkeleyDB.3.3/include -DSLEEPYCAT  -g -O2 -Wall  -c misc_utils.C
c++ -DHAVE_CONFIG_H -I. -I. -I..   -I../svc -I../proxy -I../lsd -I../svc -I../sfsrodb -I../dhash -I../dhc -I../chord -I../merkle -I../utils  -I/usr/local/include/sfs -I/usr/local/include -I/usr/local/BerkeleyDB.3.3/include -DSLEEPYCAT  -g -O2 -Wall  -c modlogger.C
rm -f libutil.a
ar cru libutil.a configurator.o coord.o ida.o id_utils.o location.o locationtable.o misc_utils.o modlogger.o 
ranlib libutil.a
gmake[2]: Leaving directory `/usr/local/src/chord-0.1/utils'
Making all in merkle
gmake[2]: Entering directory `/usr/local/src/chord-0.1/merkle'
c++ -DHAVE_CONFIG_H -I. -I. -I..   -I../svc -I../proxy -I../lsd -I../svc -I../sfsrodb -I../dhash -I../dhc -I../chord -I../merkle -I../utils  -I/usr/local/include/sfs -I/usr/local/include -I/usr/local/BerkeleyDB.3.3/include -DSLEEPYCAT  -g -O2 -Wall  -c merkle_server.C
In file included from merkle_node.h:7,
                 from merkle_server.h:5,
                 from merkle_server.C:1:
merkle_misc.h: In function `merkle_hash to_merkle_hash(ptr<dbrec>)':
merkle_misc.h:52: error: `bcopy' undeclared (first use this function)
merkle_misc.h:52: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)
In file included from merkle_server.h:11,
                 from merkle_server.C:1:
../chord/chord.h: At global scope:
../chord/chord.h:107: error: redefinition of `class vnode'
/usr/include/sys/vnode.h:89: error: previous definition of `class vnode'
../chord/chord.h:107: confused by earlier errors, bailing out
gmake[2]: *** [merkle_server.o] Error 1
gmake[2]: Leaving directory `/usr/local/src/chord-0.1/merkle'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/chord-0.1'
gmake: *** [all-recursive-am] Error 2
# 











More information about the chord mailing list