• 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: Xcode 2.2: /usr/bin/ld: Undefined symbols: __Unwind_Resume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 2.2: /usr/bin/ld: Undefined symbols: __Unwind_Resume


  • Subject: Re: Xcode 2.2: /usr/bin/ld: Undefined symbols: __Unwind_Resume
  • From: Eric Albert <email@hidden>
  • Date: Mon, 21 Nov 2005 10:42:01 -0800

On Nov 21, 2005, at 10:38 AM, Dave McCaldon wrote:

It's a bit of a catch-22.

Hmmm ... the problem is that this is actually an apache module built by apxs, which in turn uses their own libtool (in $PREFIX/ build) to do the actual linking.

Are there any LDOPTS I can pass to make ld be in "C++" mode?

ld doesn't know about either C or C++. More specifically, it doesn't know which files the compiler needs for all of the various options which can be passed. That's why linking with gcc or g++ is recommended (and I think libtool typically does exactly that).


I guess I can edit the libtool script, but then I'm not sure I'll be able to compile C-only modules anymore!

They'll work. You can use g++ to build C code; it'll just link in some unnecessary C++ stuff.


-Eric

_______________________________________________
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


  • Follow-Ups:
    • Re: Xcode 2.2: /usr/bin/ld: Undefined symbols: __Unwind_Resume
      • From: Dave McCaldon <email@hidden>
References: 
 >Xcode 2.2: /usr/bin/ld: Undefined symbols: __Unwind_Resume (From: Dave McCaldon <email@hidden>)
 >Re: Xcode 2.2: /usr/bin/ld: Undefined symbols: __Unwind_Resume (From: Eric Albert <email@hidden>)
 >Re: Xcode 2.2: /usr/bin/ld: Undefined symbols: __Unwind_Resume (From: Dave McCaldon <email@hidden>)

  • Prev by Date: Re: Xcode 2.2: /usr/bin/ld: Undefined symbols: __Unwind_Resume
  • Next by Date: Re: Xcode 2.2: /usr/bin/ld: Undefined symbols: __Unwind_Resume
  • Previous by thread: Re: Xcode 2.2: /usr/bin/ld: Undefined symbols: __Unwind_Resume
  • Next by thread: Re: Xcode 2.2: /usr/bin/ld: Undefined symbols: __Unwind_Resume
  • Index(es):
    • Date
    • Thread