• 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: Link error when building release config of framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Link error when building release config of framework


  • Subject: Re: Link error when building release config of framework
  • From: Jonas Maebe <email@hidden>
  • Date: Mon, 7 Jan 2008 17:01:04 +0100


On 07 Jan 2008, at 16:46, Steve Mills wrote:

On Jan 3, 2008, at 11:42:58, Steve Mills wrote:

BTW, I wanted to be clear that I am building with Xcode 2.5, not 3.0. This issue is still unresolved. Anyone else? Here's the error again so you don't have to track back. I have no idea what it means.

ld: /depot/8.0.x/creatortech/desktop/mac/MAAEL/build/MAAEL.build/
Release/MAAEL.build/Objects-normal/ppc/MAAEL Utes.o has local
relocation entries in non-writable section (__TEXT,__symbol_stub1)
/Xcode2.5/usr/bin/../libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool:
internal link edit command failed

Still no answers on this? I have a customer waiting for me to build a custom framework for them, which relies on this generates-errors- when-building framework. It was last built a couple years ago in CodeWarrior. They need a universal binary, so it was time to switch the projects to Xcode. But, Xcode is giving me this error that I don't understand. I'd really appreciate some help here.

Unless the original file contains assembler code (in which case the assembler code has to be made PIC-safe), this means that the file has been compiled with the -mdynamic-no-pic switch. This switch is passed to gcc when "Generate Position-Dependent Code" is selected in the build settings of your project or target. So turn off that setting.



Jonas _______________________________________________ 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: 
 >Re: Link error when building release config of framework (From: Steve Mills <email@hidden>)
 >Re: Link error when building release config of framework (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: Link error when building release config of framework
  • Next by Date: Re: Link error when building release config of framework
  • Previous by thread: Re: Link error when building release config of framework
  • Next by thread: Re: Link error when building release config of framework
  • Index(es):
    • Date
    • Thread