HDF mingw32

Hello

I fight to use HDF routines in my code but I meet plenty of problems.

My operating system : Windows XP
My compiler : mingw 4.5.2
Downloaded version of HDF : 4.2.8

I first tried to use pre-compiled libraries but I meet plenty of messages "undefined reference to @__security_check_cookie or __security_cookie. As these libraries have been compiled with a Visual C compilers, I had also tried to compile them myself but I do not succeed yet and have H4_F77_FUNC related errors. Example :

hproto_fortran.h:1612:13: warning: parameter names (without types) in function declaration

In fact it is not clear for me, how to set definition constants in h4config.h
For the moment, I just defined HAVE_LIBZ and HAVE_ZLIB_H as this library is already compiled.
Also it is not clear how to proceed with mingw32 and the order of operations
The install_mingw32 seems not to be present in this distribution.
Did somebody already used the precompiled libraries or has already successfully compiled with mingw32 on XP ?

Thanks in advance
Caroline

ยทยทยท

--
PS : Please, think about the environment before printing this mail
----------------------------------------------------------------------------------------------------------------------
Best regards from :

Caroline FAYT
Belgian Institute for Space Aeronomy (IASB/BIRA),
Avenue Circulaire, 3 B-1180 UCCLE BELGIUM
http://www.aeronomie.be/

Tel : +32 2 373 04 16 (office) - +32 499 38 97 88 (private)
fax : +32 2 374 84 23
----------------------------------------------------------------------------------------------------------------------
About WinDOAS and QDOAS softwares : http://uv-vis.aeronomie.be/software/