[chord] compilation error

gao ying gao.ying.gy at gmail.com
Thu Oct 6 11:49:54 EDT 2005


Hello:

When making sfs, some compilation error happened.
Please give some suggestion about it . thanks a lot.

g++ -DHAVE_CONFIG_H -I. -I../../sfs-0.7.2/sfsrwsd -I..  
-I/usr/local/include -I../../sfs-0.7.2 -I../../sfs-0.7.2/async
-I../../sfs-0.7.2/arpc -I../../sfs-0.7.2/crypt
-I../../sfs-0.7.2/sfsmisc -I../../sfs-0.7.2/sfsrodb
-I../../sfs-0.7.2/adb -I../svc -I../../sfs-0.7.2/svc
-DEXECDIR=\"/usr/local/lib/sfs-0.7.2\" -DETCDIR=\"/etc/sfs\"
-DDATADIR=\"/usr/local/share/sfs\" -DPIDDIR=\"/var/run\"
-DSFSDIR=\"/var/sfs\"  -g -O2 -Wall -Werror  -c
../../sfs-0.7.2/sfsrwsd/client.C
../../sfs-0.7.2/async/ihash.h: In constructor `ihash<K, V, key, field, H,
   E>::ihash() [with K = nfs_fh3, V = filesys, K V::*key = &filesys::fh_mntpt,
   ihash_entry<V> V::*field = &filesys::mphl, H = hashfh3, E = equals<nfs_fh3>]
   ':
../../sfs-0.7.2/sfsrwsd/sfsrwsd.h:93:   instantiated from here
../../sfs-0.7.2/async/ihash.h:216: error: uninitialized member 'ihash<nfs_fh3,
   filesys, &filesys::fh_mntpt, &filesys::mphl, hashfh3, equals<nfs_fh3> >::eq'
   with 'const' type 'const equals<nfs_fh3>'
make[2]: *** [client.o] Error 1
make[2]: Leaving directory `/home/sleep/cfs/sfs-build/sfsrwsd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sleep/cfs/sfs-build'
make: *** [all-recursive-am] Error 2



More information about the chord mailing list