• 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: Linking objects causes "Can't be a weak definition" LD error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking objects causes "Can't be a weak definition" LD error


  • Subject: Re: Linking objects causes "Can't be a weak definition" LD error
  • From: Paul Walmsley <email@hidden>
  • Date: Mon, 24 Jul 2006 21:55:42 +0100


I am linking to stdlibc++
I think I've encountered this sort of error before. Are you linking explicitly to libc++? If so, try omitting the -lc++ link flag, or swap the order of -lc and -lc++

Paul
_______________________________________________
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


References: 
 >Linking objects causes "Can't be a weak definition" LD error (From: Aaron Kobayashi <email@hidden>)

  • Prev by Date: Progress updates in all windows?
  • Next by Date: Re: Progress updates in all windows?
  • Previous by thread: Re: Linking objects causes "Can't be a weak definition" LD error
  • Next by thread: linking two-level namespace library against flatnamespace one
  • Index(es):
    • Date
    • Thread