Building HDF5 (either the recently released RC1 or the previous beta 5)
under Cygwin fails with
gcc -DHAVE_CONFIG_H -I. -DNDEBUG -UH5_DEBUG_API -std=c99 -pedantic -Wall
-Wextra -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual
-Wcast-align -Wwrite-strings -Wconversion -Wsign-compare
-Waggregate-return -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline
-Wno-long-long -Wfloat-equal -Wmissing-format-attribute
-Wmissing-noreturn -Wpacked -Wdisabled-optimization -Wmultichar
-Wendif-labels -Wdeclaration-after-statement -Wold-style-definition
-Winvalid-pch -O -fomit-frame-pointer -finline-functions -MT H5Omtime.lo
-MD -MP -MF .deps/H5Omtime.Tpo -c H5Omtime.c -o H5Omtime.o
H5Omtime.c: In function `H5O_mtime_decode':
H5Omtime.c:194: warning: implicit declaration of function `tzset'
H5Omtime.c:194: warning: nested extern declaration of `tzset'
H5Omtime.c:230: error: `timezone' undeclared (first use in this function)
H5Omtime.c:230: error: (Each undeclared identifier is reported only once
H5Omtime.c:230: error: for each function it appears in.)
Back on 27 November 2007 I built beta 5 with no problems.
Is this likely to be related to the new Cygwin versions released in
December? I can see some discussion of timezone and tzset on the list
archives in the last couple of months, but don't know whether they
relate to my problem.
I generally keep my Cygwin installation up to data and right now I have
$ cygcheck -c cygwin
Cygwin Package Information
Package Version Status
cygwin 1.5.25-7 OK
--
Mark Hadfield "Ka puwaha te tai nei, Hoea tahi tatou"
[EMAIL PROTECTED]
National Institute for Water and Atmospheric Research (NIWA)
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/