On Sun, Oct 23, 2011 at 12:43 AM, Tanaka Akira akr@fsij.org wrote:
Would you show the error messages?
compiling ../../../../ruby/io.c
../../../../ruby/io.c: In function 'rb_fd_set_cloexec':
../../../../ruby/io.c:163:23: error: 'F_GETFD' undeclared (first use
in this function)
../../../../ruby/io.c:163:23: note: each undeclared identifier is
reported only once for each function it appears in
../../../../ruby/io.c:168:23: error: 'FD_CLOEXEC' undeclared (first
use in this function)
../../../../ruby/io.c:170:29: error: 'F_SETFD' undeclared (first use
in this function)
make: *** [io.o] Error 1
I don't have MinGW platform.
This can also be triggered by using mingw.org or mingw-w64
cross-compilers in both Linux and OSX platforms.