• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: bug in gcc 4.0.1? ld: duplicate symbol typeinfo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in gcc 4.0.1? ld: duplicate symbol typeinfo


  • Subject: Re: bug in gcc 4.0.1? ld: duplicate symbol typeinfo
  • From: Xochitl Lunde <email@hidden>
  • Date: Wed, 4 Feb 2009 12:57:03 -0600


http://lists.apple.com/archives/xcode-users/2008/jan/msg00554.html

> Has any one other than Jermome Seydous (see below) and I run into this issue?

> Is there a newer version of GCC for mac OS X that fixes this bug?
> Can anyone help? Does anyone have a work around?

I am running into this issue when trying to build the libagent++ library from www.agentpp.com.
I used 'nm' command to verify that my object files also do have duplicate symbols defined.  It certainly appears to be the case.

The agent++ library only builds on the command line.  I tried making my own autogen.sh, configure.ac, and makefile.am files
for the library, but using the auto tools does not fix the problem.  ( libagent++ builds using its own Makefile.linux + common.mk)

$> gcc --version
i686-apple-darwin-9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)

So you see, I have the same gcc version as you have.

An Agentpp list user pointed out your poblem to me after I posted it on the agentpp list:

> Some other search results state that is has something to do with inline,
> but I will have to read some more, to find a solution.


I had considered trying to find the cause of the problem by breaking up the problem source files into smaller source files,
to see if the problem could be isolated or if it would propagate into the additional files.  If I have the time to do this, I will
let you know of the result.

Please keep us (or at least me) updated on this thread! Thanks!

Xochitl Lunde
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Problem with (Saturn) Profiler
  • Next by Date: Re: Problem with (Saturn) Profiler
  • Previous by thread: Re: Editor Performance Issue
  • Next by thread: Re: bug in gcc 4.0.1? ld: duplicate symbol typeinfo
  • Index(es):
    • Date
    • Thread