[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

960321: netCDF configuration problem



>From: address@hidden (michele petrie)
>Organization: UCSD
>Keywords: 199603202209.AA18949 netCDF make

Michele,

>Well Tom, I got past the first problem using your suggestion but have hit
>another obstacle.  Please find attached the output from make "test".
>
>Thanks for any and all help.
>
>Michele Petrie
>Scripps Institution of Oceanography, 0221
>La Jolla, CA 92093
>
>Tel. (619) 534-0833
>FAX  (619) 534-7452
>
>e-mail:  address@hidden
>----------
>./ncgen/ncgen -o test0.nc -n test0.cdl
>./ncdump test0.nc > test1.cdl
>../ncgen/ncgen -o test1.nc -n test1.cdl
>./ncdump -n test0 test1.nc > test2.cdl
>*** ncdump test successful ***
>
>returning to directory /seven/cdf/netcdf-2.4.1/src
>
>
>making `test' in directory /seven/cdf/netcdf-2.4.1/src/ncgen
>
>./ncgen -b test1.cdl
>../ncdump/ncdump test1.nc > test2.cdl
>*** ncgen -b test successful ***
>./ctest0                # tests `-c' option, creates ctest0.nc
>../ncdump/ncdump -n test1 ctest0.nc > ctest1.cdl
>*** ncgen -c test successful ***
>`netcdf.inc' is up to date.
>test0.f:
> MAIN fgennc:
>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(array.o)
>xdr_vector                          ../libsrc/libnetcdf.a(sharray.o)
>xdr_u_long                          ../libsrc/libnetcdf.a(array.o)
>xdr_double                          ../libsrc/libnetcdf.a(array.o)
>xdr_long                            ../libsrc/libnetcdf.a(dim.o)
>xdr_opaque                          ../libsrc/libnetcdf.a(array.o)
>ld: fatal: Symbol referencing errors. No output written to ftest0
>*** Error code 1
>make: Fatal error: Command failed for target `ftest0'
>Current working directory /seven/cdf/netcdf-2.4.1/src/ncgen
>*** Error code 1
>make: Fatal error: Command failed for target `ftest'
>Current working directory /seven/cdf/netcdf-2.4.1/src/ncgen
>*** Error code 1
>make: Fatal error: Command failed for target `ncgen/test'
>myfanwy2{rogers}361: 

This is caused from the same problem as the previous one your asked
about.  It appears that the configure script run on your system did not
create the makefile for this test routine correctly.  The fix is the
same as in the other case: add the search of the nsl library so that
the xdr routines can be found.

If you rerun configure capturing the output to a file and send it to us,
we can get to the bottom of why it is not creating the makefiles correctly.
I suspect that it must be something in your environment since we regularly
build the netCDF on our Solaris 2.4/5 platforms.

Tom Yoksas