Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Undefined symbols
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Undefined symbols



How do you pass this flag ?

env LDFLAGS="-undefined dynamic_lookup" ./configure
broke building from the first item.

Boolegue.


On 13-Mar-08, at 3:29 PM, FX Coudert wrote:

In the process of making, objects from libgfortranbegin.a are extracted and used for linking, that linking produces the error. (linking is done with gcc)


This issue is due to the way MacOS dynamic libraries are created by the linker. Unless specific options are passed, undefined symbols are not allowed when creating the shared libraries. It seems that "- undefined dynamic_lookup" gets the compilation back on track. I hope this helps.

FX

--
François-Xavier Coudert
http://www.homepages.ucl.ac.uk/~uccafco/


_______________________________________________ Do not post admin requests to the list. They will be ignored. Fortran-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Undefined symbols (From: Antoine Dechaume <email@hidden>)
 >Re: Undefined symbols (From: Roy Mendelssohn <email@hidden>)
 >Re: Undefined symbols (From: Antoine Dechaume <email@hidden>)
 >Re: Undefined symbols (From: FX Coudert <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.