Issue #5042 has been reported by Mitsuru FURUI.

----------------------------------------
Bug #5042: ruby-1.9.2-p290 Build Error @Cygwin
http://redmine.ruby-lang.org/issues/5042

Author: Mitsuru FURUI
Status: Open
Priority: Normal
Assignee: 
Category: build
Target version: 1.9.2
ruby -v: ruby-1.9.2-p290


最新版 ruby-1.9.2-p290 をビルドしたところ win32ole のところでギブアップ。
以下にmake時の表示を貼り付けます。
---
compiling win32ole
make[1]: Entering directory `/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole'
gcc -shared -s -o ../../.ext/i386-cygwin/win32ole.so win32ole.o -L. -L../.. -L.  -Wl,--enable-auto-image-base,--enable-auto-import  -lruby191 -ladvapi32 -lkernel32 -luser32 -luuid -loleaut32 -lole32  -lpthread -lrt -ldl -lcrypt  
win32ole.o: In function `fole_activex_initialize':
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:4769: undefined reference to `_IID_IPersistMemory'
win32ole.o: In function `mf_QueryInterface':
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:597: undefined reference to `_IID_IUnknown'
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:598: undefined reference to `_IID_IMessageFilter'
win32ole.o: In function `QueryInterface':
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:699: undefined reference to `_IID_IUnknown'
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:700: undefined reference to `_IID_IDispatch'
win32ole.o: In function `EVENTSINK_QueryInterface@12':
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:7578: undefined reference to `_IID_IUnknown'
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:7579: undefined reference to `_IID_IDispatch'
win32ole.o: In function `fole_each':
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:4021: undefined reference to `_GUID_NULL'
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:4038: undefined reference to `_IID_IEnumVARIANT'
win32ole.o: In function `load_conv_function51932':
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:934: undefined reference to `_CLSID_CMultiLanguage'
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:934: undefined reference to `_CLSID_CMultiLanguage'
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:934: undefined reference to `_CLSID_CMultiLanguage'
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:934: undefined reference to `_CLSID_CMultiLanguage'
win32ole.o: In function `ole_create_dcom':
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:2622: undefined reference to `_IID_IDispatch'
win32ole.o: In function `fole_initialize':
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:3255: undefined reference to `_IID_IDispatch'
win32ole.o: In function `load_conv_function51932':
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:934: undefined reference to `_CLSID_CMultiLanguage'
win32ole.o: In function `fole_s_connect':
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:2725: undefined reference to `_IID_IDispatch'
win32ole.o: In function `ole_bind_obj':
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:2663: undefined reference to `_IID_IDispatch'
win32ole.o: In function `fole_respond_to':
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:4523: undefined reference to `_GUID_NULL'
win32ole.o: In function `find_default_source':
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:8181: undefined reference to `_IID_IProvideClassInfo2'
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:8197: undefined reference to `_IID_IProvideClassInfo'
win32ole.o: In function `ev_advise':
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:8315: undefined reference to `_IID_IConnectionPointContainer'
win32ole.o: In function `ole_variant2val':
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:2262: undefined reference to `_IID_IDispatch'
win32ole.o: In function `ole_invoke2':
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:3739: undefined reference to `_GUID_NULL'
win32ole.o: In function `ole_invoke':
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:3399: undefined reference to `_GUID_NULL'
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:3457: undefined reference to `_GUID_NULL'
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:3371: undefined reference to `_GUID_NULL'
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:3474: undefined reference to `_GUID_NULL'
win32ole.o:/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:3488: more undefined references to `_GUID_NULL' follow
win32ole.o: In function `load_conv_function51932':
/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole/win32ole.c:934: undefined reference to `_CLSID_CMultiLanguage'
collect2: ld returned 1 exit status
make[1]: *** [../../.ext/i386-cygwin/win32ole.so] Error 1
make[1]: Leaving directory `/cygdrive/c/home/mfurui/tmp/ruby-1.9.2-p290/ext/win32ole'
make: *** [mkmain.sh] Error 1



-- 
http://redmine.ruby-lang.org