[Gluster-devel] gluster 1.4 compile error?

Alex Attarian u2sashko at gmail.com
Tue Sep 16 15:56:06 UTC 2008

Hi everyone,

I'm having trouble compiling gluster 1.4 with bdb. Below is the error, is
there something wrong with my bdb?

if /bin/sh ../../../../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H
-I. -I../../../../../xlators/storage/bdb/src -I../../../..    -fPIC
-DGF_LINUX_HOST_OS -Wall -I../../../../../libglusterfs/src -shared
-nostartfiles  -g -O2 -MT bdb-ll.lo -MD -MP -MF ".deps/bdb-ll.Tpo" -c -o
bdb-ll.lo ../../../../../xlators/storage/bdb/src/bdb-ll.c; \
then mv -f ".deps/bdb-ll.Tpo" ".deps/bdb-ll.Plo"; else rm -f
".deps/bdb-ll.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I../../../../../xlators/storage/bdb/src
-D_GNU_SOURCE -DGF_LINUX_HOST_OS -Wall -I../../../../../libglusterfs/src
-shared -nostartfiles -g -O2 -MT bdb-ll.lo -MD -MP -MF .deps/bdb-ll.Tpo -c
../../../../../xlators/storage/bdb/src/bdb-ll.c  -fPIC -DPIC -o
../../../../../xlators/storage/bdb/src/bdb-ll.c: In function `bdb_db_stat':
../../../../../xlators/storage/bdb/src/bdb-ll.c:353: warning: passing arg 3
of pointer to function makes integer from pointer without a cast
../../../../../xlators/storage/bdb/src/bdb-ll.c:353: error: too many
arguments to function
make[5]: *** [bdb-ll.lo] Error 1
make[5]: Leaving directory
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/gluster-1.4/glusterfs-new/build'
make: *** [all] Error 2


More information about the Gluster-devel mailing list