From: Paul.Sue@... (Paul) Date: 2004-01-07T04:26:42+09:00 Subject: Re: problems compiling ruby 1.8.1 on AIX 4.3.3 AND 5.1 nobu.nokada@softhome.net wrote in message news:<200401060514.i065EA1k010033@sharui.nakada.kanuma.tochigi.jp>... > > /usr/ccs/bin/ld -brtl -eInit_rmd160 -bI:/home/paul/ruby-1.8.1/ruby.imp -bM:SRE > > -T512 -H512 -lc -L"/home/paul/ruby-1.8.1" > > -L"/u/dtalkwiz/psue/local/lib" -o rmd160.so rmd160init.o rmd160.o rmd160hl.o > > -ldl -lcrypt -lm -lc > > ld: 0711-317 ERROR: Undefined symbol: .__eprintf > > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. > > Have you installed required stuff (libraries etc.) properly? What required libraries?? On Solaris 8, all I had to do was: # configure # make # make install and it all worked fine. > Or, try > > ./cnofigure --disable-pthread CPPFLAGS=-DNDEBUG I did and still get errors: to summarize: * on AIX 4.3.3/GCC I get: /usr/ccs/bin/ld -brtl -eInit_rmd160 -bI:/home/paul/ruby-1.8.1/ruby.imp -bM:SRE -T512 -H512 -lc -L"/home/paul/ruby-1.8.1" -L"/u/dtalkwiz/psue/local/lib" -o rmd160.so rmd160init.o rmd160.o rmd160hl.o -ldl -lcrypt -lm -lc ld: 0711-317 ERROR: Undefined symbol: .__eprintf * on AIX 4.3.3 / IBM VAC I get: * on {AIX 4.3.3/5.1} / IBM VAC I get: compiling curses cc -g -I. -I/home/paul/ruby-1.8.1 -I/home/paul/ruby-1.8.1 -I/home/paul/ruby-1.8.1/ext/curses -DHAVE_CURSES_H -DHAVE_BEEP -DHAVE_BKGD -DHAVE_BKGDSET -DHAVE_CURS_SET -DHAVE_DELETELN -DHAVE_DOUPDATE -DHAVE_FLASH -DHAVE_GETBKGD -DHAVE_GETNSTR -DHAVE_INIT -DHAVE_ISENDWIN -DHAVE_KEYNAME -DHAVE_KEYPAD -DHAVE_RESIZETERM -DHAVE_SCRL -DHAVE_SET -DHAVE_SETSCRREG -DHAVE_UNGETCH -DHAVE_WATTROFF -DHAVE_WATTRON -DHAVE_WATTRSET -DHAVE_WBKGD -DHAVE_WBKGDSET -DHAVE_WDELETELN -DHAVE_WGETNSTR -DHAVE_WRESIZE -DHAVE_WSCRL -DHAVE_WSETSCRREG -DHAVE_DEF_PROG_MODE -DHAVE_RESET_PROG_MODE -DHAVE_TIMEOUT -DHAVE_WTIMEOUT -DHAVE_NODELAY -DHAVE_INIT_COLOR -DNDEBUG -c curses.c "/home/paul/ruby-1.8.1/ruby.h", line 65.1: 1506-224 (I) Incorrect #pragma ignored. /usr/ccs/bin/ld -brtl -eInit_curses -bI:/home/paul/ruby-1.8.1/ruby.imp -bM:SRE -T512 -H512 -lc -L"/home/paul/ruby-1.8.1" -L"/home/paul/local/lib" -o curses.so curses.o -lcurses -ldl -lcrypt -lm -lc ld: 0711-317 ERROR: Undefined symbol: .wresize ld: 0711-317 ERROR: Undefined symbol: .resizeterm ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make: 1254-004 The error code from the last command is 8. --- DO I need to set LIBPATH or ??? Still confused, Paul