[Insight-developers] help with hdf5 module on 64-bit sun

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Sat Apr 23 13:32:34 EDT 2011


Le 21 avr. 11 à 15:53, Brad King a écrit :

> Hi Gaëtan,
>
> I'm looking at this error:
>
> http://www.cdash.org/CDash/viewBuildError.php?buildid=998371
> In file included from /export/home/glehmann/src/tests/ITK/Modules/ 
> ThirdParty/HDF5/src/itkhdf5/src/H5make_libsettings.c:46:
> /export/home/glehmann/src/tests/ITK/Modules/ThirdParty/HDF5/src/ 
> itkhdf5/src/H5private.h:757: error: syntax error before  
> "h5_stat_size_t"
>
> The line in question tries to typedef that name as off64_t
> which does not seem to exist on your machine.  I do not have
> access to a 64-bit sun system.  Can you please take a look
> and push a patch to gerrit?
>


Hi Brad,

The compilation error is with gcc 32 bits.
_LARGEFILE64_SOURCE has to be defined to have off64_t defined.

Do you know where to add this definition?

Thanks,

Gaëtan

-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr  http://www.itk.org
http://www.mandriva.org  http://www.bepo.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110423/eae5317c/attachment.pgp>


More information about the Insight-developers mailing list