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

Martin Losch mlosch at awi-bremerhaven.de
Fri Feb 25 11:54:04 EST 2005


I like your idea, I have wasted so much time with xmakedepend now.

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? 
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?

Martin


On Feb 25, 2005, at 5:22 PM, Ed Hill wrote:

> On Fri, 2005-02-25 at 12:04 +0100, Martin Losch wrote:
>> Hi Ed,
>>
>> my favorite topic: SunOS
>> I am having with make depend (which uses xmakedepend on SunOS).
>
>
> Hi Martin,
>
> I think xmakedepend is a piece of junk.  Its only there as an emergency
> last-resort for situations where the system doesn't have a usable
> makedepend or can't build the cyrus-imapd-makedepend.
>
> So I just made a tiny change to the cyrus-imapd-makedepend and it now
> compiles and runs nicely on slough.  Can you please check whether the
> following works on *ALL* your Suns:
>
>   cd MITgcm/tools/cyrus-imapd-makedepend
>   cvs -q up
>   ./configure
>   make
>
> and let me know?  The idea is that, if we can get the cyrus-imapd-
> makedepend to build and work on the Suns, then it is a *much* superior
> solution than mucking around with xmakedepend.
>
> 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
>
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://dev.mitgcm.org/mailman/listinfo/mitgcm-devel




More information about the MITgcm-devel mailing list