[chord] Error: Unable to run chord. Plz Help me

Emil Sit sit at MIT.EDU
Thu Mar 29 12:44:30 EST 2007


On Mon, 26 March 2007 at 12:16 (+0530), abu thahir wrote:
> gmake[2]: Entering directory `/usr2/vijayr/chord-0.1/utils'
> if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I../svc -I../lsd -I../svc -I../dhash
> -I../chord -I../merkle -I../utils  -I/usr/local/include/sfslite   -I../db-4.4.20/dist/dist -DSLEEPYCAT  -g -O2 -Wall -Werror  -MT dbfe.o -MD -MP -MF
> ".deps/dbfe.Tpo
> " -c -o dbfe.o dbfe.C; \
> then mv -f ".deps/dbfe.Tpo" ".deps/dbfe.Po"; else rm -f ".deps/dbfe.Tpo";
> exit 1
> ; fi
> In file included from dbfe.C:21:
> dbfe.h: In function `int dbfe_txn_abort (DB_ENV *, DB_TXN *)':
> /usr/include/db.h:1241: too many arguments to function `int txn_abort
> (DB_TXN *)'
> dbfe.h:127: at this point in file
> dbfe.C: In method `dbEnumeration::dbEnumeration (DB *, DB_ENV *)':
> dbfe.C:104: no matching function for call to `__db_env::get_home
> (DB_ENV *&, const char **)'

How did you configure Chord?  It seems that you are using
/usr/include/db.h instead of the header from your local
db-4.4.20 directory.

-- 
Emil Sit / MIT CSAIL PDOS / http://pdos.csail.mit.edu/chord/  



More information about the chord mailing list