From: Dave Fayram Date: 2003-07-25T23:49:46+09:00 Subject: Re: ruby 1.8.0 preview4 On Thursday, July 24, 2003, at 1:03 AM, Yukihiro Matsumoto wrote: > > > ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0-preview4.tar.gz > > Mac OS X 10.3 Developer Preview has the following issue during build of eval.c: gcc -g -O2 -pipe -I. -I. -c eval.c eval.c:8217: warning: static declaration for `thread_switch' follows non-static eval.c: In function `thread_switch': eval.c:8218: error: argument `n' doesn't match prototype and later: eval.c:9147: 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:9147: warning: `thread_abort' was declared `extern' and later `static' eval.c: In function `rb_thread_start_0': eval.c:9326: error: too few arguments to function `thread_switch' eval.c:9351: error: too few arguments to function `thread_switch' eval.c: In function `rb_thread_interrupt': eval.c:9595: error: too few arguments to function `thread_switch' eval.c: In function `rb_thread_signal_raise': eval.c:9615: error: too few arguments to function `thread_switch' (and more instances of this) Oh... gcc -v Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1435) uname -a Darwin zero.local. 7.0.0b1 Darwin Kernel Version 7.0.0b1: Mon Jun 16 23:01:44 PDT 2003; root:xnu/xnu-452.1.obj~1/RELEASE_PPC Power Macintosh powerpc Looks like eval.c's functions are trying to override /user/include/mach/thread* 's functions and losing. - Dave "paradox" Fayram Developer / Idealist kirindave@lensmen.net