From: "Garriss, Michael" Date: 2002-12-07T01:26:29+09:00 Subject: Re: irb aborts in 1.7.3 on Solaris okay, now I can't build ext/readline. I recently upgraded readline to 4.3. [local]frisco:mgarriss:/tmp/mgarriss/ruby/ext/readline> make gcc -fPIC -g -O2 -DREADLINE_42_OR_LATER -DREADLINE_40_OR_LATER -I. -I/tmp/mgarriss/ruby -I/tmp/mgarriss/ruby -I/tmp/mgarriss/ruby/ext/readline -DHAVE_READLINE_READLINE_H -DHAVE_READLINE_HISTORY_H -DHAVE_RL_FILENAME_COMPLETION_FUNCTION -DHAVE_RL_CLEANUP_AFTER_SIGNAL -c readline.c In file included from /tmp/mgarriss/ruby/ruby.h:21, from readline.c:9: /tmp/mgarriss/ruby/config.h:16:1: warning: "_FILE_OFFSET_BITS" redefined In file included from /usr/include/iso/stdio_iso.h:35, from /home/mgarriss/lib/gcc-lib/sparc-sun-solaris2.8/3.2/include/stdio.h:36, from readline.c:5: /usr/include/sys/feature_tests.h:96:1: warning: this is the location of the previous definition readline.c: In function `readline_attempted_completion_function': readline.c:122: `rl_attempted_completion_over' undeclared (first use in this function) readline.c:122: (Each undeclared identifier is reported only once readline.c:122: for each function it appears in.) readline.c: In function `filename_completion_proc_call': readline.c:607: `rl_filename_completion_function' undeclared (first use in this function) readline.c:607: warning: assignment makes pointer from integer without a cast readline.c: In function `username_completion_proc_call': readline.c:634: `rl_username_completion_function' undeclared (first use in this function) readline.c:634: warning: assignment makes pointer from integer without a cast make: *** [readline.o] Error 1 Those vars it can't find are found in readline/readline.h. Any clues? -----Original Message----- From: Garriss, Michael [mailto:Michael.Garriss@abacus-direct.com] Sent: Friday, December 06, 2002 8:17 AM To: 'ruby-core@ruby-lang.org'; ruby-talk@ruby-lang.org Subject: Re: irb aborts in 1.7.3 on Solaris I'm also having trouble getting irb to work on Solaris. My problem appears with irb --readline. I've cleaned everything out and I'm now going to rebuild everything with the latest snapshots of source. I'll let you know how it goes. uname -a SunOS frisco 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-4 gcc --version gcc (GCC) 3.2 -----Original Message----- From: Jim Freeze [mailto:jim@freeze.org] Sent: Friday, December 06, 2002 7:55 AM To: ruby-talk@ruby-lang.org Cc: ruby-core@ruby-lang.org Subject: irb aborts in 1.7.3 on Solaris Hi: I did not get an answer to this before, so I'll post again. I just did a cvs get and compiled 1.7.3 on Solaris: uname -a SunOS juno 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-5_10 When running irb, I get the following error: irb /home/jfn/myruby173/lib/ruby/1.7/sparc-solaris2.8/nkf.so: [BUG] Segmentation fault ruby 1.7.3 (2002-12-04) [sparc-solaris2.8] Abort Is this a known problem? -- Jim Freeze