From: don_feliciano@... (Don) Date: 2003-12-23T11:01:54+09:00 Subject: Re: Ruby for AIX 5.2? Luke's changes work, plus one more (which he sent me in a mail): Add -liconv to DLDFLAGS in ext/iconv/Makefile. Without that flag, you will get (with -bnoquiet): ld: 0711-318 ERROR: Undefined symbols were found. The following symbols are in error: Symbol Inpndx TY CL Source-File(Object-File) OR Import-File{Shared-object} RLD: Address Section Rld-type Referencing Symbol ---------------------------------------------------------------------------------------------- .iconv_open [40] ER PR iconv.c(iconv.o) 00000200 .text R_RBR [556] <.iconv_create> 00000258 .text R_RBR [556] <.iconv_create> .iconv_close [52] ER PR iconv.c(iconv.o) 000002f8 .text R_RBR [574] <.iconv_dfree> 00000350 .text R_RBR [583] <.iconv_free> .iconv [72] ER PR iconv.c(iconv.o) 0000049c .text R_RBR [605] <.iconv_try> ER: The return code is 8. make: 1254-004 The error code from the last command is 8. Thanks for the work-arounds, Luke! "Luke A. Kanies" wrote in message news:... > On Tue, 23 Dec 2003, Don wrote: > > > dfelicia --> oslevel -r > > 5200-02 > > The solution I'm providing works on AIX 5.1, and I expect on 5.2, also. > > I promised matz a bug report, but I have not yet filed it (bad luke!). > > > gcc: `-b' must come at the start of the command line > > make: 1254-004 The error code from the last command is 1. > > find . -name Makefile -exec perl -pi -e 's/ -brtl$//' {} \; > > This basically just removes any -b settings at the end of lines. The > -brtl is in there twice for some reason, so this doesn't affect > functionality, just compilability. > > And you might need this: > > perl -pi -e 's/^.+RSTRING.+$//' ext/syck/emitter.c > > I had some strange behaviour, getting an error on a commented line (!), > and this removes that line, thus allowing emmitter to be compiled. > > Good luck. > > Luke