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: Undefined symbols not listed!




On Aug 2, 2006, at 10:38 AM, Alain Filhol wrote:

I successfully compiled a large Fortran 77 program with the Intel's Fortran compiler m_fc_c_9.1.027 in xCode. However I had problems with the "undefined symbols". xCode reports the error but do not list the missing symbols.


What xCode displays:


  Linking /Users/Alain/Documents/MyProj/build/Development/MyProj (1 error, 1 warning)

  Undefined symbols:

              <-- no symbol name displayed here !!!!


What I get if I Copy/Paste the window contents to TextEdit or BBedit :


_MissingSymbol1_      <-- the full list of missing symbols !!!

_MissingSymbol2_

...............

  /Users/Alain/Documents/MyProj/build/MyProj_Intel.build/Development/MyProj.build/Objects-normal/i386/myFile1.o

  reference to undefined _MissingSymbol1_

  /Users/Alain/Documents/MyProj/build/MyProj_Intel.build/Development/MyProj.build/Objects-normal/i386/myFile2.o

  reference to undefined _MissingSymbol2_

...............


Is there a trick that forces xCode to provide the full display of the error messages ?

Is this a bug of the compiler implementation in xCode ?


Use the Show Build Transcript button (looks like a tiny box with text lines in it) to open the split view and reveal the full build transcript. The full text of all build tool errors and warnings are shown there.

You don't mention what version of Xcode you are using, but the Undefined Symbols are missing due to a bug in Xcode 2.2 and earlier, but are shown correctly in Xcode 2.3.

This is a linker issue, not a compiler issue, but the linker is driven by the compiler, and it's possible that the Intel Fortran compiler driver is not passing the correct flags to the Linker.

Chris
 _______________________________________________
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: 
 >Undefined symbols not listed! (From: Alain Filhol <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.