From: Ruby Ruby Date: 2004-03-26T23:21:23+09:00 Subject: Re: Errors with "make" step, while compiling ruby under AIX 5.2 --0-744780400-1080310877=:62870 Content-Type: text/plain; charset=us-ascii I am sorry to insist but this is important to me. I've never applied a patch to Ruby. Please forgive my ignorance. I was under the impression that I only had to replace segment of codes from extconf.rb with the code segment that you provided, and retry the "make" again. I guess I am wrong! If you or anyone else do have some instructions as to how to apply a patch or if you could point me to a place where I can get that information, I will truly appreciate it. Thank you nobu.nokada@softhome.net wrote: Hi, At Fri, 26 Mar 2004 05:25:42 +0900, Ruby Ruby wrote in [ruby-talk:95875]: > ld: 0711-317 ERROR: Undefined symbol: .__eprintf Seems to be used by assert() macro. This patch will disable it. Index: ext/digest/rmd160/extconf.rb =================================================================== RCS file: /pub/cvs/ruby/src/ruby/ext/digest/rmd160/extconf.rb,v retrieving revision 1.4.2.1 diff -u -2 -p -r1.4.2.1 extconf.rb --- ext/digest/rmd160/extconf.rb 21 Jan 2004 07:01:43 -0000 1.4.2.1 +++ ext/digest/rmd160/extconf.rb 26 Mar 2004 00:50:01 -0000 @@ -4,5 +4,5 @@ require "mkmf" -$CFLAGS << " -DHAVE_CONFIG_H -I#{File.dirname(__FILE__)}/.." +$CPPFLAGS << " -DNDEBUG -DHAVE_CONFIG_H -I#{File.dirname(__FILE__)}/.." $objs = [ "rmd160init.#{$OBJEXT}" ] -- Nobu Nakada --------------------------------- Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. --0-744780400-1080310877=:62870--