Issue #6320 has been reported by jonforums (Jon Forums).

----------------------------------------
Bug #6320: [mingw] win32/dln build failure
https://bugs.ruby-lang.org/issues/6320

Author: jonforums (Jon Forums)
Status: Open
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: build
Target version: 1.9.3
ruby -v: ruby 1.9.3p184 (2012-04-15 revision 35335) [i386-mingw32]


Hector the mingw manual CI build monkey recently escaped. Seems he was disgruntled with his zero-banana-a-day perks.

We were finally able to tempt him away from his entourage at the Macao tables and put him back in his CI test cage. Just before he passed out he discovered the following build failures on Win7 32bit with trunk@r35386 and ruby_1_9_3@r35369 The failure doesn't occur when building with Windows SDK 7.1.

I haven't looked at the extconf.rb or Makefile yet, but it looks to be a static/dynamic build setting miss.

...
make[2]: Entering directory `/c/Users/Jon/Documents/RubyDev/ruby-git/build/ext/-test-/win32/dln'
generating dln-i386-mingw32.def
compiling ../../../../../ext/-test-/win32/dln/dlntest.c
compiling ../../../../../ext/-test-/win32/dln/libdlntest.c
linking shared-object dlntest.dll
linking shared-object -test-/win32/dln.so
gcc.exe: error: dlntest.a: No such file or directory
make[2]: *** [../../../../.ext/i386-mingw32/-test-/win32/dln.so] Error 1
make[2]: Leaving directory `/c/Users/Jon/Documents/RubyDev/ruby-git/build/ext/-test-/win32/dln'
make[1]: *** [ext/-test-/win32/dln/all] Error 2

Sadly, Hector's now babbling incoherently about donating his poker winnings to a nonexistent mingw-CI-VM-using-DevKit kickstarter project. 


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