Skip to content

Instantly share code, notes, and snippets.

@tubbo
Created July 8, 2014 18:02
Show Gist options
  • Save tubbo/38eaae1acc2f5a731fbb to your computer and use it in GitHub Desktop.
Save tubbo/38eaae1acc2f5a731fbb to your computer and use it in GitHub Desktop.
Using activesupport 2.3.10
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
creating Makefile
make "DESTDIR="
compiling system_timer_native.c
In file included from system_timer_native.c:8:
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/backward/rubysig.h:14:2: warning: rubysig.h is obsolete [-W#warnings]
#warning rubysig.h is obsolete
^
system_timer_native.c:178:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
system_timer_native.c:211:5: error: use of undeclared identifier 'rb_thread_critical'
rb_thread_critical = 1;
^
1 source 'https://rubygems.org'
system_timer_native.c:213:5: error: use of undeclared identifier 'rb_thread_critical'
rb_thread_critical = 0;
^
1 source 'https://rubygems.org'
system_timer_native.c:217:5: error: use of undeclared identifier 'rb_thread_critical'
rb_thread_critical = 1;
^
system_timer_native.c:219:5: error: use of undeclared identifier 'rb_thread_critical'
rb_thread_critical = 0;
^
2 warnings and 4 errors generated.
make: *** [system_timer_native.o] Error 1
Gem files will remain installed in /Users/tscott/Code/telvue/broadcast/dev/vendor/gems/gems/SystemTimer-1.2.3 for inspection.
Results logged to /Users/tscott/Code/telvue/broadcast/dev/vendor/gems/gems/SystemTimer-1.2.3/ext/system_timer/gem_make.out
Installing backports 3.3.5
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
creating Makefile
make "DESTDIR="
compiling atomic_reference.c
atomic_reference.c:53:9: warning: implicit declaration of function 'OSAtomicCompareAndSwap64' is invalid in C99 [-Wimplicit-function-declaration]
if (OSAtomicCompareAndSwap64(expect_value, new_value, &DATA_PTR(self))) {
^
1 warning generated.
linking shared-object atomic_reference.bundle
clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make: *** [atomic_reference.bundle] Error 1
Gem files will remain installed in /Users/tscott/Code/telvue/broadcast/dev/vendor/gems/gems/atomic-1.1.14 for inspection.
Results logged to /Users/tscott/Code/telvue/broadcast/dev/vendor/gems/gems/atomic-1.1.14/ext/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment