NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Linux & netcdf-3.4

Hi,

I have just installed netcdf-3.4 on my PowerPC running Linux 
(pmac version 2.1.24), using egcs (instead of gcc-2.7.2).

environment settings:
   CPPFLAGS=-Df2cFortran
   CC=gcc
   CFLAGS="-O2 -fomit-frame-pointer -fsigned-char -pipe"
   FC=g77
   FFLAGS=-O2
   CXX=g++
   CXXFLAGS="$CFLAGS"

The compilations failed, while compiling ncgen/genlib.c due to an unused
definition at line 1204:

#define fpr    (void) fprintf

removing this line, and everything compiled just fine (C, Fortran and C++)

Thanks,

Richard

---
        e-mail  : Richard van Hees <R.M.vanHees@xxxxxxxxxx>
        date      : 10-Mar-98
        phone   : +31 (0)30 2532978
        www     : http://www.fys.ruu.nl/~hees


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