----- Original Message ----- From: "Joseph Slagel"

 CCLD   libhdf5.la
Creating library file: .libs/libhdf5.dll.a
.libs/H5FDstdio.o:H5FDstdio.c:(.text+0x1520): undefined reference to
`ftruncate64'

Does your src/H5pubconf.h contain:

/* Define to 1 if you have the `ftruncate64' function. */
#define H5_HAVE_FTRUNCATE64 1

That's what I got with my version of 64-bit MinGW - and that seems correct.

My unistd.h contains:
int ftruncate64(int, off64_t);

Just check that your unistd.h does the same. (I have one of the automated builds of gcc-4.7.0.)

I had some trouble with 32-bit MinGW in relation to 'ftruncate64', but not with 64-bit MinGW.

Cheers,
Rob

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to