Advertisement
Guest User

Untitled

a guest
Apr 24th, 2014
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. > sudo gem install atomic -v '1.1.16'
  2. Building native extensions. This could take a while...
  3. ERROR: Error installing atomic:
  4. ERROR: Failed to build gem native extension.
  5.  
  6. /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
  7. checking for libkern/OSAtomic.h... yes
  8. creating Makefile
  9.  
  10. make "DESTDIR=" clean
  11.  
  12. make "DESTDIR="
  13. compiling atomic_reference.c
  14. atomic_reference.c:57:59: warning: incompatible pointer types passing 'void **' to parameter of type 'volatile int64_t *' (aka 'volatile long long *') [-Wincompatible-pointer-types]
  15. if (OSAtomicCompareAndSwap64(expect_value, new_value, &DATA_PTR(self))) {
  16. ^~~~~~~~~~~~~~~
  17. /usr/include/libkern/OSAtomic.h:507:93: note: passing argument to parameter '__theValue' here
  18. bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, volatile int64_t *__theValue );
  19. ^
  20. 1 warning generated.
  21. linking shared-object atomic_reference.bundle
  22. clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
  23. clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
  24. make: *** [atomic_reference.bundle] Error 1
  25.  
  26. make failed, exit code 2
  27.  
  28. Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/atomic-1.1.16 for inspection.
  29. Results logged to /Library/Ruby/Gems/2.0.0/extensions/universal-darwin-13/2.0.0/atomic-1.1.16/gem_make.out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement