Hi, >From: "Ram Kochhar" <r.kochhar01 / worldnet.att.net> >Subject: [ruby-talk:13791] Re: narray and undefined symbol > I tried what you suggested. But > ruby mkop.rb > results in the following error > ./mknafunc.rb:111:[Bug] segmentation fault > Aborted(core dumped) > Thanks That is why "undefined symbol" error occured. The line in the script "mknafunc.rb" contains a gsub method chain, and this is probably nothing bad itself. Some problem may be in gcc or Ruby. I do NOT encounter such an error with Ruby 1.6.1 compiled with gcc version 2.95.3 20010315 (release) on solaris 2.7, even with gcc options; "-O3 -fomit-frame-pointer -ffast-math -fexpensive-optimizations" It may be solved, I guess, by recompiling Ruby without such optimizations. Masa Tanaka