#1379: Gem rev-0.3.2 fails to build --------------------------------+------------------------------------------- Reporter: jhemmelg@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: --------------------------------+------------------------------------------- I am running the latest code from github. I was installing the gem msgpack-rpc which depends on rev. The build of the rev gem failed with the following message: {{{ /usr/bin/gcc-4.2 -I. -I/Library/Frameworks/MacRuby.framework/Versions/0.11/usr/include/ruby-1.9.2 /universal-darwin10.0 -I/Library/Frameworks/MacRuby.framework/Versions/0.11/usr/include/ruby-1.9.2/ruby/backward -I/Library/Frameworks/MacRuby.framework/Versions/0.11/usr/include/ruby-1.9.2 -I. -DRUBY_VERSION_CODE=192 -DHAVE_RB_THREAD_BLOCKING_REGION -DHAVE_RB_THREAD_BLOCKING_REGION -DHAVE_RB_THREAD_ALONE -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -DHAVE_RB_STR_SET_LEN -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_POLL_H -DEV_USE_POLL -DHAVE_SYS_EVENT_H -DHAVE_SYS_QUEUE_H -DEV_USE_KQUEUE -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_SSL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYSCTLBYNAME -DHAVE_SYSCTLBYNAME -fno-common -arch x86_64 -fexceptions -fno-common -pipe -O3 -g -Wall -arch x86_64 -o rev_loop.o -c rev_loop.c rev_loop.c: In function ‘Rev_Loop_initialize’: rev_loop.c:93: warning: no return statement in function returning non-void rev_loop.c: In function ‘Rev_Loop_run_nonblock’: rev_loop.c:278: error: ‘TRAP_BEG’ undeclared (first use in this function) rev_loop.c:278: error: (Each undeclared identifier is reported only once rev_loop.c:278: error: for each function it appears in.) rev_loop.c:280: error: ‘TRAP_END’ undeclared (first use in this function) make: *** [rev_loop.o] Error 1 }}} These gems installed successfully on 1.8.7 and 1.9.2. -- Ticket URL: <http://www.macruby.org/trac/ticket/1379> MacRuby <http://macruby.org/>