It's also me.
I got it works by replacing all tp->tm_gmtoff with _timezone.
--- In iolanguage%40yahoogroups.com">iolanguage
yahoogroups.com, "beman.smopuim" <beman.smopuim
...>
wrote:
>
> after suggestion,I unset OS,and build some dll file successfully,but
> when I build iodate module, I meet with some problem:
> ====================================
> make[1]: Entering directory `/cygdrive/d/iobuild_cygwin/libs/iovm'
> gcc -DINSTALL_PREFIX="" -Os -g -Wstrict-prototypes -I. -I/source
> -I../basekit/_build/headers -
> /coroutine/_build/headers -I../garbagecollector/_build/headers
> -I../skipdb/_build/headers -DTM_G
> FF -DBUILDING_IOVM_DLL -c source/IoDate.c -o _build/objs/IoDate.o
> source/IoDate.c: In function `IoDate_gmtOffsetSeconds':
> source/IoDate.c:377: error: structure has no member named `tm_gmtoff'
> source/IoDate.c: In function `IoDate_gmtOffset':
> source/IoDate.c:390: error: structure has no member named `tm_gmtoff'
> make[1]: *** [_build/objs/IoDate.o] Error 1
> make[1]: Leaving directory `/cygdrive/d/iobuild_cygwin/libs/iovm'
> make: *** [all] Error 2
> =========================================
> it means tm_gmtoff isnot in the file time.h, and I search via
> google,and found I should add some string to CFLAGS, something like "
> -DTM_GMTOFF=tm_gmtoff",and then add the member to tm structure of
> time.h. I follow the steps,but the same errors occur too. do I miss
> some important steps? can some guys help me another time,thanx a lot!
>
.