Re: linking netcdf on Linux

Matt:

Yes!  Adding -Msecond_underscore to compiler flags worked.
Thanks very much to Matthew Bettencourt!

--Ben


>Delivered-To: foster@xxxxxxxx
>Date: Mon, 12 May 2003 13:17:01 -0500
>From: Matthew Bettencourt <matt@xxxxxxxxxxxxxxxx>
>User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314
>X-Accept-Language: en-us, en
>MIME-Version: 1.0
>To: Ben Foster <foster@xxxxxxxxxxxx>
>Cc: netcdfgroup@xxxxxxxxxxxxxxxx
>Subject: Re: linking netcdf on Linux
>Content-Transfer-Encoding: 7bit
>X-Spam-Status: No, hits=-7.8 required=5.0 
tests=IN_REP_TO,NOSPAM_INC,REFERENCES,SPAM_PHRASE_00_01, 
USER_AGENT,USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG version=2.41
>X-Spam-Level: 
>
>Try adding
>-Msecond_underscore
>to the compile and link lines.  That will make nf_strerror_ 
>nf_strerror__ which is what is std in the lib.  Do a google on g77 
>underscore and you will find a lot of docs on the great idea that the 
>g77 team had in adding underscores.   Ugh
>Matt
>

-----------------------------------------------------------------------
Ben Foster                      High Altitude Observatory (HAO)
foster@xxxxxxxx                 phone: 303-497-1595  fax: 303-497-1589  
Nat. Center for Atmos. Res.     P.O. Box 3000 Boulder CO 80307 USA
-----------------------------------------------------------------------


  • 2003 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: