[Gluster-devel] gluster 1.4 compile error?

Harshavardhana Ranganath harsha at zresearch.com
Sun Sep 21 15:33:56 UTC 2008


Hi Alex,

    can you tell me the bdb version?

    bdb won't build in your case if the berkley db version is below 4.6.21.
Currently our checks at the
    configure were a little improper so it actually went to build bdb, it
should have been disabled in your
    case. It has been fixed in the recent patchset can you tell us if
GlusterFS build works fine.

Thanks
On Tue, Sep 16, 2008 at 9:26 PM, Alex Attarian <u2sashko at gmail.com> wrote:

> 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
> -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -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 -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
> -I../../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64
> -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
> .libs/bdb-ll.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
> `/usr/local/src/gluster-1.4/glusterfs-new/build/xlators/storage/bdb/src'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/usr/local/src/gluster-1.4/glusterfs-new/build/xlators/storage/bdb'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/usr/local/src/gluster-1.4/glusterfs-new/build/xlators/storage'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/usr/local/src/gluster-1.4/glusterfs-new/build/xlators'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/gluster-1.4/glusterfs-new/build'
> make: *** [all] Error 2
>
> Thanks,
> Alex
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>



-- 
Harshavardhana
[y4m4 on #gluster at irc.freenode.net]
"Samudaya TantraShilpi"
Z Research Inc - http://www.zresearch.com



More information about the Gluster-devel mailing list