[chord] Can't find dhblock_storage.h

Frank Dabek fdabek at MIT.EDU
Thu Aug 18 10:49:24 EDT 2005


Clone7,

	dhblock_storage.[Ch] should be created from the .x file
dhblock_storage.x by running it through rpcc. Make sure that this step
is happening without errors.

--Frank

Clone7 wrote:
> Dear all:
>  
>         I use Fedora Core3, SFS 0.8pre .
>         I get Chord by Anonymous CVS , and put it in 
> /usr/local/src/sfsnet-source .
>         I build my source in /usr/local/src/sfsnet-build/ .
>         I download chord in August 9 ,2005 .
>  
>         I encountered a problem during make. I didn't find 
> dhblock_storage.h and
>         dhblock_storage.C  in /usr/local/src/sfsnet-source/dhash , nor 
> in /usr/local/src/sfsnet-build.
>  
>         The command I give:
>  
>         cd /usr/local/src/sfsnet-source
>         ./setup
>         cd ..
>         mkdir sfsnet-build
>         cd sfsnet-build
>         ../sfsnet-source/configure --with-dmalloc 
> --with-sfs=/usr/local/src/sfs1-source/ --with-gmp=/usr 
> --srcdir=/usr/local/src/sfsnet-source/ "CC=gcc33" "CXX=g++33" "CPP=gcc33 
> -E" "CXXCPP=g++33 -E"
>         make
>  
>  
>  
>  
>         The version of software which I used:
>  
>         gcc33 -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.4/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
> --infodir=/usr/share/info --enable-shared --enable-threads=posix 
> --disable-checking --disable-libunwind-exceptions --with-system-zlib 
> --enable-__cxa_atexit --enable-languages=c,c++,objc,java,f77 
> --host=i386-redhat-linux
> Thread model: posix
> gcc version 3.3.4 20040817 (Red Hat Linux 3.3.4-2)       
>  
>         g++33 -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.4/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
> --infodir=/usr/share/info --enable-shared --enable-threads=posix 
> --disable-checking --disable-libunwind-exceptions --with-system-zlib 
> --enable-__cxa_atexit --enable-languages=c,c++,objc,java,f77 
> --host=i386-redhat-linux
> Thread model: posix
> gcc version 3.3.4 20040817 (Red Hat Linux 3.3.4-2)
>  
>         gmake -v
> GNU Make 3.80
> Copyright (C) 2002  Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
>  
>         autoconf : 2.59
>         automake : 1.9.2
>         m4 : 1.4.1
>  
>  
>  
>  
>         The error message I got :
>  
> make  all-recursive
> make[1]: Entering directory `/usr/local/src/sfsnet-build'
> Making all in svc
> make[2]: Entering directory `/usr/local/src/sfsnet-build/svc'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/usr/local/src/sfsnet-build/svc'
> Making all in utils
> make[2]: Entering directory `/usr/local/src/sfsnet-build/utils'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/usr/local/src/sfsnet-build/utils'
> Making all in merkle
> make[2]: Entering directory `/usr/local/src/sfsnet-build/merkle'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/usr/local/src/sfsnet-build/merkle'
> Making all in chord
> make[2]: Entering directory `/usr/local/src/sfsnet-build/chord'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/usr/local/src/sfsnet-build/chord'
> Making all in dhc
> make[2]: Entering directory `/usr/local/src/sfsnet-build/dhc'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/usr/local/src/sfsnet-build/dhc'
> Making all in dhash
> make[2]: Entering directory `/usr/local/src/sfsnet-build/dhash'
> if g++33 -DHAVE_CONFIG_H -I. -I/usr/local/src/sfsnet-source/dhash -I..   
> -I../svc -I/usr/local/src/sfsnet-source/lsd 
> -I/usr/local/src/sfsnet-source/svc 
> -I/usr/local/src/sfsnet-source/sfsrodb 
> -I/usr/local/src/sfsnet-source/dhash -I/usr/local/src/sfsnet-source/dhc 
> -I/usr/local/src/sfsnet-source/chord 
> -I/usr/local/src/sfsnet-source/merkle 
> -I/usr/local/src/sfsnet-source/utils  -I/usr/local/src/sfs1-source/ 
> -I/usr/local/src/sfs1-source//./async 
> -I/usr/local/src/sfs1-source//./arpc 
> -I/usr/local/src/sfs1-source//./crypt 
> -I/usr/local/src/sfs1-source//./sfsmisc 
> -I/usr/local/src/sfs1-source//svc -I/usr/local/include 
> -I/usr/local/BerkeleyDB.4.3/include -DSLEEPYCAT  -g -O2 -Wall -Werror  
> -MT dhblock_noauth.o -MD -MP -MF ".deps/dhblock_noauth.Tpo" -c -o 
> dhblock_noauth.o /usr/local/src/sfsnet-source/dhash/dhblock_noauth.C; \
> then mv -f ".deps/dhblock_noauth.Tpo" ".deps/dhblock_noauth.Po"; else rm 
> -f ".deps/dhblock_noauth.Tpo"; exit 1; fi
> /usr/local/src/sfsnet-source/dhash/dhblock_noauth.C:3:29: 
> dhblock_storage.h: No such file or directory
> /usr/local/src/sfsnet-source/dhash/dhblock_noauth.C: In static member 
> function
>    `static vec<str, 0> dhblock_noauth::get_payload(const char*, unsigned 
> int)':
> /usr/local/src/sfsnet-source/dhash/dhblock_noauth.C:19: error: 
> `noauth_block'
>    undeclared (first use this function)
> /usr/local/src/sfsnet-source/dhash/dhblock_noauth.C:19: error: (Each 
> undeclared
>    identifier is reported only once for each function it appears in.)
> /usr/local/src/sfsnet-source/dhash/dhblock_noauth.C:19: error: `block'
>    undeclared (first use this function)
> /usr/local/src/sfsnet-source/dhash/dhblock_noauth.C:19: error: syntax error
>    before `(' token
> /usr/local/src/sfsnet-source/dhash/dhblock_noauth.C:20: error: `
>    xdr_noauth_block' undeclared (first use this function)
> /usr/local/src/sfsnet-source/dhash/dhblock_noauth.C: In static member 
> function
>    `static str dhblock_noauth::marshal_block(vec<str, 0>)':
> /usr/local/src/sfsnet-source/dhash/dhblock_noauth.C:48: error: `newblock'
>    undeclared (first use this function)
> /usr/local/src/sfsnet-source/dhash/dhblock_noauth.C:48: error: syntax error
>    before `(' token
> /usr/local/src/sfsnet-source/dhash/dhblock_noauth.C:59: error: `
>    xdr_noauth_block' undeclared (first use this function)
> make[2]: *** [dhblock_noauth.o] Error 1
> make[2]: Leaving directory `/usr/local/src/sfsnet-build/dhash'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/sfsnet-build'
> make: *** [all] Error 2
>  
>  
>         Thank you in Advance.
>  
>                         Best Wish  Clone7
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> chord mailing list
> chord at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/chord



More information about the chord mailing list