FXRuby compile error

(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]

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

Kurt V. Hindenburg wrote:

/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

Please check the “Things That Can Go Wrong” section of the build
instructions:

http://www.fxruby.org/doc/build.html#tragedies

Hope this helps,

Lyle