From: Lanny Rosicky Date: 2006-06-18T04:25:49+09:00 Subject: Re: Compiling AIX 4.3.3 ruby 1.8.4 unknown wrote: >> SORRY, I found the answer elsewhere. I have to make ruby.imp manually >> ... > > Manually? The rule for `all' should have $(ARCHFILE), which is > set to ruby.imp on AIX. Can't you show the result of this > command? > > grep ARCHFILE Makefile Thank you for responding Here is the output ARCHFILE = ruby.imp $(LIBRUBY_SO): $(OBJS) $(DLDOBJS) $(LIBRUBY_A) $(PREP) $(ARCHFILE) @$(RM) $(PROGRAM) $(WPROGRAM) miniruby$(EXEEXT) dmyext.$(OBJEXT) $(ARCHFILE) However, it did not seem to do it. I entered make ruby.imp and got past the error message. Now I am struggling with ./ext/extmk.rb:168: warning: Insecure world writable dir /tmp, mode 0241777 /usr/ccs/bin/ld -brtl -eInit_socket -bI:../../ruby.imp -bM:SRE -T512 -H512 -L"../.." -o ../../.ext/powerpc-aix4.3.3.0/socket.so socket.o -ldl -lcrypt -lm -lc ld: 0711-317 ERROR: Undefined symbol: .CMSG_SPACE ld: 0711-317 ERROR: Undefined symbol: .CMSG_LEN 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. The suggestion was to include -D_LINUX_SOURCE_COMPAT in the CPPFLAGS of the Makefile in ext/socket but either I am doing it wrong or it does not help in AIX 4.3 (the advice was for AIX 5). Any help would be appreciated. -- Posted via http://www.ruby-forum.com/.