NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hi all I'm currently trying to move forward Debian support of netcdf from 3.6.3 to 4.0.1 (and possibly 4.1beta ASAP). Of course, I'm using gfortran 4.3.3 (and possibly 4.4 for next release). Things go ok, but for Fortran check, which fails miserably due to linking problems. Note that I added -DgFortran explicitly at configure time. I'm not a Fortran guy, but I noted that all named functions are tagged as undefined in the named solibs: it seems they are linked as external instead of being wrapped to C functions. Any hints? [...] =================== All 24 tests passed =================== make[5]: Leaving directory `/users/frankie/debian/debian-gis/supported/netcdf/netcdf-4.0.1/build-tree/netcdf-4.0.1/ncdump' make[4]: Leaving directory `/users/frankie/debian/debian-gis/supported/netcdf/netcdf-4.0.1/build-tree/netcdf-4.0.1/ncdump' make[3]: Leaving directory `/users/frankie/debian/debian-gis/supported/netcdf/netcdf-4.0.1/build-tree/netcdf-4.0.1/ncdump' make[2]: Leaving directory `/users/frankie/debian/debian-gis/supported/netcdf/netcdf-4.0.1/build-tree/netcdf-4.0.1/ncdump' Making check in nf_test make[2]: Entering directory `/users/frankie/debian/debian-gis/supported/netcdf/netcdf-4.0.1/build-tree/netcdf-4.0.1/nf_test' /usr/bin/make nf_test tst_f77_v2 ftst_vars ftst_vars2 ftst_vars3 ftst_vars4 ftst_vars5 ftst_vars6 ftst_types ftst_types2 ftst_groups f90tst_vars f90tst_vars2 tst_types tst_types2 f90tst_vars_vlen ftst_v2 ftest tst_f90 make[3]: Entering directory `/users/frankie/debian/debian-gis/supported/netcdf/netcdf-4.0.1/build-tree/netcdf-4.0.1/nf_test' gfortran -DHAVE_CONFIG_H -I. -I.. -I../fortran -I/include -DgFortran -I../fortran -I../libsrc4 -I../f90 -g -O2 -c -o test_get.o test_get.F gfortran -DHAVE_CONFIG_H -I. -I.. -I../fortran -I/include -DgFortran -I../fortran -I../libsrc4 -I../f90 -g -O2 -c -o test_put.o test_put.F gfortran -DHAVE_CONFIG_H -I. -I.. -I../fortran -I/include -DgFortran -I../fortran -I../libsrc4 -I../f90 -g -O2 -c -o nf_error.o nf_error.F gfortran -DHAVE_CONFIG_H -I. -I.. -I../fortran -I/include -DgFortran -I../fortran -I../libsrc4 -I../f90 -g -O2 -c -o nf_test.o nf_test.F gfortran -DHAVE_CONFIG_H -I. -I.. -I../fortran -I/include -DgFortran -I../fortran -I../libsrc4 -I../f90 -g -O2 -c -o test_read.o test_read.F gfortran -DHAVE_CONFIG_H -I. -I.. -I../fortran -I/include -DgFortran -I../fortran -I../libsrc4 -I../f90 -g -O2 -c -o test_write.o test_write.F gfortran -DHAVE_CONFIG_H -I. -I.. -I../fortran -I/include -DgFortran -I../fortran -I../libsrc4 -I../f90 -g -O2 -c -o util.o util.F gcc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I/include -DgFortran -g -Wall -O2 -c -o fortlib.o fortlib.c ../fortran/cfortran.h:426: warning: ‘c2fstrv’ defined but not used ../fortran/cfortran.h:443: warning: ‘f2cstrv’ defined but not used ../fortran/cfortran.h:459: warning: ‘kill_trailing’ defined but not used ../fortran/cfortran.h:490: warning: ‘vkill_trailing’ defined but not used ../fortran/cfortran.h:537: warning: ‘num_elem’ defined but not used /bin/sh ../libtool --tag=F77 --mode=link gfortran -I../fortran -I../libsrc4 -I../f90 -g -O2 -L/lib -o nf_test test_get.o test_put.o nf_error.o nf_test.o test_read.o test_write.o util.o fortlib.o ../fortran/libnetcdff.la -lm ../libsrc4/libnetcdf.la -lhdf5_hl -lhdf5 libtool: link: gfortran -I../fortran -I../libsrc4 -I../f90 -g -O2 -o .libs/nf_test test_get.o test_put.o nf_error.o nf_test.o test_read.o test_write.o util.o fortlib.o -L/lib ../fortran/.libs/libnetcdff.so /users/frankie/debian/debian-gis/supported/netcdf/netcdf-4.0.1/build-tree/netcdf-4.0.1/libsrc4/.libs/libnetcdf.so ../libsrc4/.libs/libnetcdf.so /usr/lib/libhdf5_hl.so /usr/lib/libhdf5.so -lpthread -lz -lm ../fortran/.libs/libnetcdff.so: undefined reference to `nf_get_att_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_compound_name_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_var_par_access_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_create_par_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_enum_member_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_get_var1_int64_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_put_var1_int64_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_def_compound_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_get_vars_int64_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_enum_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_compound_fieldtype_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_user_type_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_compound_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_grpname_full_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_insert_array_compound_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_var_fletcher32_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_ncid_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_grpname_len_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_def_var_chunking_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_put_vara_int64_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_enum_ident_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_vlen_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_compound_size_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_compound_fielddim_sizes_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_grp_parent_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_get_varm_int64_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_compound_fieldndims_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_dimids_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_open_par_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_varids_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_grpname_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_def_var_fill_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_get_vara_int64_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_grp_ncid_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_var_deflate_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_compound_fieldindex_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_put_vars_int64_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_var_fill_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_def_opaque_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_typeids_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_var_chunking_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_put_att_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_insert_enum_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_var_endian_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_def_var_deflate_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_get_chunk_cache_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_free_vlen_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_insert_compound_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_set_chunk_cache_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_def_grp_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_compound_field_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_opaque_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_put_varm_int64_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_compound_nfields_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_def_vlen_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_compound_fieldname_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_def_var_fletcher32_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_def_var_endian_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_type_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_compound_fieldoffset_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_def_enum_' ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_grps_' collect2: ld returned 1 exit status make[3]: *** [nf_test] Error 1 make[3]: Leaving directory `/users/frankie/debian/debian-gis/supported/netcdf/netcdf-4.0.1/build-tree/netcdf-4.0.1/nf_test' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/users/frankie/debian/debian-gis/supported/netcdf/netcdf-4.0.1/build-tree/netcdf-4.0.1/nf_test' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/users/frankie/debian/debian-gis/supported/netcdf/netcdf-4.0.1/build-tree/netcdf-4.0.1' make: *** [debian/stamp-makefile-check] Error 2 -- Francesco P. Lovergine
netcdfgroup
archives: