[Gluster-users] Mac OS X 10.6.6 Compile Error

Abel Brown brown.2179 at gmail.com
Wed Feb 9 22:49:51 UTC 2011


I installed fresh copy of OS X 10.6 and updated my way to 10.6.6 and
installed Xcode 3.2.5 to get GCC and CC.  Installed latest MacFuse also.

I downloaded src from
http://download.gluster.com/pub/gluster/glusterfs/3.1/3.1.2/

Then did the standard:
     configure
     make

but the compile crashes with error:

glibtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../../../..
-I../../../../libglusterfs/src -I../../../../contrib/uuid -fPIC
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_DARWIN_HOST_OS
-I../../../../libglusterfs/src -nostartfiles -I../../../../argp-standalone
-D__DARWIN_64_BIT_INO_T -bundle -undefined suppress -flat_namespace
-D_XOPEN_SOURCE -O0 -I../../../../rpc/xdr/src -I../../../../rpc/rpc-lib/src/
-g -O2 -MT client-lk.lo -MD -MP -MF .deps/client-lk.Tpo -c client-lk.c
 -fno-common -DPIC -o .libs/client-lk.o
client-lk.c: In function ‘client_add_lock_for_recovery’:
client-lk.c:553: error: ‘EBADFD’ undeclared (first use in this function)
client-lk.c:553: error: (Each undeclared identifier is reported only once
client-lk.c:553: error: for each function it appears in.)
make[5]: *** [client-lk.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

configure output attached.


More information about the Gluster-users mailing list