From: nobu.nokada@... Date: 2003-01-14T03:14:15+09:00 Subject: Re: [PATCH] ruby-1.8.0-preview1 AIX 4 compiling Hi, At Mon, 13 Jan 2003 20:33:32 +0900, moumar@netcourrier.com wrote: > here is a patch against 1.8.0-preview1 which fixes compiling problems on AIX 4.3 (snip) > -all: @MAKEFILES@ miniruby$(EXEEXT) rbconfig.rb $(LIBRUBY) > +all: @MAKEFILES@ miniruby$(EXEEXT) rbconfig.rb $(LIBRUBY) ruby.imp Well, I intended @ARCHFILE@ would be replaced with ruby.imp on AIX, but isn't it? If you use gcc, following patch may fix it. > diff -Nru ruby-1.8.0.orig/marshal.c ruby-1.8.0/marshal.c > --- ruby-1.8.0.orig/marshal.c Tue Dec 24 00:55:30 2002 > +++ ruby-1.8.0/marshal.c Mon Jan 13 11:17:41 2003 > @@ -10,12 +10,12 @@ > > **********************************************************************/ > > -#include > - > #include "ruby.h" > #include "rubyio.h" > #include "st.h" > #include "util.h" > + > +#include What error occured? Index: configure.in =================================================================== RCS file: /cvs/ruby/src/ruby/configure.in,v retrieving revision 1.164 diff -u -2 -p -r1.164 configure.in --- configure.in 10 Jan 2003 16:47:03 -0000 1.164 +++ configure.in 13 Jan 2003 18:12:06 -0000 @@ -1092,6 +1092,6 @@ if test "$enable_shared" = 'yes'; then LIBRUBY_LDSHARED='/usr/ccs/bin/ld' LIBRUBY_DLDFLAGS='-bE:ruby.imp -bM:SRE -bnoentry' - ARCHFILE="ruby.imp" fi + ARCHFILE="ruby.imp" LIBRUBYARG_SHARED='-L${libdir} -Wl,lib$(RUBY_SO_NAME).so' SOLIBS='-lm -lc' -- Nobu Nakada