Re: SFS make check error.
Maxwell Krohn <[email protected]> Thu, 11 Aug 2005 09:05:01 -0400
| Newsgroups | gmane.comp.file-systems.sfs.general |
|---|---|
| Message-ID | <[email protected]> |
I checked in a fix for this problem. Clone7 ([email protected]) wrote: > Dear all: > > I use Fedora Core3, SFS 0.8pre . > I get SFS by Anonymous CVS , and put it in /usr/local/src/sfs1-source . > > I give the following command: > sh ./setup > ./configure --with-dmalloc --with-gmp=/usr > make > make check > > %g++ -v > Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.4/specs > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit -- disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux > Thread model: posix > gcc version 3.4.4 20050721 (Red Hat 3.4.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. > > > > An error message appeared after I execute "make check" . The error > message was listed below: > > make check-recursive > make[1]: Entering directory `/usr/local/src/sfs1-source' > Making check in async > make[2]: Entering directory `/usr/local/src/sfs1-source/async' > make[2]: Nothing to be done for `check'. > make[2]: Leaving directory `/usr/local/src/sfs1-source/async' > Making check in rpcc > make[2]: Entering directory `/usr/local/src/sfs1-source/rpcc' > make check-am > make[3]: Entering directory `/usr/local/src/sfs1-source/rpcc' > make[3]: Nothing to be done for `check-am'. > make[3]: Leaving directory `/usr/local/src/sfs1-source/rpcc' > make[2]: Leaving directory `/usr/local/src/sfs1-source/rpcc' > Making check in arpc > make[2]: Entering directory `/usr/local/src/sfs1-source/arpc' > make[2]: Nothing to be done for `check'. > make[2]: Leaving directory `/usr/local/src/sfs1-source/arpc' > Making check in crypt > make[2]: Entering directory `/usr/local/src/sfs1-source/crypt' > make[2]: Nothing to be done for `check'. > make[2]: Leaving directory `/usr/local/src/sfs1-source/crypt' > Making check in svc > make[2]: Entering directory `/usr/local/src/sfs1-source/svc' > make[2]: Nothing to be done for `check'. > make[2]: Leaving directory `/usr/local/src/sfs1-source/svc' > Making check in etc > make[2]: Entering directory `/usr/local/src/sfs1-source/etc' > make[2]: Nothing to be done for `check'. > make[2]: Leaving directory `/usr/local/src/sfs1-source/etc' > Making check in uvfs > make[2]: Entering directory `/usr/local/src/sfs1-source/uvfs' > Making check in arpcgen > make[3]: Entering directory `/usr/local/src/sfs1-source/uvfs/arpcgen' > make[3]: Nothing to be done for `check'. > make[3]: Leaving directory `/usr/local/src/sfs1-source/uvfs/arpcgen' > make[3]: Entering directory `/usr/local/src/sfs1-source/uvfs' > make[3]: Nothing to be done for `check-am'. > make[3]: Leaving directory `/usr/local/src/sfs1-source/uvfs' > make[2]: Leaving directory `/usr/local/src/sfs1-source/uvfs' > Making check in libsfs > make[2]: Entering directory `/usr/local/src/sfs1-source/libsfs' > ln -s ./auth_helper_pam.c auth_helper.c > make[2]: Leaving directory `/usr/local/src/sfs1-source/libsfs' > Making check in sfsmisc > make[2]: Entering directory `/usr/local/src/sfs1-source/sfsmisc' > make[2]: Nothing to be done for `check'. > make[2]: Leaving directory `/usr/local/src/sfs1-source/sfsmisc' > Making check in doc > make[2]: Entering directory `/usr/local/src/sfs1-source/doc' > make[2]: Leaving directory `/usr/local/src/sfs1-source/doc' > Making check in nfsmounter > make[2]: Entering directory `/usr/local/src/sfs1-source/nfsmounter' > make[2]: Nothing to be done for `check'. > make[2]: Leaving directory `/usr/local/src/sfs1-source/nfsmounter' > Making check in sfscd > make[2]: Entering directory `/usr/local/src/sfs1-source/sfscd' > make[2]: Nothing to be done for `check'. > make[2]: Leaving directory `/usr/local/src/sfs1-source/sfscd' > Making check in sfsrwcd > make[2]: Entering directory `/usr/local/src/sfs1-source/sfsrwcd' > make[2]: Nothing to be done for `check'. > make[2]: Leaving directory `/usr/local/src/sfs1-source/sfsrwcd' > Making check in agent > make[2]: Entering directory `/usr/local/src/sfs1-source/agent' > make[2]: Nothing to be done for `check'. > make[2]: Leaving directory `/usr/local/src/sfs1-source/agent' > Making check in sfssd > make[2]: Entering directory `/usr/local/src/sfs1-source/sfssd' > make[2]: Nothing to be done for `check'. > make[2]: Leaving directory `/usr/local/src/sfs1-source/sfssd' > Making check in sfsrwsd > make[2]: Entering directory `/usr/local/src/sfs1-source/sfsrwsd' > make[2]: Nothing to be done for `check'. > make[2]: Leaving directory `/usr/local/src/sfs1-source/sfsrwsd' > Making check in sfsauthd > make[2]: Entering directory `/usr/local/src/sfs1-source/sfsauthd' > make[2]: Nothing to be done for `check'. > make[2]: Leaving directory `/usr/local/src/sfs1-source/sfsauthd' > Making check in tests > make[2]: Entering directory `/usr/local/src/sfs1-source/tests' > make test_aes test_aiod test_armor test_axprt test_backoff test_barrett test_bbuddy test_bitvec test_blowfish test_esign test_itree test_montgom test_mpz_raw test_mpz_square test_mpz_xor test_rabin test_sha1 test_srp test_passfd test_tiger test_timecb test_hashcash test_schnorr > make[3]: Entering directory `/usr/local/src/sfs1-source/tests' > make[3]: `test_aes' is up to date. > make[3]: `test_aiod' is up to date. > make[3]: `test_armor' is up to date. > make[3]: `test_axprt' is up to date. > make[3]: `test_backoff' is up to date. > make[3]: `test_barrett' is up to date. > make[3]: `test_bbuddy' is up to date. > make[3]: `test_bitvec' is up to date. > make[3]: `test_blowfish' is up to date. > if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -I/usr/local/include -I/usr/local/BerkeleyDB.4.3/include -DSLEEPYCAT -I.. -I../async -I../arpc -I../crypt -I../sfsmisc -I../sfsrodb -I../adb -I../svc -I../svc -DEXECDIR=\"/usr/local/lib/sfs-0.8pre\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/local/share/sfs\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -g -O2 -Wall -Werror -MT test_esign.o -MD -MP -MF ".deps/test_esign.Tpo" -c -o test_esign.o test_esign.C; \ > then mv -f ".deps/test_esign.Tpo" ".deps/test_esign.Po"; else rm -f ".deps/test_esign.Tpo"; exit 1; fi > test_esign.C:30: error: `u_int64_t stime' redeclared as different kind of symbol > /usr/include/time.h:294: error: previous declaration of `int stime(const time_t*)' > test_esign.C:30: error: declaration of `u_int64_t stime' > /usr/include/time.h:294: error: conflicts with previous declaration `int stime(const time_t*)' > test_esign.C: In function `void test_key_sign(esign_priv&)': > test_esign.C:50: error: pointer to a function used in arithmetic > test_esign.C:50: error: assignment of function `int stime(const time_t*)' > test_esign.C:50: error: cannot convert `int (*)(const time_t*) throw ()' to `int ()(const time_t*) throw ()' in assignment > test_esign.C: In function `int main(int, char**)': > test_esign.C:76: error: assignment of function `int stime(const time_t*)' > test_esign.C:76: error: cannot convert `int' to `int ()(const time_t*) throw ()' in assignment > test_esign.C:123: error: assignment of function `int stime(const time_t*)' > test_esign.C:123: error: cannot convert `long long unsigned int' to `int ()(const time_t*) throw ()' in assignment > test_esign.C:126: error: invalid operands of types `int ()(const time_t*) throw ()' and `int' to binary `operator/' > test_esign.C:156: error: assignment of function `int stime(const time_t*)' > test_esign.C:156: error: cannot convert `long long unsigned int' to `int ()(const time_t*) throw ()' in assignment > test_esign.C:159: error: invalid operands of types `int ()(const time_t*) throw ()' and `int' to binary `operator/' > make[3]: *** [test_esign.o] Error 1 > make[3]: Leaving directory `/usr/local/src/sfs1-source/tests' > make[2]: *** [check-am] Error 2 > make[2]: Leaving directory `/usr/local/src/sfs1-source/tests' > make[1]: *** [check-recursive] Error 1 > make[1]: Leaving directory `/usr/local/src/sfs1-source' > make: *** [check] Error 2 > > > It seems that a function name: "stime" in "/usr/local/src/sfs1-source/tests/test_esign.C" > have conflict with "stime" in "/usr/include/time.h" . I found the same problem in the > file: "/usr/local/src/sfs1-source/tests/test_rabin.C" . I rename the function stime in > test_esign.C and test_rabin.C, the re-making SFS, and make check again . the error > message disappeard! So, what should I do will be better? > > 1.rename the stime, and re-making SFS. > 2.Ignore the error message, execute make install. > 3.Wait until developer of SFS fix it...(eh, I don't know if this is really a problem..:P) > > Thank you in advance. > > Best Wish Clone7