duplicate symbol error ...
glibtool: link: gcc -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.0.0.0.dylib -lfl -lpthread
ld: duplicate symbol _volname in .libs/marker-quota.o and .libs/marker.o for architecture x86_64
collect2: ld returned 1 exit status
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
On Tue, Nov 22, 2011 at 5:26 PM, Markus Hubig <mhubig@xxxxxxx> wrote:
Hi @all,im trying to compile GlusterFS (or at least the Client part for now) on my Mac OS X Lionmachine to build a working Homebrew (http://mxcl.github.com/homebrew/) formular ...since MacFuse is no longer maintained and not available within brew im using his successorfuse4x (http://fuse4x.org/)../configure seems to work OK, I get this:GlusterFS configure summary===========================FUSE client : yesInfiniband verbs : noepoll IO multiplex : noargp-standalone : yesfusermount : noreadline : yesgeoreplication : noBut when I try to build it I get this strage error:glibtool: link: gcc -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.0.0.0.dylib -lfl -lpthread -march=core2 -msse4.1ld: duplicate symbol _k in .libs/marker-quota.o and .libs/marker.o for architecture x86_64collect2: ld returned 1 exit statusmake[5]: *** [marker.la] Error 1make[4]: *** [all-recursive] Error 1make[3]: *** [all-recursive] Error 1make[2]: *** [all-recursive] Error 1make[1]: *** [all-recursive] Error 1make: *** [all] Error 2My wild guess is I'm using either a wrong compiler (llvm?) or some wrong library version ...The complete output of ./configure & make can be found here (https://gist.github.com/1386044)It would be nice if someone can have a look on that, course having a brew formular would makeinstalling glusterfs on Mac as easy as:
brew install glusterfs- Markus
__________________________________________________________________
IMKO Micromodultechnik GmbH
Markus Hubig
Development & Research
Im Stoeck 2
D-76275 Ettlingen / GERMANY
HR: HRB 360936 Amtsgericht Mannheim
President: Dipl.-Ing. (FH) Kurt Koehler
Tel: 0049-(0)7243-5921-26
Fax: 0049-(0)7243-5921-40
e-mail: mhubig@xxxxxxx
internet: www.imko.de
_________________________________________________________________