Bug 765024 (GLUSTER-3292) - Linking failure with duplicate symbol _volname
Summary: Linking failure with duplicate symbol _volname
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-3292
Product: GlusterFS
Classification: Community
Component: quota
Version: 3.2.2
Hardware: x86_64
OS: Mac OS
urgent
medium
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-31 19:20 UTC by cove_s
Modified: 2011-08-05 19:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description cove_s 2011-07-31 19:20:37 UTC
Under OSX 10.7 Lion, compiling from source:
ld: duplicate symbol _volname in .libs/marker-quota.o and .libs/marker.o for architecture x86_64

Seems to have something with an the char array volname being defined in marker-quota.h and then included in multiple files.

Comment 1 Junaid 2011-08-01 02:52:49 UTC
Can you provide the glusterfs version that you are using?

Comment 2 cove_s 2011-08-01 02:58:44 UTC
Shoot, sorry: 3.2.2

Comment 3 ukastens 2011-08-05 11:05:06 UTC
I have the same issue with Mac OS X 10.6.8 (10K549). I tested several versions from gluster 3.1.x, 3.2.x and the latest beta. The error ist still the same. 

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 _k in .libs/marker-quota.o and .libs/marker.o
collect2: ld returned 1 exit status

Comment 4 ukastens 2011-08-05 16:43:41 UTC
Looks like there is a fix within Bug 2966


Note You need to log in before you can comment on or make changes to this bug.