From: uncutstone wu Date: 2006-05-23T18:47:38+09:00 Subject: ruby 1.8.4 compilation failed on cygwin My current ruby version is 1.8.1 under cygwin , I want to upgrade it to 1.8.4. Here is the info about the enviroment: cygwin version 2.427 window 98 ruby - 1.8.4 source code After run ./configure and make, I got this kind of error: cp ../.././ext/tk/lib/tkextlib/winico/setup.rb ../../.ext/tkextlib/winico cp ../.././ext/tk/lib/tkextlib/winico/winico.rb ../../.ext/tkextlib/winico cp ../.././ext/tk/lib/tkextlib/SUPPORT_STATUS ../../.ext/tkextlib make[1]: Leaving directory `/home/software/ruby-1.8.4/ext/tk' compiling tk/tkutil make[1]: Entering directory `/home/software/ruby-1.8.4/ext/tk/tkutil' gcc -g -O2 -I. -I../../.. -I../../../. -I../../.././ext/tk/tkutil -c tkutil.c gcc -shared -s -Wl,--enable-auto-import,--export-all -L"../../.." -o ../../../.ext/i386-cygwin/tkutil.so tkutil.o -lruby -lcrypt make[1]: Leaving directory `/home/software/ruby-1.8.4/ext/tk/tkutil' compiling win32ole make[1]: Entering directory `/home/software/ruby-1.8.4/ext/win32ole' gcc -g -O2 -I. -I../.. -I../../. -I../.././ext/win32ole -DNONAMELESSUNION -DHAVE_WINDOWS_H -c win32ole.c gcc -shared -s -Wl,--enable-auto-import,--export-all -L"../.." -o ../../.ext/i386-cygwin/win32ole.so win32ole.o -lruby -ladvapi32 -lkernel32 -luser32 -luuid -loleaut32 -lole32 -lcrypt win32ole.o(.text+0x17): In function `QueryInterface': /home/software/ruby-1.8.4/ext/win32ole/win32ole.c:217: undefined reference to `_IID_IUnknown' ............... win32ole.o(.text+0x9495): In function `fev_initialize': /home/software/ruby-1.8.4/ext/win32ole/win32ole.c:5952: undefined reference to `_IID_IConnectionPointContainer' collect2: ld returned 1 exit status make[1]: *** [../../.ext/i386-cygwin/win32ole.so] Error 1 make[1]: Leaving directory `/home/software/ruby-1.8.4/ext/win32ole' make: *** [all] Error 1 Any suggestion is welcome. Thanks in advance. uncutstone -- Posted via http://www.ruby-forum.com/.