Created
March 21, 2011 22:08
-
-
Save bleything/880329 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo gem install raindrops | |
Building native extensions. This could take a while... | |
ERROR: Error installing raindrops: | |
ERROR: Failed to build gem native extension. | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb | |
checking for mmap() in sys/mman.h... yes | |
checking for munmap() in sys/mman.h... yes | |
checking for mremap() in sys/mman.h... no | |
checking for getpagesize() in unistd.h... yes | |
checking for rb_thread_blocking_region()... no | |
checking for rb_thread_io_blocking_region()... no | |
checking for GCC 4+ atomic builtins... yes | |
creating Makefile | |
make | |
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -DHAVE_MMAP -DHAVE_MUNMAP -DHAVE_GETPAGESIZE -DHAVE_GCC_ATOMIC_BUILTINS -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -fno-common -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common -c linux_inet_diag.c | |
<command-line>: warning: "_XOPEN_SOURCE" redefined | |
<command-line>: warning: this is the location of the previous definition | |
<command-line>: warning: "_XOPEN_SOURCE" redefined | |
<command-line>: warning: this is the location of the previous definition | |
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -DHAVE_MMAP -DHAVE_MUNMAP -DHAVE_GETPAGESIZE -DHAVE_GCC_ATOMIC_BUILTINS -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -fno-common -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common -c linux_tcp_info.c | |
<command-line>: warning: "_XOPEN_SOURCE" redefined | |
<command-line>: warning: this is the location of the previous definition | |
linux_tcp_info.c:4:23: error: linux/tcp.h: No such file or directory | |
<command-line>: warning: "_XOPEN_SOURCE" redefined | |
<command-line>: warning: this is the location of the previous definition | |
linux_tcp_info.c:4:23: error: linux/tcp.h: No such file or directory | |
lipo: can't open input file: /var/tmp//cc3G3w2c.out (No such file or directory) | |
make: *** [linux_tcp_info.o] Error 1 | |
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/raindrops-0.6.0 for inspection. | |
Results logged to /Library/Ruby/Gems/1.8/gems/raindrops-0.6.0/ext/raindrops/gem_make.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
have_func: checking for mmap() in sys/mman.h... -------------------- yes | |
"gcc -o conftest -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch i386 -arch x86_64 -lruby -lpthread -ldl " | |
checked program was: | |
/* begin */ | |
1: #include <sys/mman.h> | |
2: | |
3: /*top*/ | |
4: int main() { return 0; } | |
5: int t() { void ((*volatile p)()); p = (void ((*)()))mmap; return 0; } | |
/* end */ | |
-------------------- | |
have_func: checking for munmap() in sys/mman.h... -------------------- yes | |
"gcc -o conftest -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch i386 -arch x86_64 -lruby -lpthread -ldl " | |
checked program was: | |
/* begin */ | |
1: #include <sys/mman.h> | |
2: | |
3: /*top*/ | |
4: int main() { return 0; } | |
5: int t() { void ((*volatile p)()); p = (void ((*)()))munmap; return 0; } | |
/* end */ | |
-------------------- | |
have_func: checking for mremap() in sys/mman.h... -------------------- no | |
"gcc -o conftest -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_GNU_SOURCE -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch i386 -arch x86_64 -lruby -lpthread -ldl " | |
conftest.c: In function ‘t’: | |
conftest.c:5: error: ‘mremap’ undeclared (first use in this function) | |
conftest.c:5: error: (Each undeclared identifier is reported only once | |
conftest.c:5: error: for each function it appears in.) | |
conftest.c: In function ‘t’: | |
conftest.c:5: error: ‘mremap’ undeclared (first use in this function) | |
conftest.c:5: error: (Each undeclared identifier is reported only once | |
conftest.c:5: error: for each function it appears in.) | |
lipo: can't figure out the architecture type of: /var/tmp//ccR7Qqhu.out | |
checked program was: | |
/* begin */ | |
1: #include <sys/mman.h> | |
2: | |
3: /*top*/ | |
4: int main() { return 0; } | |
5: int t() { void ((*volatile p)()); p = (void ((*)()))mremap; return 0; } | |
/* end */ | |
"gcc -o conftest -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_GNU_SOURCE -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch i386 -arch x86_64 -lruby -lpthread -ldl " | |
Undefined symbols for architecture i386: | |
"_mremap", referenced from: | |
_t in ccN7AB9F.o | |
ld: symbol(s) not found for architecture i386 | |
collect2: ld returned 1 exit status | |
Undefined symbols for architecture x86_64: | |
"_mremap", referenced from: | |
_t in ccF0hgam.o | |
ld: symbol(s) not found for architecture x86_64 | |
collect2: ld returned 1 exit status | |
lipo: can't open input file: /var/tmp//ccM1zTHe.out (No such file or directory) | |
checked program was: | |
/* begin */ | |
1: #include <sys/mman.h> | |
2: | |
3: /*top*/ | |
4: int main() { return 0; } | |
5: int t() { mremap(); return 0; } | |
/* end */ | |
-------------------- | |
have_func: checking for getpagesize() in unistd.h... -------------------- yes | |
"gcc -o conftest -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch i386 -arch x86_64 -lruby -lpthread -ldl " | |
<command-line>: warning: "_XOPEN_SOURCE" redefined | |
<command-line>: warning: this is the location of the previous definition | |
<command-line>: warning: "_XOPEN_SOURCE" redefined | |
<command-line>: warning: this is the location of the previous definition | |
checked program was: | |
/* begin */ | |
1: #include <unistd.h> | |
2: | |
3: /*top*/ | |
4: int main() { return 0; } | |
5: int t() { void ((*volatile p)()); p = (void ((*)()))getpagesize; return 0; } | |
/* end */ | |
-------------------- | |
have_func: checking for rb_thread_blocking_region()... -------------------- no | |
"gcc -o conftest -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch i386 -arch x86_64 -lruby -lpthread -ldl " | |
<command-line>: warning: "_XOPEN_SOURCE" redefined | |
<command-line>: warning: this is the location of the previous definition | |
conftest.c: In function ‘t’: | |
conftest.c:3: error: ‘rb_thread_blocking_region’ undeclared (first use in this function) | |
conftest.c:3: error: (Each undeclared identifier is reported only once | |
conftest.c:3: error: for each function it appears in.) | |
<command-line>: warning: "_XOPEN_SOURCE" redefined | |
<command-line>: warning: this is the location of the previous definition | |
conftest.c: In function ‘t’: | |
conftest.c:3: error: ‘rb_thread_blocking_region’ undeclared (first use in this function) | |
conftest.c:3: error: (Each undeclared identifier is reported only once | |
conftest.c:3: error: for each function it appears in.) | |
lipo: can't figure out the architecture type of: /var/tmp//cci1Gavx.out | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { void ((*volatile p)()); p = (void ((*)()))rb_thread_blocking_region; return 0; } | |
/* end */ | |
"gcc -o conftest -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch i386 -arch x86_64 -lruby -lpthread -ldl " | |
<command-line>: warning: "_XOPEN_SOURCE" redefined | |
<command-line>: warning: this is the location of the previous definition | |
Undefined symbols for architecture i386: | |
"_rb_thread_blocking_region", referenced from: | |
_t in ccrdXvFs.o | |
ld: symbol(s) not found for architecture i386 | |
collect2: ld returned 1 exit status | |
<command-line>: warning: "_XOPEN_SOURCE" redefined | |
<command-line>: warning: this is the location of the previous definition | |
Undefined symbols for architecture x86_64: | |
"_rb_thread_blocking_region", referenced from: | |
_t in ccvKOFt3.o | |
ld: symbol(s) not found for architecture x86_64 | |
collect2: ld returned 1 exit status | |
lipo: can't open input file: /var/tmp//ccsQeLB1.out (No such file or directory) | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { rb_thread_blocking_region(); return 0; } | |
/* end */ | |
-------------------- | |
have_func: checking for rb_thread_io_blocking_region()... -------------------- no | |
"gcc -o conftest -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch i386 -arch x86_64 -lruby -lpthread -ldl " | |
<command-line>: warning: "_XOPEN_SOURCE" redefined | |
<command-line>: warning: this is the location of the previous definition | |
conftest.c: In function ‘t’: | |
conftest.c:3: error: ‘rb_thread_io_blocking_region’ undeclared (first use in this function) | |
conftest.c:3: error: (Each undeclared identifier is reported only once | |
conftest.c:3: error: for each function it appears in.) | |
<command-line>: warning: "_XOPEN_SOURCE" redefined | |
<command-line>: warning: this is the location of the previous definition | |
conftest.c: In function ‘t’: | |
conftest.c:3: error: ‘rb_thread_io_blocking_region’ undeclared (first use in this function) | |
conftest.c:3: error: (Each undeclared identifier is reported only once | |
conftest.c:3: error: for each function it appears in.) | |
lipo: can't figure out the architecture type of: /var/tmp//cc5ijRHX.out | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { void ((*volatile p)()); p = (void ((*)()))rb_thread_io_blocking_region; return 0; } | |
/* end */ | |
"gcc -o conftest -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch i386 -arch x86_64 -lruby -lpthread -ldl " | |
<command-line>: warning: "_XOPEN_SOURCE" redefined | |
<command-line>: warning: this is the location of the previous definition | |
Undefined symbols for architecture i386: | |
"_rb_thread_io_blocking_region", referenced from: | |
_t in ccbzJNw7.o | |
ld: symbol(s) not found for architecture i386 | |
collect2: ld returned 1 exit status | |
<command-line>: warning: "_XOPEN_SOURCE" redefined | |
<command-line>: warning: this is the location of the previous definition | |
Undefined symbols for architecture x86_64: | |
"_rb_thread_io_blocking_region", referenced from: | |
_t in cc7YfZrk.o | |
ld: symbol(s) not found for architecture x86_64 | |
collect2: ld returned 1 exit status | |
lipo: can't open input file: /var/tmp//ccRSsrZS.out (No such file or directory) | |
checked program was: | |
/* begin */ | |
1: /*top*/ | |
2: int main() { return 0; } | |
3: int t() { rb_thread_io_blocking_region(); return 0; } | |
/* end */ | |
-------------------- | |
checking for GCC 4+ atomic builtins... -------------------- yes | |
"gcc -o conftest -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch i386 -arch x86_64 -lruby -lpthread -ldl " | |
<command-line>: warning: "_XOPEN_SOURCE" redefined | |
<command-line>: warning: this is the location of the previous definition | |
<command-line>: warning: "_XOPEN_SOURCE" redefined | |
<command-line>: warning: this is the location of the previous definition | |
checked program was: | |
/* begin */ | |
1: int main(int argc, char * const argv[]) { | |
2: volatile unsigned long i = 0; | |
3: __sync_add_and_fetch(&i, argc); | |
4: __sync_sub_and_fetch(&i, argc); | |
5: return 0; | |
6: } | |
/* end */ | |
./conftest | |
-------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment