From: Philippe Lucas Date: 2005-06-02T02:05:12+09:00 Subject: Ruby 1.8.3 Build error on AIX 5.2 with gcc 3.4.4 Hello, I've found errors on AIX 5.2 with gcc 3.4.4 : -A) Configuration errors : -1) Bind error in ext/bigdecimal because the file ruby.imp doesn't exist. In the main Makefile, $(RBCONFIG) target needs $(ARCHFILE). You can have the line : $(RBCONFIG): $(srcdir)/mkconfig.rb config.status $(PREP) $(ARCHFILE) -B) Compiler errors : -1) ext/readline.c line 13 : includes some 64 bits features if the configuration program set the macro __LARGE_FILES. So, if you don't use 64 bits file acces you have to add "#undef __LARGE_FILES" in line 13 just before #include -C) Linker errors : -1) Configuration program set LDFLAGS = ${CFLAGS} -brtl. This is an error. In gcc the correct parameter is -Wl,-brtl. -D) Warning messages : -1) On my system, configure:3866 produces the _ALL_SOURCE macro which is defined in :144 from :37. So i can suppress it in the config.h but it is a uggly patch !! Philippe Lucas