11-29-2005, 02:54 AM #1sjainGuestMultiple Definition error for shared libraries
I am new to this forum and this is my first posting on it. Well to sum up the issue, i am trying to build a shared libray on MAC 10.4.2 and am getting this strange error:
ld: multiple definition of symbol _SERVER_NAME_
abc.o definition of _SERVER_NAME_ in section (__DATA,__common)
xyz.o definition of _SERVER_NAME_ in section (__DATA,__common)
Could anyone please provide some info on to why i am getting this error and how can i resolve it. Please also note that i am using the -fno-common option along with my CFLAGS.
Thanks in advance. Please treat this as urgent!!!
03-28-2006, 04:42 AM #2ramprasadGuest
What kind of shared library are you creating??whether .dylib or .jnilib..Also give the full command that you use to create the shared library..I hope i may help then.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By GermarisTwo in forum OS X - Apps and GamesReplies: 0Last Post: 08-26-2014, 01:43 PM
By SteveHB in forum Switcher HangoutReplies: 2Last Post: 07-06-2014, 05:38 AM
By tato in forum iPod Hardware and AccessoriesReplies: 1Last Post: 05-21-2010, 09:07 PM
By mknabster in forum Music, Audio, and PodcastingReplies: 2Last Post: 03-16-2008, 07:54 PM
By n0r1 in forum OS X - Apps and GamesReplies: 5Last Post: 04-16-2005, 03:02 AM