Results 1 to 2 of 2
  1. #1
    Multiple 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!!!


  2. #2

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Shared libraries don't appear in sidebar
    By GermarisTwo in forum macOS - Apps and Games
    Replies: 0
    Last Post: 08-26-2014, 12:43 PM
  2. Shared libraries
    By SteveHB in forum Switcher Hangout
    Replies: 2
    Last Post: 07-06-2014, 04:38 AM
  3. Can't see shared libraries in iTunes
    By tato in forum iPod Hardware and Accessories
    Replies: 1
    Last Post: 05-21-2010, 08:07 PM
  4. Copying music from shared libraries
    By mknabster in forum Music, Audio, and Podcasting
    Replies: 2
    Last Post: 03-16-2008, 06:54 PM
  5. Downloading off shared iTunes libraries?
    By n0r1 in forum macOS - Apps and Games
    Replies: 5
    Last Post: 04-16-2005, 02:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts