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.

linking problems with HDF5 on cygwin...

NOTE: The netcdf-hdf mailing list is no longer active. The list archives are made available for historical reasons.

Howdy HDF5 folk!

I recently updated from the HDF5 repository and compiled on
windows/cygwin.

As far as I can tell, all tests passed.

When trying to use the HL API, though, I get the following link
errors:

make tst_h_dimscales.exe
/bin/sh ../libtool --tag=CC --mode=link cc -g -Wall -Wno-inline
-Wno-cast-qual -Wno-padded  -g -L. -L../libsrc4
-L/cygdrive/c/hdf5/hdf5/lib  -o tst_h_dimscales.exe  tst_h_dimscales.o
libnetcdf.la -lhdf5 -lhdf5_hl 
cc -g -Wall -Wno-inline -Wno-cast-qual -Wno-padded -g -o
tst_h_dimscales.exe tst_h_dimscales.o  -L/cygdrive/c/netcdf-3/libsrc4
-L/cygdrive/c/hdf5/hdf5/lib ./.libs/libnetcdf.a
/cygdrive/c/hdf5/hdf5/lib/libhdf5.a
/cygdrive/c/hdf5/hdf5/lib/libhdf5_hl.a -lz
/cygdrive/c/hdf5/hdf5/lib/libhdf5_hl.a(H5LT.o): In function
`H5LTmake_dataset_string':
/cygdrive/c/hdf5/hl/src/H5LT.c:509: undefined reference to
`_H5Tset_strpad'
/cygdrive/c/hdf5/hdf5/lib/libhdf5_hl.a(H5LT.o): In function
`H5LTset_attribute_string':
/cygdrive/c/hdf5/hl/src/H5LT.c:1130: undefined reference to
`_H5Tset_strpad'
/cygdrive/c/hdf5/hdf5/lib/libhdf5_hl.a(H5LT.o): In function
`H5LT_set_attribute_string':
/cygdrive/c/hdf5/hl/src/H5LT.c:2853: undefined reference to
`_H5Tset_strpad'
collect2: ld returned 1 exit status
make: *** [tst_h_dimscales.exe] Error 1
bash-3.00$ 

Has anyone seen this before?

Thanks!

Ed



-- 
Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx


  • 2005 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-hdf archives: