[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unresolved: _Esignal
- Subject: Re: unresolved: _Esignal
- Date: Tue, 09 Dec 97 10:03:03 -0700
Xiangdong,
>Date: Tue, 9 Dec 1997 08:38:54 -0800 (PST)
>From: Xiangdong Zhang <address@hidden>
>Organization: .
>To: address@hidden (Steve Emmerson)
>Subject: Re: unresolved: ncopn, ncinq, ncdinq, etc.
>Keywords: 199712090440.VAA16838
In the above message, you wrote:
> hi, Steve,
>
> thank you for your message. i have tried again. but it failed. maybe it is
> caused by that there is no fortran on my own computer. i use fortran via
> network on other computer. when i "make test", the following messages
> appeared:
>
> ========
> Making `test' in directory /disk1d/xdz/netCDF/netcdf-3.3.1/src/fortran
>
> ar cru ../libsrc/libnetcdf.a fort-attio.o fort-control.o fort-dim.o
> fort-genatt.o fort-geninq.o fort-genvar.o fort-lib.o fort-misc.o
> fort-v2compat.o fort-vario.o fort-var1io.o fort-varaio.o fort-varmio.o
> fort-varsio.o
> ranlib ../libsrc/libnetcdf.a
> f77 -o ftest -O ftest.o ../libsrc/libnetcdf.a
> f77 does not exist on this machine, trying machine romeo
> ./ftest
> *** Testing nccre ...
> *** Testing ncddef ...
> *** Testing ncvdef ...
> *** Testing ncapt, ncaptc ...
> *** Testing ncclos ...
> *** Testing ncvpt1 ...
> *** Testing ncvgt1 ...
> *** Testing ncvpt ...
> *** Testing ncopn, ncinq, ncdinq, ncvinq, ncanam, ncainq ...
> *** Testing ncvgt, ncvgtc ...
> *** Testing ncagt, ncagtc ...
> *** Testing ncredf, ncdren, ncvren, ncaren, ncendf ...
> *** Testing ncacpy ...
> *** Testing ncadel ...
> *** Testing fill values ...
The above indicates that the Version 2, Fortran API works correctly.
>
> Returning to directory /disk1d/xdz/netCDF/netcdf-3.3.1/src
>
>
> Making `test' in directory /disk1d/xdz/netCDF/netcdf-3.3.1/src/nf_test
>
> f77 -o nf_test -O test_get.o test_put.o nf_error.o nf_test.o
> test_read.o test_write.o util.o fortlib.o ../libsrc/libnetcdf.a -lm
> f77 does not exist on this machine, trying machine romeo
> ld:
> Unresolved:
> _Esignal
> fort: Severe: Failed while trying to link.
> ./nf_test -c
> ./nf_test: Permission denied
> *** Exit 1
> Stop.
> *** Exit 1
> Stop.
> *** Exit 1
> Stop.
> ==========
The above indicates that the Version 3, Fortran API couldn't be tested
because of the unresolved external reference "_Esignal". On my OSF1
4.0/Alpha system, that function is in the library /lib/libc.a (the C
runtime library). Possibly, your f77(1) compiler/linker isn't
referencing that library.
Try the following:
1. Go into the nf_test/ subdirectory.
2. Execute the following command:
f77 -o nf_test -O test_get.o test_put.o \
nf_error.o nf_test.o test_read.o \
test_write.o util.o \
fortlib.o ../libsrc/libnetcdf.a -lm -lc
Does it work or is "_Esignal" still unresolved?
--------
Steve Emmerson <http://www.unidata.ucar.edu>