Re: REPOST: "local relocation entries in non-writable section" error
Re: REPOST: "local relocation entries in non-writable section" error
- Subject: Re: REPOST: "local relocation entries in non-writable section" error
- From: Chris Ridd <email@hidden>
- Date: Tue, 22 Nov 2005 09:49:14 +0000
- Thread-topic: REPOST: "local relocation entries in non-writable section" error
On 22/11/05 9:30, Martin Crane <email@hidden> wrote:
> I posted this question yesterday, but there were no replies. Nobody
> has any suggestions?
>
> I am moving from CodeWarrior to XCode, so I have joined this list.
> Here is my first question:
>
> Can anyone tell me how to overcome the following error I get when
> compiling? :
>
> ...has local relocation entries in non-writable section (__TEXT,__text)
>
> The error refers to an object file that was produced in another XCode
> project and is subsequently included in the project I am working on.
Is there anything unusual in the .o file with this error? Large numbers of
initialised file-scope variables, functions, that sort of thing?
The otool command might be able to give you some clues.
> After googling around for this error, I've tried going back to GCC
> 3.3, tried setting compiler flags for -mdynamic -no-pic, and linker
> flags to -Wl,-read_only_relocs,warning. But no change..
Cheers,
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