[MITgcm-devel] make depend on sun (o:

Ed Hill ed at eh3.com
Fri Feb 25 12:07:20 EST 2005


On Fri, 2005-02-25 at 17:54 +0100, Martin Losch wrote:
> I like your idea, I have wasted so much time with xmakedepend now.

Good.  I'd like to see xmakedepend go away but its better to keep it as
a last-resort.  And a good near-term goal is to make it unnecessary on
as many machines as possible.


> I could compile cyrus-imapd-makedepend on solaris 9, which is what we 
> are using, on both machines that are really relevant (the ones that are 
> being tested every week).
> 
> this makedepend is incredibly fast, but does it do the right thing? 

Yes, its vary fast because its written in C, not shell scripts.  And it
is most likely doing the right things since we do rely on it for a
number of different machines.


> after using i get a compile error at the link step:
> 
> > Undefined                       first referenced
> >  symbol                             in file
> > timenow_                            timers.o
> > ld: fatal: Symbol referencing errors. No output written to mitgcmuv
> > collect2: ld returned 1 exit status
> > *** Error code 1
> > make: Fatal error: Command failed for target `mitgcmuv'
> 
> this has to do with some c-routines (timenow_), will I have to change 
> the FC_MANGLE stuff?

Yes, this is the Fortran-calling-C thing once again and it probably has
nothing to do with "make depend".  Could you please send me the output
from these two commands:

  nm timers.o
  nm tim.o 

and I'll tell you want to put in your optfile for the FC_NAMEMANGLE
macro for that particular setup.

Ed


-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Rm 54-1424;  77 Massachusetts Ave.
             Cambridge, MA 02139-4307
emails:  eh3 at mit.edu                ed at eh3.com
URLs:    http://web.mit.edu/eh3/    http://eh3.com/
phone:   617-253-0098
fax:     617-253-4464




More information about the MITgcm-devel mailing list