From: Takaaki T. <tt...@kt...> - 2002-11-01 07:28:26
|
At Thu, 31 Oct 2002 23:05:25 -0800 (PST), > In file included from flbitmap.cc:5: > fltk.h:8: declaration of C function `void rb_gc_mark(long unsigned int)' > conflicts with > /usr/lib/ruby/1.6/i586-linux-gnu/intern.h:193: previous declaration `void > rb_gc_mark()' here > make: *** [flbitmap.o] Error 1 In the archive, there is the file intern.h.diff. It corrects intern.h. $ cd /usr/lib/ruby/1.6/i586-linux-gnu $ mv intern.h intern.h.orig $ patch -p0 < intern.h.diff If the above fails, correct intern.h with your hand. You only add VALUE to rb_gc_mark() and rb_gc_mark_maybe() as follows: void rb_gc_mark() -> void rb_gc_mark(VALUE) void rb_gc_mark_maybe() -> void rb_gc_mark_maybe(VALUE) -- Takaaki Tateishi <tt...@kt...> |