[cam-users] compilation error (fwd)

Jim Rosinski rosinski at ucar.edu
Mon Jul 19 13:44:23 MDT 2004



---------- Forwarded message ----------
Date: Mon, 19 Jul 2004 11:46:01 -0600 (MDT)
From: Jim Rosinski <rosinski at cgd.ucar.edu>
To: Maisa Rojas Corradi <maisa at dgf.uchile.cl>
Cc: cam-users at ucar.edu
Subject: Re: [cam-users] compilation error

On Mon, 19 Jul 2004, Maisa Rojas Corradi wrote:

> Hello,
> I am trying to compile CAM on our linux cluster with portland group
> fortran. and I get the following error when trying to link all the **.o
> files:
>
> atm_lndMod.o(.text+0x4de): undefined reference to `t_startf_'

As Phil Rasch says, this external reference comes from the file f_wrappers.o.
In the directory where the model is built, I'd first ensure that this file
exists.  If it does not exist then it either failed to compile or "configure"
failed to build in the need for it.  Make sure Filepath (built by configure)
contains the directory ending with utils/timing.

If f_wrappers.o does exist, please do "nm f_wrappers.o".  If this spits out names
with zero or two underscores appended (e.g. t_startf or t_startf__), then it
is likely that the Makefile constructed by configure set a #define
incorrectly.  If "nm f_wrappers.o" spits out names with a single underscore
appended (e.g. t_startf_) this is correct and the next question is whether
the load step is handling the file properly.

Jim Rosinski



More information about the cam-users mailing list