This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Michael, > To: <address@hidden> > From: "Warner, Michael" <address@hidden> > Subject: netcdf error > Organization: UCAR/Unidata > Keywords: 200410121802.i9CI2pUE017471 The above message contained the following: > I am trying to compile netCDF and received the errors during the make > step - is there a fix for this, thanx... > > > delta-->/imc/data1/apps/open/src/netcdf-3.5.1/src>uname -a > Linux delta 2.4.20-20.9smp #1 SMP Mon Aug 18 11:32:15 EDT 2003 i686 i686 > i386 GNU/Linux > > > 3.5.1 ... > checking if Fortran "byte" is C "signed char"... no > checking if Fortran "byte" is C "short"... no > checking if Fortran "byte" is C "int"... no > checking if Fortran "byte" is C "long"... no > checking if Fortran "integer*2" is C "short"... no > checking if Fortran "integer*2" is C "int"... no > checking if Fortran "integer*2" is C "long"... no > checking if Fortran "integer" is C "int"... no > checking if Fortran "integer" is C "long"... no > checking if Fortran "real" is C "float"... no > checking if Fortran "real" is C "double"... no > checking if Fortran "doubleprecision" is C "double"... no > checking if Fortran "doubleprecision" is C "float"... no The above indicates that the configure script could not find any C primitive types that are equivalent to Fortran primitive types. The reason for this can be found in the file "config.log": > configure:2264: checking if Fortran "integer" is C "int" > configure:2273: /usr/bin/cc -c -Df2cFortran -DNDEBUG -O conftest.c > configure:2275: /usr/bin/g77 -O -c conftestf.f > configure:2277: /usr/bin/g77 -o conftest -O conftestf.o conftest.o > configure:2279: ./conftest > ./conftest: error while loading shared libraries: > /imc/data1/apps/open/src/gcc/g > cc-3.2/lib/libgcc_s.so.1: ELF file data encoding not little-endian It appears that you have a severe problem with your runtime environment. I suggest that you show the above error to your system administrator. Regards, Steve Emmerson