From: yoshihisa masuda Date: 2003-10-26T09:36:35+09:00 Subject: [ruby-list:38668] make ruby-1.6.8 on Panther マスダです。 Panther(Mac OS X 10.3)には標準で ruby 1.6.8 がインストールされ ているのですが、これを間違って 1.8 で上書きしてしまいました。 しかたなくソースから 1.6.8 を make しようとしたところ、eval.c の コンパイルで以下のようなエラーが出て止まってしまいました。 1.8.1 (2003-10-25) の make には特になんの問題もありませんでしたが 1.6系もまだ並行して使いたいので困っています。 eval.c:7462: warning: static declaration for `thread_switch' follows non-static eval.c: In function `thread_switch': eval.c:7463: error: argument `n' doesn't match prototype /usr/include/mach/thread_switch.h:73: error: prototype declaration eval.c:7463: error: number of arguments doesn't match prototype /usr/include/mach/thread_switch.h:73: error: prototype declaration eval.c: In function `rb_thread_schedule': eval.c:7902: error: too few arguments to function `thread_switch' eval.c: At top level: eval.c:8329: error: `thread_abort' redeclared as different kind of symbol /usr/include/mach/ppc/thread_act.h:143: error: previous declaration of `thread_abort' eval.c:8329: warning: `thread_abort' was declared `extern' and later `static' eval.c: In function `rb_thread_start_0': eval.c:8494: error: too few arguments to function `thread_switch' eval.c:8519: error: too few arguments to function `thread_switch' eval.c: In function `rb_thread_interrupt': eval.c:8733: error: too few arguments to function `thread_switch' eval.c: In function `rb_thread_signal_raise': eval.c:8751: error: too few arguments to function `thread_switch' eval.c: In function `rb_thread_trap_eval': eval.c:8782: error: too few arguments to function `thread_switch' eval.c: In function `rb_thread_raise': eval.c:8804: error: too few arguments to function `thread_switch' eval.c: In function `rb_callcc': eval.c:8973: error: too few arguments to function `thread_switch' make: *** [eval.o] Error 1