[MITgcm-devel] MITgcm on SunOS

Martin Losch mlosch at awi-bremerhaven.de
Fri Dec 17 02:22:16 EST 2004


Hi Ed,
how do you specify the cyrus-imapd-makedepend?
I went into that directory and there were a few *.c and *.o files and 
yes, now that you say it, I remember seeing an error message that 
cyrus-something failed.
in tools/cyrus-imapd-makedepend, I now type
make clean
./configure (exit 0)
make depend && make
and the compilation stalls with main.c:
invalid use of undefined type `struct sigvec'
and
storage size of `sig_act' isn't known.
and
There ain't no SUNshine when ....

Martin


On Dec 16, 2004, at 4:42 PM, Ed Hill wrote:

> On Thu, 2004-12-16 at 09:32 +0100, Martin Losch wrote:
>> My favorite topic, I know Patrick will appreciate this:
>>
>> I have changed the sunos_sun4u_f77 build_options file to replace the
>> option
>> -xarch=v9
>> by
>> -xarch=native
>> An alternative is to remove this option altogether (along with some
>> other options that are not really necessary). The -xarch=v9 option
>> prevented me from using netcdf, because my libraries have not been
>> compile with thi -xarch=v9 option (I guess).
>>
>> The other problem is xmakedepend. Because SunOS doesn't have a working
>> makedepend, we always have to specify $(TOOLSDIR)/xmakedepend. The
>> first line in xmakedepend sets the CPP flags, the first flag is
>> -tradititonal, something that not all Sun CPP's understand.
>> Do we need to have this option in xmakedepend? Wouldn't it make more
>> sense to specify -traditional in the buildoptionsfiles along with a
>> CPP='/some/cpp -P -traditional' if the traditional option is required?
>
>
> Hi Martin & Patrick,
>
> Theres another and potentially better "make depend" option!
>
> I few months back I added the "makedepend" program from the Cyrus ipamd
> project to our MITgcm/tools/cyrus-imapd-makedepend directory.  Current
> versions of genmake2 will automatically try to find a use-able
> makedepend in the following order:
>
>  - a system-wide install thats in your $PATH
>  - the cyrus-imapd-makedepend version (if its able to
>      build it)
>  - fall back to xmakedepend if nothing else works
>
> So have you tried specifying either nothing or the cyrus-imapd-
> makedepend?
>
> 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