Skip to content

Instantly share code, notes, and snippets.

@hsbt
Created July 13, 2012 13:10
Show Gist options
  • Save hsbt/3104812 to your computer and use it in GitHub Desktop.
Save hsbt/3104812 to your computer and use it in GitHub Desktop.
Using eventmachine (1.0.0.rc.4) from git://github.com/eventmachine/eventmachine.git (at master) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/Users/usr0600238/.rbenv/versions/2.0.0-dev/bin/ruby extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... yes
checking for inotify_init() in sys/inotify.h... no
checking for __NR_inotify_init in sys/syscall.h... no
checking for writev() in sys/uio.h... yes
checking for rb_thread_check_ints()... yes
checking for rb_time_new()... yes
checking for sys/event.h... yes
checking for sys/queue.h... yes
creating Makefile
make
compiling binder.cpp
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wimplicit-function-declaration" is valid for C/ObjC but not for C++
In file included from /Users/usr0600238/.rbenv/versions/2.0.0-dev/include/ruby-2.0.0/ruby/ruby.h:1382,
from /Users/usr0600238/.rbenv/versions/2.0.0-dev/include/ruby-2.0.0/ruby.h:33,
from em.h:24,
from project.h:150,
from binder.cpp:20:
/Users/usr0600238/.rbenv/versions/2.0.0-dev/include/ruby-2.0.0/ruby/intern.h:829: error: declaration of C function ‘VALUE rb_thread_blocking_region()’ conflicts with
/Users/usr0600238/.rbenv/versions/2.0.0-dev/include/ruby-2.0.0/ruby/intern.h:828: error: previous declaration ‘VALUE rb_thread_blocking_region(VALUE (*)(void*), void*, void (*)(void*), void*)’ here
binder.cpp: In static member function ‘static long unsigned int Bindable_t::CreateBinding()’:
binder.cpp:35: warning: suggest a space before ‘;’ or explicit braces around empty body in ‘while’ statement
make: *** [binder.o] Error 1
Gem files will remain installed in /Users/usr0600238/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/bundler/gems/eventmachine-9473a1b181ed for inspection.
Results logged to /Users/usr0600238/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/bundler/gems/eventmachine-9473a1b181ed/ext/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment