gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gluster-devel] compile error


From: chawkins
Subject: [Gluster-devel] compile error
Date: Thu, 17 Jul 2008 09:02:18 -0400 (EDT)

Having a problem compiling 3.0 branch tla checkout... On one machine (one cpu, 
centos, vanilla kernel 2.6.18.8), it compiles fine. On another (smp, dual xeon, 
centos, 2.6.9-67.0.20.ELsmp) it crashes (see below). This is the first time I 
have tried to compile on this box, so it may not be something from the last 
patch, but something from 3.0 in general. The latest tarball from 1.3.9 
compiles ok. Looks like the bdb code?

...
...
Making all in bdb
make[4]: Entering directory `/root/distrib/gluster-client/xlators/storage/bdb'
Making all in src
make[5]: Entering directory 
`/root/distrib/gluster-client/xlators/storage/bdb/src'
if gcc -DHAVE_CONFIG_H -I. -I. -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 bctx.o -MD -MP 
-MF ".deps/bctx.Tpo" -c -o bctx.o bctx.c; \
then mv -f ".deps/bctx.Tpo" ".deps/bctx.Po"; else rm -f ".deps/bctx.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -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.o -MD 
-MP -MF ".deps/bdb-ll.Tpo" -c -o bdb-ll.o bdb-ll.c; \
then mv -f ".deps/bdb-ll.Tpo" ".deps/bdb-ll.Po"; else rm -f ".deps/bdb-ll.Tpo"; 
exit 1; fi
bdb-ll.c: In function `bdb_get_db_stat':
bdb-ll.c:307: warning: passing arg 3 of pointer to function makes integer from 
pointer without a cast
bdb-ll.c:307: error: too many arguments to function
make[5]: *** [bdb-ll.o] Error 1
make[5]: Leaving directory 
`/root/distrib/gluster-client/xlators/storage/bdb/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/root/distrib/gluster-client/xlators/storage/bdb'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/distrib/gluster-client/xlators/storage'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/distrib/gluster-client/xlators'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/distrib/gluster-client'
make: *** [all] Error 2

Any suggestions for how I can troubleshoot or help you troubleshoot?  Thanks!

Chris




reply via email to

[Prev in Thread] Current Thread [Next in Thread]