From: Jim Freeze Date: 2002-09-11T21:42:06+09:00 Subject: Re: RubyInline 1.0.4 Released! (fwd) I'm having a few problems running RubyInline on a Sun: ./example.rb RubyInline 1.0.4 Building /tmp/Mod_MyTest_fastfact.so with 'gcc -Wl,-G -shared -g -O2 -I /usr/local/lib/ruby/1.6/sparc-solaris2.8' ./inline.rb:64: [BUG] Segmentation fault ruby 1.6.6 (2001-12-26) [sparc-solaris2.8] Abort ./example.rb RubyInline 1.0.4 ./inline.rb:64: [BUG] Segmentation fault ruby 1.6.6 (2001-12-26) [sparc-solaris2.8] Abort I changed require to load on line 64 and added a print statement and re-ran: ./example.rb RubyInline 1.0.4 "/tmp/Mod_MyTest_fastfact.so" /tmp/Mod_MyTest_fastfact.so:1: warning: useless use of a constant in void context ./inline.rb:65:in `load': /tmp/Mod_MyTest_fastfact.so:1: Invalid char `\177' in expression (SyntaxError) /tmp/Mod_MyTest_fastfact.so:1: Invalid char `\001' in expression /tmp/Mod_MyTest_fastfact.so:1: Invalid char `\002' in expression /tmp/Mod_MyTest_fastfact.so:1: Invalid char `\001' in expression from ./inline.rb:65:in `inline' from ./example.rb:16:in `fastfact' from ./example.rb:34 from ./example.rb:34:in `each' from ./example.rb:34 Line 65 is: load "#{so_name}" -- Jim Freeze ---------- Programming Ruby def initialize; fun; end A language with class