Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What?



Hi Jean-Daniel,

On May 30, 2008, at 10:41 AM, Jean-Daniel Dupas wrote:
ld: absolute addressing (perhaps -mdynamic-no-pic) used in +[NSStatusBar(Addition) createStatusBarItemTiteled:withImageNamed:withAltImageNamed:doesHighlight:menu:length:] from /Users/slack/Sites and Projects/Get It Online LLC/Ring-Maker-Plugin/build/Ring-Maker-Plugin.build/Release/Ring-Maker-Bundle.build/Objects-normal/ppc/NSStatusItemAddition.o not allowed in slidable image
collect2: ld returned 1 exit status
ld: absolute addressing (perhaps -mdynamic-no-pic) used in +[NSStatusBar(Addition) createStatusBarItemTiteled:withImageNamed:withAltImageNamed:doesHighlight:menu:length:] from /Users/slack/Sites and Projects/Get It Online LLC/Ring-Maker-Plugin/build/Ring-Maker-Plugin.build/Release/Ring-Maker-Bundle.build/Objects-normal/ppc/NSStatusItemAddition.o not allowed in slidable image
collect2: ld returned 1 exit status

It's an error about binary image file (executable, library, etc…) not about image in the graphic term.

What is the value for the "Generate Position Dependant Code" in your target build settings (for your plugin)? It should be unchecked for dynamic loadable code (plugin, libraries).

I unchecked it and it works now. Can you explain what "Generate Position Dependant Code" does? I would like to understand versus just accepting the answer.

Thanks,

-JAson

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >What? (From: "J. Todd Slack" <email@hidden>)
 >Re: What? (From: Jean-Daniel Dupas <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.