[chord] compiling CFS in Linux 9

Tiancheng Hu at KIT tchu at infor.kanazawa-it.ac.jp
Sun Aug 3 19:13:27 EDT 2003


hi, 

I've succesfully installed Chord in FreeBSD but failed to do so in Linux 9..

I tried the newest snapshot (3rd, Aug), but the error message is the same --
------------------------------------------------------------------
c++ -g -O2 -Wall -Werror -o sfsrodb sfsrodb.o ../dhash/libdhash.a ../merkle/libmerkle.a ../svc/.libs/libsvc.a -L/usr/local/lib -ldmalloc ../sfsrodb/libsfsrodb.a /usr/local/BerkeleyDB.3.3/lib/libdb-3.3.so /home/tchu/sfs-build//sfsmisc/.libs/libsfsmisc.a -lresolv -lnsl -ldmalloc /home/tchu/sfs-build//svc/.libs/libsvc.a -lresolv -lnsl -ldmalloc /home/tchu/sfs-build//crypt/.libs/libsfscrypt.a -lresolv -lnsl -ldmalloc /home/tchu/sfs-build//arpc/.libs/libarpc.a -lresolv -lnsl -ldmalloc /home/tchu/sfs-build//async/.libs/libasync.a -lresolv -lnsl -ldmalloc /usr/lib/libgmp.a -L/usr/local/lib -ldmalloc  -Wl,--rpath -Wl,/usr/local/BerkeleyDB.3.3/lib -Wl,--rpath -Wl,/usr/local/BerkeleyDB.3.3/lib
/usr/local/BerkeleyDB.3.3/lib/libdb-3.3.so: undefined reference to `pthread_condattr_setpshared'
/usr/local/BerkeleyDB.3.3/lib/libdb-3.3.so: undefined reference to `pthread_mutexattr_destroy'
/usr/local/BerkeleyDB.3.3/lib/libdb-3.3.so: undefined reference to `pthread_mutexattr_setpshared'
/usr/local/BerkeleyDB.3.3/lib/libdb-3.3.so: undefined reference to `pthread_mutexattr_init'
/usr/local/BerkeleyDB.3.3/lib/libdb-3.3.so: undefined reference to `pthread_mutex_trylock'
collect2: ld returned 1 exit status
gmake[2]: *** [sfsrodb] error 1
gmake[2]: exit directory `/home/tchu/chord-build/sfsrodb'
gmake[1]: *** [all-recursive] error 1
gmake[1]: exit directory `/home/tchu/chord-build'
gmake: *** [all-recursive-am] error 2
------------------------------------------------------------------
The default GCC in Linux 9 is v3.2.2, just agree with the HowTo document.
I've also tried to use the --enable-posixmutexes option when compling the
BerkeyleyDB 3.3. and even tried to use BerkeyleyDB 4.1 instead.
I'm really not familiar with such compiling problems..

Could anybody here please give me some advice? Thanks in advance'


Tiancheng Hu
Kanazawa Institute of Technology, Japan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 5763 bytes
Desc: not available
Url : https://amsterdam.lcs.mit.edu/pipermail/chord/attachments/20030803/b0431adc/config.obj


More information about the chord mailing list