[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
951106: fortran test errors in installing netCDF
- Subject: 951106: fortran test errors in installing netCDF
- Date: Mon, 06 Nov 95 15:25:52 -0700
Hongbo Qi,
> From: address@hidden (Hongbo Qi)
> Organization: Oregon State University
> Keywords: 199511062104.AA14920 netCDF Fortran jackets
In the above message you wrote:
> I was installing netCDF on SunSparc 20 running Solaris 2.1. The installation
> process was smooth until I ran the Fortran test, it couldn't find the
> xdr_* definitions. What puzzled me is that these xdr_* variables do not seem
> to be included in the Fortran codes as showed by "grep xdr_enum *" in the
> ../fortran directory, but why does it still look for their definitions?
> I included a log file of compilation in the following, your help would be
> greatly appreciated.
>
> Hongbo Qi
> College of Oceanic and Atmospheric Sciences
> Oregon State University
...
> making `test' in directory /home/whiny/dat1/nscat/HDF/HDF3.3r4/mfhdf/fortran
>
> ar rcuv ../libsrc/libnetcdf.a jackets.o mfsdf.o mfsdff.o
> ./fortc -L . -O sunos ftest.src > ftest.f
> f77 -c -O ftest.f
> ftest.f:
> MAIN ftest:
> tncacpy:
> tncadel:
> tncagt:
> tncapt:
> BLOCK DATA:
> tncddef:
> tncinq:
> tncredf:
> tncvdef:
> tncvgt:
> tncvgt1:
> tncvpt:
> tncvpt1:
> f77 -O ftest.o jackets.o mfsdf.o mfsdff.o -L../libsrc -lnetcdf
> /home/whiny/dat1/nscat/HDF/HDF3.3r4/hdf/lib/libdf.a -o ftest
> Undefined first referenced
> symbol in file
> xdr_enum ../libsrc/libnetcdf.a(array.o)
> xdr_float ../libsrc/libnetcdf.a(array.o)
> xdr_int ../libsrc/libnetcdf.a(iarray.o)
> xdr_u_long ../libsrc/libnetcdf.a(array.o)
> xdr_double ../libsrc/libnetcdf.a(array.o)
> xdr_long ../libsrc/libnetcdf.a(array.o)
> xdr_opaque ../libsrc/libnetcdf.a(array.o)
> ld: fatal: Symbol referencing errors. No output written to ftest
> *** Error code 1
I'll need more information. Would you please send me the following:
1. Output from executing the configure script.
2. Output from executing the command `uname -a'
--------
Steve Emmerson <address@hidden>