From: Ludo Date: 2002-11-29T17:50:41+09:00 Subject: Re: FXRuby compile error --=-ER/JHLz0a1sGkP4r1YJ7 Content-Type: text/plain Content-Transfer-Encoding: 7bit this error is documented in the package install file (you may probably just change a type value in the file intern.h of Ruby includes, this is due to normalisation of C(for Ruby) and C++(for FXRuby) ) On Thu, 2002-11-28 at 21:49, Kurt V. Hindenburg wrote: > (kvh@rachael)-(15:49)-(~/FXRuby-1.0.16)> ruby install.rb setup > install.rb: entering setup phase... > ---> lib > ---> lib/fox > <--- lib/fox > <--- lib > ---> ext > ---> ext/fox > > make > g++ -fPIC -march=athlon -O0 -Iinclude -I. > -I/usr/lib/ruby/1.6/i686-linux-gnu > -I/mnt/alpha/home/kvh/FXRuby-1.0.16/ext/fox -I/usr/include > -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include > -I/usr/include/fox -c -o FXRuby.o FXRuby.cpp > /usr/lib/ruby/1.6/i686-linux-gnu/intern.h: In function `void > FXRbGcMark(void*)': > /usr/lib/ruby/1.6/i686-linux-gnu/intern.h:193: too many arguments to > function ` > void rb_gc_mark()' > FXRuby.cpp:258: at this point in file > make: *** [FXRuby.o] Error 1 > setup failed > 'system make' failed > try 'ruby install.rb --help' for usage > > (kvh@rachael)-(15:54)-(~/FXRuby-1.0.16)> ruby -v > ruby 1.6.7 (2002-03-01) [i686-linux-gnu] -- Ludo ENIB/LI2 --=-ER/JHLz0a1sGkP4r1YJ7 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit this error is documented in the package install file
(you may probably just change a type value in the file intern.h of Ruby includes, this is due to normalisation of C(for Ruby) and C++(for FXRuby) )

On Thu, 2002-11-28 at 21:49, Kurt V. Hindenburg wrote:
(kvh@rachael)-(15:49)-(~/FXRuby-1.0.16)> ruby install.rb setup
install.rb: entering setup phase...
---> lib
---> lib/fox
<--- lib/fox
<--- lib
---> ext
---> ext/fox

make
g++ -fPIC -march=athlon  -O0 -Iinclude -I.
-I/usr/lib/ruby/1.6/i686-linux-gnu
-I/mnt/alpha/home/kvh/FXRuby-1.0.16/ext/fox -I/usr/include
-DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H   -I/usr/local/include
-I/usr/include/fox -c -o FXRuby.o FXRuby.cpp
/usr/lib/ruby/1.6/i686-linux-gnu/intern.h: In function `void
   FXRbGcMark(void*)':
/usr/lib/ruby/1.6/i686-linux-gnu/intern.h:193: too many arguments to
function `
   void rb_gc_mark()'
FXRuby.cpp:258: at this point in file
make: *** [FXRuby.o] Error 1
setup failed
'system make' failed
try 'ruby install.rb --help' for usage

(kvh@rachael)-(15:54)-(~/FXRuby-1.0.16)> ruby -v
ruby 1.6.7 (2002-03-01) [i686-linux-gnu]
--
Ludo <coquelle@enib.fr>
ENIB/LI2
--=-ER/JHLz0a1sGkP4r1YJ7--