[chord] fixed sfs-build dir problem - now _xfree_wrap problem

Edward Tsai edwardt at CS.UCLA.EDU
Fri Oct 17 00:31:14 EDT 2003


hello everyone,

i had a problem in running configure from the sfs-build directory, but
then i just removed everything and rebuilt...

then i ran into an error that said i didn't have dmalloc.h, so i went to
install the dmalloc package.

then i reinstalled sfs again (according to the Chord How-To section)

then when i redid all the steps, and i ran "gmake" - i ran into the
following problem -

gcc -DHAVE_CONFIG_H -I. -I/home/etsai/sfs-0.7.2/async -I..
-I/usr/local/include
-I/usr/local/BerkeleyDB.3.1/include -DSLEEPYCAT -I/home/etsai/sfs-0.7.2
-I/home/etsai/sfs-0.7.2/async -I/home/etsai/sfs-0.7.2/arpc
-I/home/etsai/sfs-0.7.2/crypt -I/home/etsai/sfs-0.7.2/sfsmisc
-I/home/etsai/sfs-0.7.2/sfsrodb -I/home/etsai/sfs-0.7.2/adb -I../svc
-I/home/etsai/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
/home/etsai/sfs-0.7.2/async/clock_gettime.c -MT clock_gettime.lo -MD -MP
-MF .deps/clock_gettime.TPlo -o clock_gettime.o
cc1: changing search order for system directory "/usr/local/include"
cc1:   as it has already been specified as a non-system directory
cc1: warnings being treated as errors
In file included from /home/etsai/sfs-0.7.2/async/clock_gettime.c:25:
/home/etsai/sfs-0.7.2/async/sysconf.h: In function `_xfree_wrap':
/home/etsai/sfs-0.7.2/async/sysconf.h:458: warning: implicit declaration
of function `_xfree_leap'
gmake[2]: *** [clock_gettime.lo] Error 1
gmake[2]: Leaving directory `/home/etsai/sfs-build/async'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/etsai/sfs-build'
gmake: *** [all] Error 2
[root at icecream sfs-build]#


that is, some "hack" within sysconf.h for dmalloc now gets a warning when
i run gmake - what should i do now?

thanks.

-Edward





More information about the chord mailing list