[chord] Help me for building SFS and chord
wen winsen
winsenwen at hotmail.com
Tue Dec 6 22:37:47 EST 2005
Hi,I am building the sfs-0.7.2 for using chord,but i meet the followed
warning in setup SFS ,but building SFS is ok,but building CHORD is not
ok,it means that it is possible that the SFS has been not configureed
successfully.I don't know what to do?Please give me some advise if you are
free?
[root at mrtest winsen]# cd sfs
[root at mrtest sfs]# ./setup -f
+ m4 libsfs/Makefile.am.m4 > libsfs/Makefile.am
+ m4 svc/Makefile.am.m4 > svc/Makefile.am
+ uvfs/setup -f
+ chmod +x setup
+ libtoolize --force
Remember to add `AC_PROG_LIBTOOL' to `configure.in'.
Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL'
You should update your `aclocal.m4' by running aclocal.
+ aclocal
+ autoheader
+ automake --add-missing --force
+ test -x /usr/local/bin/autoconf-new
+ autoconf
+ set +x
+ chmod +x setup
+ libtoolize --force
+ aclocal
+ autoheader
configure.in:262: warning: AC_CONFIG_SUBDIRS: you should use literals
configure.in:276: warning: AC_CONFIG_SUBDIRS: you should use literals
+ automake --add-missing --force
+ test -x /usr/local/bin/autoconf-new
+ autoconf
+ set +x
[root at mrtest sfs]# cd sfs-build/
[root at mrtest sfs-build]# ../configure
[root at mrtest sfs-build]# make
......
......
[root at mrtest winsen]# cd sfsnet
[root at mrtest sfsnet]# ./setup -f
[root at mrtest sfsnet]# mkdir chord-build
[root at mrtest sfsnet]# cd chord-build
[root at mrtest chord-build]# ../configure
--with-sfs=/home/winsen/sfs/sfs-build/
--with-db=/usr/local/BerkeleyDB.4.4/
[[root at mrtest chord-build]# make
make all-recursive
make[1]: Entering directory `/home/winsen/sfsnet/chord-build'
Making all in svc
make[2]: Entering directory `/home/winsen/sfsnet/chord-build/svc'
/home/winsen/sfs/sfs-build//rpcc/rpcc -python ../../svc/chord_types.x || rm
-f chord_types.py
usage: rpcc {-c | -h} [-Ppref] [-Ddef] [-Idir] [-o outfile] file.x
/home/winsen/sfs/sfs-build//rpcc/rpcc -python ../../svc/dhash_types.x || rm
-f dhash_types.py
usage: rpcc {-c | -h} [-Ppref] [-Ddef] [-Idir] [-o outfile] file.x
/home/winsen/sfs/sfs-build//rpcc/rpcc -python ../../svc/dhashgateway_prot.x
|| rm -f dhashgateway_prot.py
usage: rpcc {-c | -h} [-Ppref] [-Ddef] [-Idir] [-o outfile] file.x
make[2]: Leaving directory `/home/winsen/sfsnet/chord-build/svc'
Making all in utils
make[2]: Entering directory `/home/winsen/sfsnet/chord-build/utils'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/winsen/sfsnet/chord-build/utils'
Making all in merkle
make[2]: Entering directory `/home/winsen/sfsnet/chord-build/merkle'
source='../../merkle/merkle_syncer.C' object='merkle_syncer.o' libtool=no \
depfile='.deps/merkle_syncer.Po' tmpdepfile='.deps/merkle_syncer.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I../../merkle -I.. -I../svc -I../../lsd
-I../../svc -I../../sfsrodb -I../../dhash -I../../dhc -I../../chord
-I../../merkle -I../../utils -I/home/winsen/sfs/sfs-build/
-I/home/winsen/sfs/sfs-build//../async
-I/home/winsen/sfs/sfs-build//../arpc
-I/home/winsen/sfs/sfs-build//../crypt
-I/home/winsen/sfs/sfs-build//../sfsmisc -I/home/winsen/sfs/sfs-build//svc
-I/usr/local/BerkeleyDB.4.4//include -DSLEEPYCAT -g -O2 -Wall -Werror -c
-o merkle_syncer.o `test -f '../../merkle/merkle_syncer.C' || echo
'../../merkle/'`../../merkle/merkle_syncer.C
../../merkle/merkle_syncer.C: In member function `void
merkle_getkeyrange::getkeys_cb(ref<getkeys_arg>, ref<getkeys_res>,
clnt_stat)':
../../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 `/home/winsen/sfsnet/chord-build/merkle'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/winsen/sfsnet/chord-build'
make: *** [all] Error 2
it seems that the rpc_vec is in the sfs-0.7.2/arpc/rpctype.h in the SFS
source code
template<class T, size_t max> class rpc_vec : protected freemode {
public:
typedef typename toarray (T) elm_t;
enum { maxsize = max };
...
...
so I think that the error is ralated with the SFS configuring or build
option.do you give some advise to help me solve the error.Thank you in
advance!
Best Regards!
Winsen
Best Regards!
Winsen
_________________________________________________________________
ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn
More information about the chord
mailing list