ERROR:  While executing gem ... (OptionParser::InvalidOption)
    invalid option: -ll
adelevie@ubuntu:~/ruby_files/twitter_quiz$ gem pristine --all
Restoring gems to pristine condition...
WARNING: FakeWeb-1.1.2 has an invalid nil value for @cert_chain
Restored FakeWeb-1.1.2
WARNING: Saikuro-1.1.0 has an invalid nil value for @cert_chain
Restored Saikuro-1.1.0
Building native extensions.  This could take a while...
ERROR:  While executing gem ... (Gem::Installer::ExtensionBuildError)
    ERROR: Failed to build gem native extension.

        /usr/local/bin/ruby extconf.rb
creating Makefile

make
gcc -I. -I/usr/local/include/ruby-1.9.1/i686-linux -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64  -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -o system_timer_native.o -c system_timer_native.c
In file included from system_timer_native.c:8:0:
/usr/local/include/ruby-1.9.1/ruby/backward/rubysig.h:14:2: warning: #warning rubysig.h is obsolete
system_timer_native.c: In function ‘install_first_timer_and_save_original_configuration’:
system_timer_native.c:46:9: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:37:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:53:9: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c:38:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:57:5: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:37:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:62:5: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:37:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:65:9: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c:38:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:69:5: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:37:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:82:9: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c:38:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:89:17: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:37:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:96:9: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c:38:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:101:5: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:37:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c: In function ‘install_next_timer’:
system_timer_native.c:112:9: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:37:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:119:9: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c:38:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:123:5: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:37:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:130:9: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c:38:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:136:17: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:37:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:143:9: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c:38:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:146:5: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:37:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c: In function ‘restore_original_configuration’:
system_timer_native.c:157:9: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c:38:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:160:5: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:37:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:168:9: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c:38:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:170:9: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:37:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:172:9: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c:38:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c: In function ‘restore_original_timer_interval’:
system_timer_native.c:190:9: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c:38:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:192:5: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:37:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c: In function ‘restore_sigalrm_mask’:
system_timer_native.c:199:9: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:37:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:201:9: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:37:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c: In function ‘install_ruby_sigalrm_handler’:
system_timer_native.c:211:5: error: ‘rb_thread_critical’ undeclared (first use in this function)
system_timer_native.c:211:5: note: each undeclared identifier is reported only once for each function it appears in
system_timer_native.c: In function ‘restore_original_ruby_sigalrm_handler’:
system_timer_native.c:217:5: error: ‘rb_thread_critical’ undeclared (first use in this function)
system_timer_native.c: In function ‘clear_pending_sigalrm_for_ruby_threads’:
system_timer_native.c:266:5: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:237:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c: In function ‘set_itimerval’:
system_timer_native.c:290:7: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:237:13: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:299:56: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:237:13: note: expected ‘char *’ but argument is of type ‘const char *’
make: *** [system_timer_native.o] Error 1


Gem files will remain installed in /home/adelevie/ruby/gems/gems/SystemTimer-1.2.1 for inspection.
Results logged to /home/adelevie/ruby/gems/gems/SystemTimer-1.2.1/ext/system_timer/gem_make.out