On Thu, May 28, 2009 at 6:49 AM, Roger Pack <redmine / ruby-lang.org> wrote: > Bug #1529: unable to compile OOTB > http://redmine.ruby-lang.org/issues/show/1529 > > Author: Roger Pack > Status: Open, Priority: Normal > ruby -v: trunk > > Here's the output from attempting to compile 1.8 trunk on linux: > > make[1]: Entering directory `/home/rdp/dev/downloads/ruby_1_8_svn/ext/thread' > gcc -I. -I../.. -I../../. -I../.././ext/thread -D_FILE_OFFSET_BITS=64 DUSE_MEM_POOLS -fPIC -O2 -g -Wall -Wno-parentheses fPIC c thread.c > thread.c: In function 'unlock_mutex_inner': > thread.c:485: error: 'list' undeclared (first use in this function) > thread.c:485: error: (Each undeclared identifier is reported only once > thread.c:485: error: for each function it appears in.) > make[1]: *** [thread.o] Error 1 > > Thanks. diff --git a/ext/thread/thread.c b/ext/thread/thread.c index eed74ba..ca385ce 100644 --- a/ext/thread/thread.c +++ b/ext/thread/thread.c @@ -482,7 +482,7 @@ unlock_mutex_inner(Mutex *mutex) waking = wake_one(&mutex->waiting); if (!NIL_P(waking)) { - adjust_join(list, waking); + adjust_join(&mutex->waiting, waking); } mutex->owner = waking;