Description of problem: Can't build on mac. Throws error Version-Release number of selected component (if applicable): How reproducible: Consistently reproducible. Steps to Reproduce: 1. Download source on Mac 10.8 Mountain Lion and extract 2. $ ./configure 3. $ make Actual results: Error with clang. Expected results: Make should complete Additional info: Partial error log: all -fno-strict-aliasing -DGFDARWIN_HOST_OS -I../../../../libglusterfs/src -I../../../../xlators/lib/src -I../../../../argp-standalone -D_DARWIN_64_BIT_INO_T -bundle -undefined suppress -flat_namespace -D_XOPEN_SOURCE -O0 -nostartfiles -g -O2 -MT marker-common.lo -MD -MP -MF .deps/marker-common.Tpo -c marker-common.c -fno-common -DPIC -o .libs/marker-common.o In file included from ../../../../libglusterfs/src/stack.h:46, from ../../../../libglusterfs/src/xlator.h:71, from ../../../../libglusterfs/src/inode.h:42, from marker-common.h:27, from marker-common.c:24: ../../../../libglusterfs/src/globals.h:26: warning: unknown option after '#pragma GCC diagnostic' kind glibtool: link: cc -Wl,-undefined -Wl,dynamic_lookup -o .libs/marker.0.so -bundle .libs/marker.o .libs/marker-quota.o .libs/marker-quota-helper.o .libs/marker-common.o ../../../../libglusterfs/src/.libs/libglusterfs.dylib -ll -lpthread -O0 -O2 duplicate symbol _k in: .libs/marker.o .libs/marker-quota.o duplicate symbol _k in: .libs/marker.o .libs/marker-quota-helper.o duplicate symbol _k in: .libs/marker.o .libs/marker-common.o ld: 3 duplicate symbols for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[5]: *** [marker.la] 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
try glusterfs-3.4.0qa6 and this issue should be fixed.