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

[netCDF #VOY-945311]: Re: [netcdfgroup] please try the netcdf-4.1.1-rc2 release...



> I reported it previously and you can find the same error reported on the
> mailing list by others. This is the error at check time, found in beta2 and 
> latest RC as well.
> Apparently nctime.c is required to complete linking for tst_coords.
> 
> [...]
> Making check in src
> make[3]: Entering directory 
> `/tmp/buildd/netcdf-4.1~beta2/build-tree/netcdf-4.1-beta2/libcf/src'
> /usr/bin/make  tst_coords tst_files tst_vars tst_cvars tst_vert tst_subsets
> make[4]: Entering directory 
> `/tmp/buildd/netcdf-4.1~beta2/build-tree/netcdf-4.1-beta2/libcf/src'
> gcc -DHAVE_CONFIG_H -I. -I..  -I../../libsrc4 -I/usr/include     -DgFortran  
> -g -O2 -g -Wall -O2 -c -o tst_coords.o tst_coords.c
> /bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -g -Wall -O2 
> -L../../libsrc4 -L/usr/lib      -o tst_coords tst_coords.o libcf.la 
> ../../libsrc4/libnetcdf.la   -lhdf5_hl -lhdf5 -lz
> libtool: link: gcc -g -O2 -g -Wall -O2 -o .libs/tst_coords tst_coords.o  
> -L/tmp/buildd/netcdf-4.1~beta2/build-tree/netcdf-4.1-beta2/libsrc4 -L/usr/lib 
> ./.libs/libcf.so ../../libsrc4/.libs/libnetcdf.so /usr/lib/libhdf5_hl.so 
> /usr/lib/libhdf5.so -lpthread -lm -lz
> ./.libs/libcf.so: undefined reference to `cdError'
> ./.libs/libcf.so: undefined reference to `cuErrorOccurred'
> ./.libs/libcf.so: undefined reference to `CdAddDelTime'
> ./.libs/libcf.so: undefined reference to `CdDivDelTime'
> ./.libs/libcf.so: undefined reference to `Cde2h'
> ./.libs/libcf.so: undefined reference to `Cdh2e'
> ./.libs/libcf.so: undefined reference to `cuErrOpts'
> collect2: ld returned 1 exit status
> make[4]: *** [tst_coords] Error 1
> make[4]: Leaving directory 
> `/tmp/buildd/netcdf-4.1~beta2/build-tree/netcdf-4.1-beta2/libcf/src'
> make[3]: *** [check-am] Error 2
> make[3]: Leaving directory 
> `/tmp/buildd/netcdf-4.1~beta2/build-tree/netcdf-4.1-beta2/libcf/src'
> make[2]: *** [check-recursive] Error 1
> make[2]: Leaving directory 
> `/tmp/buildd/netcdf-4.1~beta2/build-tree/netcdf-4.1-beta2/libcf'
> make[1]: *** [check-recursive] Error 1
> make[1]: Leaving directory 
> `/tmp/buildd/netcdf-4.1~beta2/build-tree/netcdf-4.1-beta2'
> make: *** [debian/stamp-makefile-check] Error 2
> 

Thanks Francesco!

This problem only occurred for shared library builds with --with-libcf. I have 
fixed it. You can try the snapshot at:

ftp://ftp.unidata.ucar.edu/pub/netcdf/snapshot/netcdf-4-daily.tar.gz.

Thanks,

Ed

Ticket Details
===================
Ticket ID: VOY-945311
Department: Support netCDF
Priority: High
Status: Closed