Skip to content

Instantly share code, notes, and snippets.

@kiyoto
Created August 10, 2013 04:02
Show Gist options
  • Save kiyoto/6198999 to your computer and use it in GitHub Desktop.
Save kiyoto/6198999 to your computer and use it in GitHub Desktop.
C:/Ruby200-x64/bin/ruby.exe extconf.rb
checking for rb_thread_blocking_region()... yes
checking for rb_thread_alone()... yes
checking for rb_str_set_len()... yes
checking for clock_gettime() in -lrt... no
checking for sys/select.h... no
checking for poll.h... no
checking for sys/epoll.h... no
checking for sys/event.h... no
checking for port.h... no
checking for sys/resource.h... no
checking for sysctlbyname() in sys/param.h,sys/sysctl.h... no
creating Makefile
make "DESTDIR="
generating cool.io_ext-x64-mingw32.def
compiling cool.io_ext.c
In file included from cool.io.h:11:0,
from cool.io_ext.c:11:
c:/Ruby200-x64/include/ruby-2.0.0/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h" [-Wcpp]
cool.io_ext.c: In function 'Init_cool':
cool.io_ext.c:19:3: warning: implicit declaration of function 'Init_coolio_loop' [-Wimplicit-function-declaration]
cool.io_ext.c:20:3: warning: implicit declaration of function 'Init_coolio_watcher' [-Wimplicit-function-declaration]
cool.io_ext.c:21:3: warning: implicit declaration of function 'Init_coolio_iowatcher' [-Wimplicit-function-declaration]
cool.io_ext.c:22:3: warning: implicit declaration of function 'Init_coolio_timer_watcher' [-Wimplicit-function-declaration]
cool.io_ext.c:23:3: warning: implicit declaration of function 'Init_coolio_stat_watcher' [-Wimplicit-function-declaration]
cool.io_ext.c:24:3: warning: implicit declaration of function 'Init_coolio_utils' [-Wimplicit-function-declaration]
cool.io_ext.c: At top level:
cool.io_ext.c:13:14: warning: 'mCoolio' defined but not used [-Wunused-variable]
compiling iowatcher.c
In file included from iowatcher.c:8:0:
c:/Ruby200-x64/include/ruby-2.0.0/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h" [-Wcpp]
In file included from cool.io.h:11:0,
from iowatcher.c:12:
c:/Ruby200-x64/include/ruby-2.0.0/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h" [-Wcpp]
iowatcher.c: In function 'Coolio_IOWatcher_initialize':
iowatcher.c:75:15: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
iowatcher.c:90:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
iowatcher.c:90:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
iowatcher.c:90:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
compiling libev.c
In file included from libev.c:8:0:
../libev/ev.c:477:48: warning: "/*" within comment [-Wcomment]
In file included from ../libev/ev.c:1280:0,
from libev.c:8:
../libev/ev_win32.c: In function 'ev_pipe':
../libev/ev_win32.c:94:3: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
In file included from libev.c:8:0:
../libev/ev.c: At top level:
../libev/ev.c:1531:31: warning: 'ev_default_loop_ptr' initialized and declared 'extern' [enabled by default]
../libev/ev.c: In function 'array_nextsize':
../libev/ev.c:1640:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
../libev/ev.c: In function 'fd_reify':
../libev/ev.c:1790:15: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c: In function 'evpipe_init':
../libev/ev.c:2090:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c: In function 'evpipe_write':
../libev/ev.c:2168:19: warning: assignment from incompatible pointer type [enabled by default]
In file included from ../libev/ev.c:2399:0,
from libev.c:8:
../libev/ev_select.c: In function 'select_modify':
../libev/ev_select.c:85:5: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev_select.c: At top level:
../libev/ev_select.c:274:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
../libev/ev_select.c:274:1: warning: '__inline__' is not at beginning of declaration [-Wold-style-declaration]
../libev/ev_select.c:303:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
../libev/ev_select.c:303:1: warning: '__inline__' is not at beginning of declaration [-Wold-style-declaration]
In file included from libev.c:8:0:
../libev/ev.c:2415:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
../libev/ev.c:2415:1: warning: '__inline__' is not at beginning of declaration [-Wold-style-declaration]
../libev/ev.c: In function 'loop_init':
../libev/ev.c:2619:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:2619:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:2619:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:2622:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:2622:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:2622:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:2623:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c: In function 'ev_loop_destroy':
../libev/ev.c:2657:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c: In function 'loop_fork':
../libev/ev.c:2760:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c: In function 'verify_watcher':
../libev/ev.c:2802:3: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c:2805:5: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c: In function 'verify_heap':
../libev/ev.c:2815:7: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c:2816:7: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c:2817:7: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c: In function 'array_verify':
../libev/ev.c:2828:7: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c: In function 'ev_verify':
../libev/ev.c:2846:5: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c:2859:15: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c:2863:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c:2864:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c: In function 'timers_reify':
../libev/ev.c:3046:15: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c: In function 'periodics_reify':
../libev/ev.c:3108:15: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c: In function 'ev_run':
../libev/ev.c:3247:3: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c:3368:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:3368:13: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c: In function 'ev_io_start':
../libev/ev.c:3542:3: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c:3543:3: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c:3552:3: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c: In function 'ev_io_stop':
../libev/ev.c:3567:3: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c: In function 'ev_timer_start':
../libev/ev.c:3587:3: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c: In function 'ev_timer_stop':
../libev/ev.c:3615:5: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c: In function 'ev_periodic_start':
../libev/ev.c:3677:7: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c: In function 'ev_periodic_stop':
../libev/ev.c:3709:5: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c: In function 'ev_signal_start':
../libev/ev.c:3746:3: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c:3749:3: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c: In function 'ev_stat_start':
../libev/ev.c:4211:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:4211:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:4211:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:4211:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:4212:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c: In function 'ev_stat_stop':
../libev/ev.c:4244:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c: In function 'ev_embed_start':
../libev/ev.c:4446:5: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../libev/ev.c:4447:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:4447:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:4447:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:4452:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:4455:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:4455:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:4455:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:4456:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:4459:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:4459:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:4459:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c: In function 'ev_once':
../libev/ev.c:4669:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:4669:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:4669:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:4676:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:4676:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:4676:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c:4679:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../libev/ev.c: At top level:
../libev/ev.c:4795:27: warning: "/*" within comment [-Wcomment]
../libev/ev.c:4796:27: warning: "/*" within comment [-Wcomment]
In file included from libev.c:8:0:
../libev/ev.c:1897:1: warning: 'fd_rearm_all' defined but not used [-Wunused-function]
../libev/ev.c: In function 'evpipe_init':
../libev/ev.c:2123:17: warning: 'fds[1]' may be used uninitialized in this function [-Wmaybe-uninitialized]
../libev/ev.c:2111:18: warning: 'fds[0]' may be used uninitialized in this function [-Wmaybe-uninitialized]
compiling loop.c
In file included from loop.c:9:0:
c:/Ruby200-x64/include/ruby-2.0.0/ruby/backward/rubysig.h:14:2: warning: #warning rubysig.h is obsolete [-Wcpp]
In file included from cool.io.h:11:0,
from loop.c:12:
c:/Ruby200-x64/include/ruby-2.0.0/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h" [-Wcpp]
loop.c: In function 'Coolio_Loop_initialize':
loop.c:92:1: warning: no return statement in function returning non-void [-Wreturn-type]
loop.c: In function 'Coolio_Loop_ev_loop_oneshot':
loop.c:224:3: warning: 'rb_thread_blocking_region' is deprecated (declared at c:/Ruby200-x64/include/ruby-2.0.0/ruby/intern.h:839) [-Wdeprecated-declarations]
compiling stat_watcher.c
In file included from cool.io.h:11:0,
from stat_watcher.c:10:
c:/Ruby200-x64/include/ruby-2.0.0/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h" [-Wcpp]
stat_watcher.c: In function 'Coolio_StatWatcher_initialize':
stat_watcher.c:95:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
stat_watcher.c:95:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
stat_watcher.c:95:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
stat_watcher.c: In function 'Coolio_StatWatcher_attach':
stat_watcher.c:115:23: warning: unused variable 'timeout' [-Wunused-variable]
stat_watcher.c:115:13: warning: unused variable 'interval' [-Wunused-variable]
stat_watcher.c: In function 'Coolio_StatWatcher_dispatch_callback':
stat_watcher.c:211:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
compiling timer_watcher.c
In file included from cool.io.h:11:0,
from timer_watcher.c:10:
c:/Ruby200-x64/include/ruby-2.0.0/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h" [-Wcpp]
timer_watcher.c: In function 'Coolio_TimerWatcher_initialize':
timer_watcher.c:74:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
timer_watcher.c:74:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
timer_watcher.c:74:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
timer_watcher.c:74:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
timer_watcher.c: In function 'Coolio_TimerWatcher_attach':
timer_watcher.c:113:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
compiling utils.c
compiling watcher.c
In file included from cool.io.h:11:0,
from watcher.c:10:
c:/Ruby200-x64/include/ruby-2.0.0/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h" [-Wcpp]
linking shared-object cool.io_ext.so
libev.o: In function `get_clock':
C:\Ruby200-x64\lib\ruby\gems\2.0.0\gems\cool.io-1.2.0\ext\cool.io/../libev/ev.c:1584: undefined reference to `clock_gettime'
C:\Ruby200-x64\lib\ruby\gems\2.0.0\gems\cool.io-1.2.0\ext\cool.io/../libev/ev.c:1584: undefined reference to `clock_gettime'
C:\Ruby200-x64\lib\ruby\gems\2.0.0\gems\cool.io-1.2.0\ext\cool.io/../libev/ev.c:1584: undefined reference to `clock_gettime'
C:\Ruby200-x64\lib\ruby\gems\2.0.0\gems\cool.io-1.2.0\ext\cool.io/../libev/ev.c:1584: undefined reference to `clock_gettime'
C:\Ruby200-x64\lib\ruby\gems\2.0.0\gems\cool.io-1.2.0\ext\cool.io/../libev/ev.c:1584: undefined reference to `clock_gettime'
libev.o:C:\Ruby200-x64\lib\ruby\gems\2.0.0\gems\cool.io-1.2.0\ext\cool.io/../libev/ev.c:1584: more undefined references to `clock_gettime' follow
collect2.exe: error: ld returned 1 exit status
make: *** [cool.io_ext.so] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment