Re: Error building GlusterFS 3.3.5 on Mac OS X

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

 



Made another try with glusterfs-3.2.0 now. It fails at the same spot, but with another
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 Lion
machine 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 successor
fuse4x (http://fuse4x.org/).

./configure seems to work OK, I get this:

GlusterFS configure summary
===========================
FUSE client        : yes
Infiniband verbs   : no
epoll IO multiplex : no
argp-standalone    : yes
fusermount         : no
readline           : yes
georeplication     : no

But 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.1  
ld: duplicate symbol _k 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

My 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 make
installing 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
_________________________________________________________________

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux