~/rubysrc/ruby-1.8.6-p114<br>$ make <br>gcc -g -O2 -DRUBY_EXPORT -I. -I. -c ./missing/strftime.c<br>./missing/strftime.c: In function `strftime':<br>./missing/strftime.c:193: error: 'timezone' redeclared as different kind of symbol<br>/usr/include/cygwin/time.h:33: error: previous declaration of 'timezone' was here<br>make: *** [strftime.o] エラー 1<br><br>$ uname -a<br>CYGWIN_NT-5.1 foo 1.5.25(0.156/4/2) 2007-12-18 09:57 i686 Cygwin<br><br>$ gcc --version<br>gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)<br>Copyright (C) 2004 Free Software Foundation, Inc.<br>This is free software; see the source for copying conditions. There is NO<br>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
具体的にはどのようにできないんでしょうか。<br>それと、cygwinとgccのバージョンはいくつですか?
~/rubysrc/ruby-1.8.6-p114<br>$ make <br>gcc -g -O2 -DRUBY_EXPORT -I. -I. -c ./missing/strftime.c<br>./missing/strftime.c: In function `strftime':<br>./missing/strftime.c:193: error: 'timezone' redeclared as different kind of symbol<br>/usr/include/cygwin/time.h:33: error: previous declaration of 'timezone' was here<br>make: *** [strftime.o] エラー 1<br><br>$ uname -a<br>CYGWIN_NT-5.1 foo 1.5.25(0.156/4/2) 2007-12-18 09:57 i686 Cygwin<br><br>$ gcc --version<br>gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)<br>Copyright (C) 2004 Free Software Foundation, Inc.<br>This is free software; see the source for copying conditions. There is NO<br>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
なるほど、1.8.6と1.8.5ブランチでしたか。<br>確かにr14223とr14224はバックポートする必要がありますね。<br>ありがとうございました。