• 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
ld: multiply defined symbols
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ld: multiply defined symbols


  • Subject: ld: multiply defined symbols
  • From: <email@hidden>
  • Date: Fri, 6 Aug 2004 10:57:27 +0200
  • Thread-topic: multiply defined symbols

I had posted this message before, but then I forgot about the subject. Sorry.

Recently, I started working with XCode 1.2. I am trying to build a program,
including some C/C++ sources, a static library of my own (C++) and a third
party static library libxxx.a (C), built in 2002. When I build the target with
the debug style, build succeeds and I can run the program. But when I build it
with the deployment style, I get 15 messages complaining of multiply defined
symbols in libxxx.a and libSystem.B.dylib. 9 of the messages are errors, the
rest are warnings. When I look at the build log, the dylib is listed before
libxxx.a in case of error messages, and libxxx.a is listed before the dylib in
case of warnings.

Any ideas what I can do to get my program built?

Best regards
Hans-Jochen Lau
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: Where's the download link?
  • Next by Date: Re: XCode, jar and images
  • Previous by thread: Re: Where's the download link?
  • Next by thread: Linking Errors!!!
  • Index(es):
    • Date
    • Thread