For the configure side of things, I'll ask the stupid question and you did tell configure you wanted shared libraries?
For the CMake side of things, was time.h included in the file that can't find the definition? And if it _is_ included, and timezone is defined in the file what is happening during the compile process that makes "timezone" NOT defined, in other words, is there some preprocessor define that is NOT getting set properly allowing the code path in time.h to define timezone? You may have to start manually setting #error in some of the system header files to deduce what is happening. Meanwhile I'll try and pull the Qt SDK that has MinGW in it to see if I can eventually set something up. This would be a nice CDash submission. -- Mike Jackson <www.bluequartz.net> On Apr 1, 2011, at 11:00 AM, Rodolfo Bonnin wrote: > What is is strange is that the library compiles using configure, but > it doesn't generate the dll . > > 2011/4/1 Michael Jackson <[email protected]>: >> I don't have a setup where I can test this but what header file is >> "timezone" defined in MinGW? And is that file included at the top of >> H5Omtime.c? It would be nice if HDF5 would compile under MinGW if we can get >> this fixed. >> -- >> Mike Jackson <www.bluequartz.net> >> >> On Apr 1, 2011, at 10:04 AM, Rodolfo Bonnin wrote: >> >>> It is MinGW 4.4.0, the one included in the last QT SDK. >>> >>> Regards >>> >>> 2011/4/1 Michael Jackson <[email protected]>: >>>> What version of MinGW are you using? Older versions of MinGW are missing >>>> standard headers related to time/date functions. >>>> ___________________________________________________________ >>>> Mike Jackson www.bluequartz.net >>>> Principal Software Engineer [email protected] >>>> BlueQuartz Software Dayton, Ohio >>>> >>>> On Apr 1, 2011, at 9:26 AM, Rodolfo Bonnin wrote: >>>> >>>>> Hello all, >>>>> >>>>> I'm trying to build libhdf5 dll using msys and MinGW. >>>>> >>>>> Using the configure/make method doesn't generate the dll, and after >>>>> searching for answers, it seems probable that there were no provisions >>>>> to have the dll built with that platform, althought adding this task >>>>> seems possible. How can I modify the configure script in order to add >>>>> the dll building step? >>>>> >>>>> On the other hand, building with CMake, I've got the error >>>>> >>>>> H5Omtime.c:226: error: 'timezone' undeclared (first use in this function) >>>>> >>>>> Which I have seen can be related with the use of an ancient struct no >>>>> more available. Is there any flag I should use to avoid this error? >>>>> >>>>> Many thanks in advance. >>>>> >>>>> -- >>>>> Ing. Rodolfo Bonnin >>>>> SUR Emprendimientos Tecnológicos >>>>> >>>>> Perú 345 Piso 5to Oficina "B" (C1067AAG) >>>>> Ciudad de Buenos Aires, Argentina >>>>> Tel. +54 (11) 4342-2976/84 >>>>> [email protected] >>>>> www.suremptec.com >>>>> >>>>> _______________________________________________ >>>>> Hdf-forum is for HDF software users discussion. >>>>> [email protected] >>>>> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org >>>> >>>> >>>> _______________________________________________ >>>> Hdf-forum is for HDF software users discussion. >>>> [email protected] >>>> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org >>>> >>> >>> >>> >>> -- >>> Ing. Rodolfo Bonnin >>> SUR Emprendimientos Tecnológicos >>> >>> Perú 345 Piso 5to Oficina "B" (C1067AAG) >>> Ciudad de Buenos Aires, Argentina >>> Tel. +54 (11) 4342-2976/84 >>> [email protected] >>> www.suremptec.com >>> >>> _______________________________________________ >>> Hdf-forum is for HDF software users discussion. >>> [email protected] >>> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org >> >> >> _______________________________________________ >> Hdf-forum is for HDF software users discussion. >> [email protected] >> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org >> > > > > -- > Ing. Rodolfo Bonnin > SUR Emprendimientos Tecnológicos > > Perú 345 Piso 5to Oficina "B" (C1067AAG) > Ciudad de Buenos Aires, Argentina > Tel. +54 (11) 4342-2976/84 > [email protected] > www.suremptec.com > > _______________________________________________ > Hdf-forum is for HDF software users discussion. > [email protected] > http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
