• 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 v2.5 no longer compiles project without errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode v2.5 no longer compiles project without errors


  • Subject: Re: Xcode v2.5 no longer compiles project without errors
  • From: Chris Espinosa <email@hidden>
  • Date: Mon, 17 Dec 2007 23:39:30 -0800

On Dec 16, 2007, at 1:55 PM, Thomas A. Creedon wrote:

I have recently installed Leopard and upgraded my Xcode v2.4 installation to v2.5. My project that compiled under v2.4 without errors, doesn't compile under v2.5 and now has errors.

The problem is in a final Run Script Phase where some post linking activity occurs via shell scripts. I have isolated this, now new, error situation to a test case.

In Terminal at the shell prompt I run the command...

cc -o test test.c

...and the error returned is...

/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: /usr/lib/gcc/ powerpc-apple-darwin8/4.0.1/../../../libSystem.dylib unknown flags (type) of section 9 (__TEXT,__dof_plockstat) in load command 0
collect2: ld returned 1 exit status


test.c contains the following... ( although I'm pretty sure the error isn't realted to the code )

int main () {
	return 0;
	}

Anyone have any thoughts how I can get cc working again or an alternate means to compile my test case test.c from the command line?

Any information you need?  Just ask!

Thank you,

Toodle-looooooooooo...........
Thomas

Your Xcode 2.5 installation is invoking old Xcode 2.4 functionality on Leopard, which won't work. When using Xcode 2.5 on Leopard, you shouldn't be using any content from /usr/lib.


Use the xcode-select tool to point your command-line utilities at the Xcode 2.5 installation, or change your script to refer to the tools relative to the ${DEVELOPER_DIR}/usr/libexec.

Chris
_______________________________________________
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: 
 >Xcode v2.5 no longer compiles project without errors (From: "Thomas A. Creedon" <email@hidden>)

  • Prev by Date: Re: Interpreting "undefined symbols" {almost fixed}
  • Next by Date: Custom View refuses to pop up for editing in IB 3.0
  • Previous by thread: Xcode v2.5 no longer compiles project without errors
  • Next by thread: Re: Xcode v2.5 no longer compiles project without errors
  • Index(es):
    • Date
    • Thread