From: nobu.nokada@... Date: 2004-01-07T13:54:59+09:00 Subject: Re: problems compiling ruby 1.8.1 on AIX 4.3.3 AND 5.1 Hi, At Wed, 7 Jan 2004 04:26:42 +0900, Paul wrote: > > > /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?? I'm not sure what you need to use pthread on AIX. > * 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 This symbol is for assert()? > * on {AIX 4.3.3/5.1} / IBM VAC I get: > > "/home/paul/ruby-1.8.1/ruby.h", line 65.1: 1506-224 (I) Incorrect > #pragma ignored. #pragma alloca is valid for only gcc? > /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 I have no idea why extconf detected them but ld failed. Can you show mkmf.rb under ext/curses? -- Nobu Nakada