[chord] Problem with Chord Compilation

Mark R Thomas Mark.R.Thomas at aero.org
Thu Aug 11 20:56:03 EDT 2005


Hi,

I was trying to build Chord on a FreeBSD 4.7 machine and got the 
following error:

-------------------
g++ -DHAVE_CONFIG_H -I. -I../../chord-src/svc -I.. -I../svc 
-I../../chord-src/lsd -I../../chord-src/svc -I../../chord-src/sfsrodb 
-I../../chord-src/dhash -I../../chord-src/dhc -I../../chord-src/chord 
-I../../chord-src/merkle -I../../chord-src/utils -I/usr/local/sfs/ 
-I/usr/local/sfs//../sfs1/./async -I/usr/local/sfs//../sfs1/./arpc 
-I/usr/local/sfs//../sfs1/./crypt -I/usr/local/sfs//../sfs1/./sfsmisc 
-I/usr/local/sfs//svc -DSLEEPYCAT -g -O2 -Wall -Werror -c 
merkle_sync_prot.C -Wp,-MD,.deps/merkle_sync_prot.TPlo -o merkle_sync_prot.o
In file included from ../../chord-src/merkle/merkle_hash.h:13,
                 from merkle_sync_prot.h:9,
                 from merkle_sync_prot.C:4:
../../chord-src/sfsrodb/dbfe.h:160: syntax error before `*'
../../chord-src/sfsrodb/dbfe.h:181: syntax error before `*'
../../chord-src/sfsrodb/dbfe.h:228: syntax error before `*'
gmake[2]: *** [merkle_sync_prot.lo] Error 1
gmake[2]: Leaving directory `/usr/local/chord/svc'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/chord'
gmake: *** [all] Error 2
------------

This is very similar to a problem mentioned in this posting:
https://amsterdam.lcs.mit.edu/pipermail/chord/2003-November/000161.html

I tried both the 2005-04-09 and 2004-10-07 snapshot of the Chord source, 
both with the same results.

It's worth noting that the ./setup step did not work in either of the 
Chord source packages I tried, however configure did.

The correct db.h seems to be in the include tree for this compilation.

Here are the details of relevant programs:
g++ 2.95.4
db.h        8.7 (Berkeley) 6/16/94
gcc 2.95.4
autoconf (GNU Autoconf) 2.59
automake (GNU automake) 1.4
Berkeley DB: db-4.0.14
SFS a recent (within two weeks) snapshot

Any ideas?

Thanks for taking a look at this!
Mark



More information about the chord mailing list