In article <41F9FBD3.20402 / ttsky.net>, Takaaki Tateishi wrote:
>Tim Sutherland wrote:
>> tim@alien:~/d/ruby-dl2-0.0$ make
>> gcc -fPIC -g -O2 -fno-defer-pop -fno-omit-frame-pointer  -I. -I/usr/local/stow/ruby-cvs//lib/ruby/1.9/i686-linux -I/usr/local/stow/ruby-cvs//lib/ruby/1.9/i686-linux -I. -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR  -c cfunc.c
>> gcc -fPIC -g -O2 -fno-defer-pop -fno-omit-frame-pointer  -I. -I/usr/local/stow/ruby-cvs//lib/ruby/1.9/i686-linux -I/usr/local/stow/ruby-cvs//lib/ruby/1.9/i686-linux -I. -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR  -c cptr.c
>> generating callback.h
>> ../mkcallback.rb:126:in `%': too many arguments for format string (ArgumentError)
>> 	from ./mkcallback.rb:126
>
>I think you run ruby-1.9 with the option '-d' or '--verbose'.
>I modified mkcallback.rb, fixed another problem and released ruby-dl2-0.1.zip.

Yes, I have "RUBYOPT=-w".

ruby-dl2-0.1 builds fine and running test/test_all.rb produces
 28 tests, 43 assertions, 0 failures, 0 errors

Thanks.