[MITgcm-support] Pb with compilation: make:

Ed Hill ed at eh3.com
Mon Jun 6 20:13:44 EDT 2005


On Mon, 2005-06-06 at 16:10 -0400, Nicolas Wienders wrote:
> 
> > Please add this line:
> > 
> >   FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) _ ## X"
> > 
> > to your optfile and try again.
> 
> Ed,
> 
> I just tried.
> The same problem is still present:
> 
> /usr/bin/ld: Undefined symbols:
> _system_time
> _timenow
> _user_time
> make: *** [mitgcmuv] Error 1


Hi Nicolas,

You're getting exactly the same error and I'm concerned that you didn't
do a "make CLEAN" to flush out the results from the previous build.  So,
please add the following line:

  FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) _ ## X"

to your optfile first and then run:

  make CLEAN
  make makefile    # <=== this will re-run genmake2
  make depend
  make

which should do a completely fresh build.

thanks,
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-support mailing list