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: -multi_module problem




On Aug 27, 2006, at 21:04 , Peter O'Gorman wrote:
On Aug 28, 2006, at 12:41 PM, Justin C. Walker wrote:
[snip]
libtool -dynamic. Don't you love that g++ -dynamiclib calls libtool -dynamic which, in turn, calls ld -dylib. Makes things so easy to remember :/

This is getting to be way too much fun. I feel like I'm in a maze of twisty little passages, all alike.


Any thoughts about this nit?

g++ -g -pipe -fpic -DPIC -dynamic -single_module -twolevel_namespace - weak_reference_mismatches weak -undefined dynamic_lookup p_Procs_Lib_FieldZp.dl_og -o p_Procs_FieldZp.sog

/usr/bin/ld: -single_module or -multi_module flags can only be used when -dylib is also specified
collect2: ld returned 1 exit status


make[2]: *** [p_Procs_FieldZp.sog] Error 1

So far, I seem to have dueling commands: either 'ld' or 'libtool' does not like something I do.

Clues for the clueless? Pointers to documentation where I might see the Big Picture?

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Director
Institute for the Enhancement of the Director's Income
--------
"Weaseling out of things is what separates us from the animals.
 Well, except the weasel."
      - Homer J Simpson
--------


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

This email sent to email@hidden
References: 
 >-multi_module problem (From: "Justin C. Walker" <email@hidden>)
 >Re: -multi_module problem (From: Eric Albert <email@hidden>)
 >Re: -multi_module problem (From: "Justin C. Walker" <email@hidden>)
 >Re: -multi_module problem (From: Eric Albert <email@hidden>)
 >Re: -multi_module problem (From: "Justin C. Walker" <email@hidden>)
 >Re: -multi_module problem (From: Eric Albert <email@hidden>)
 >Re: -multi_module problem (From: "Peter O'Gorman" <email@hidden>)
 >Re: -multi_module problem (From: Eric Albert <email@hidden>)
 >Re: -multi_module problem (From: "Justin C. Walker" <email@hidden>)
 >Re: -multi_module problem (From: "Peter O'Gorman" <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.