[MacRuby] #1052: Need rb_gc_mark to install the perftools.rb.
#1052: Need rb_gc_mark to install the perftools.rb. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- I was going to install the perftools.rb to research a CPU performance. {{{ $ sudo macgem install ruby_core_source # I do a fork of an original project because 'require "rubygems"' was necessary. $ git clone https://github.com/Watson1978/perftools.rb.git $ cd perftools.rb/ $ macgem build perftools.rb.gemspec $ sudo macgem install perftools.rb-0.5.4.gem -----snip----- perftools.c:2:1: warning: this is the location of the previous definition perftools.c:96:5: warning: "/*" within comment perftools.c: In function ‘rb_stack_trace’: perftools.c:140: warning: implicit declaration of function ‘rb_during_gc’ perftools.c: In function ‘cpuprofiler_gc_mark’: perftools.c:279: error: ‘rb_gc_mark’ undeclared (first use in this function) perftools.c:279: error: (Each undeclared identifier is reported only once perftools.c:279: error: for each function it appears in.) perftools.c: At top level: perftools.c:349: error: expected ‘)’ before ‘event’ perftools.c: In function ‘methprofiler_setup’: perftools.c:363: error: ‘event_handler’ undeclared (first use in this function) perftools.c:363: error: too few arguments to function ‘rb_add_event_hook’ perftools.c: In function ‘methprofiler_teardown’: perftools.c:376: error: ‘event_handler’ undeclared (first use in this function) perftools.c: In function ‘objprofiler_setup’: perftools.c:421: error: ‘rb_newobj’ undeclared (first use in this function) perftools.c: In function ‘Init_perftools’: perftools.c:491: warning: implicit declaration of function ‘rb_set_end_proc’ make: *** [perftools.o] Error 1 }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1052> MacRuby <http://macruby.org/>
#1052: Need rb_gc_mark to install the perftools.rb. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: MacRuby Later Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Changes (by lsansonetti@…): * milestone: => MacRuby Later Comment: As discussed, moving to Later. -- Ticket URL: <http://www.macruby.org/trac/ticket/1052#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby