Skip to content

Instantly share code, notes, and snippets.

@Sophrinix
Created December 1, 2009 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sophrinix/246568 to your computer and use it in GitHub Desktop.
Save Sophrinix/246568 to your computer and use it in GitHub Desktop.
sophrinix$ ./ruby ../why_sandbox/setup.rb
---> bin
<--- bin
---> lib
---> lib/sandbox
<--- lib/sandbox
<--- lib
---> ext
---> ext/sand_table
/usr/local/bin/ruby /Users/sophrinix/Desktop/why_sandbox/ext/sand_table/extconf.rb
checking for main() in -lc... yes
creating Makefile
<--- ext/sand_table
<--- ext
---> bin
updating shebang: sandbox_irb
updating shebang: sandbox_server
<--- bin
---> lib
---> lib/sandbox
<--- lib/sandbox
<--- lib
---> ext
---> ext/sand_table
make
gcc -I. -I/usr/local/include/ruby-1.9.1/i386-darwin10.2.0 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I/Users/sophrinix/Desktop/why_sandbox/ext/sand_table -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -g -Wall -Wno-parentheses -pipe -fno-common -o sand_table.o -c /Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c
In file included from /Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.h:18,
from /Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:9:
/usr/local/include/ruby-1.9.1/ruby/backward/rubysig.h:14:2: warning: #warning rubysig.h is obsolete
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c: In function ‘sandbox_save’:
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:144: error: expected declaration specifiers before ‘rb_thread_t’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:146: error: invalid type argument of ‘->’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:153: error: invalid type argument of ‘->’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:153: error: invalid type argument of ‘->’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c: In function ‘sandbox_restore’:
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:161: error: expected declaration specifiers before ‘rb_thread_t’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:163: error: invalid type argument of ‘->’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:165: error: invalid type argument of ‘->’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:167: error: invalid type argument of ‘->’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:170: error: invalid type argument of ‘->’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:171: error: invalid type argument of ‘->’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:171: error: invalid type argument of ‘->’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c: In function ‘alloc_scope’:
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:202: error: ‘T_SCOPE’ undeclared (first use in this function)
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:202: error: (Each undeclared identifier is reported only once
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:202: error: for each function it appears in.)
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c: In function ‘sandbox_alloc’:
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:220: error: ‘NODE_CREF’ undeclared (first use in this function)
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c: In function ‘sandbox_initialize’:
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:282: error: ‘struct RString’ has no member named ‘ptr’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c: In function ‘sandbox_swap’:
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:604: error: ‘rb_mPrecision’ undeclared (first use in this function)
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:641: warning: implicit declaration of function ‘sandbox_swap_global’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:644: error: ‘ruby_top_cref’ undeclared (first use in this function)
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:647: error: ‘ruby_cref’ undeclared (first use in this function)
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c: In function ‘sandbox_on’:
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:670: error: ‘curr_thread’ undeclared (first use in this function)
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c: In function ‘sandbox_off’:
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:695: error: ‘curr_thread’ undeclared (first use in this function)
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c: In function ‘sandbox_arg_prep’:
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:736: warning: implicit declaration of function ‘sandbox_const_find’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:752: warning: implicit declaration of function ‘sandbox_link_class’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c: In function ‘sandbox_ref_method_missing’:
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:1053: error: ‘struct RString’ has no member named ‘ptr’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:1057: warning: unused variable ‘i’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c: In function ‘sandbox_boxedclass_method_missing’:
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:1081: error: ‘struct RString’ has no member named ‘ptr’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:1087: warning: unused variable ‘i’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c: In function ‘sandbox_boxedclass_const_missing’:
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:1109: error: ‘struct RString’ has no member named ‘ptr’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:1111: warning: unused variable ‘i’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c: In function ‘Init_kit’:
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:1137: warning: implicit declaration of function ‘sandbox_bootclass’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:1352: error: ‘rb_mPrecision’ undeclared (first use in this function)
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:1367: error: ‘ruby_errinfo’ undeclared (first use in this function)
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:1571: warning: implicit declaration of function ‘sandbox_defclass_under’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:2389: warning: implicit declaration of function ‘sandbox_str’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c: In function ‘Init_kit_io’:
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:2616: warning: implicit declaration of function ‘sandbox_defmodule_under’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c: In function ‘Init_kit_real’:
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:2837: warning: unused variable ‘cThGroup’
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c: In function ‘Init_sand_table’:
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:3210: error: ‘ruby_sandbox_save’ undeclared (first use in this function)
/Users/sophrinix/Desktop/why_sandbox/ext/sand_table/sand_table.c:3211: error: ‘ruby_sandbox_restore’ undeclared (first use in this function)
make: *** [sand_table.o] Error 1
../why_sandbox/setup.rb:655:in `command': system("make") failed (RuntimeError)
from ../why_sandbox/setup.rb:664:in `make'
from ../why_sandbox/setup.rb:1258:in `setup_dir_ext'
from ../why_sandbox/setup.rb:1532:in `block in traverse'
from ../why_sandbox/setup.rb:1549:in `dive_into'
from ../why_sandbox/setup.rb:1530:in `traverse'
from ../why_sandbox/setup.rb:1534:in `block (2 levels) in traverse'
from ../why_sandbox/setup.rb:1533:in `each'
from ../why_sandbox/setup.rb:1533:in `block in traverse'
from ../why_sandbox/setup.rb:1549:in `dive_into'
from ../why_sandbox/setup.rb:1530:in `traverse'
from ../why_sandbox/setup.rb:1524:in `block in exec_task_traverse'
from ../why_sandbox/setup.rb:1519:in `each'
from ../why_sandbox/setup.rb:1519:in `exec_task_traverse'
from ../why_sandbox/setup.rb:1246:in `exec_setup'
from ../why_sandbox/setup.rb:996:in `exec_setup'
from ../why_sandbox/setup.rb:813:in `invoke'
from ../why_sandbox/setup.rb:773:in `invoke'
from ../why_sandbox/setup.rb:1578:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment