From: "mame (Yusuke Endoh)" Date: 2012-05-27T00:07:05+09:00 Subject: [ruby-core:45258] [ruby-trunk - Bug #6498][Assigned] Cygwin needs $(DEFFILE) for extension libraries. Issue #6498 has been updated by mame (Yusuke Endoh). Status changed from Open to Assigned Assignee set to nobu (Nobuyoshi Nakada) Looks acceptable to me because the proposed patch affects just cygwin. (Note that cygwin is not supported now) Nobu, what do you think? -- Yusuke Endoh ---------------------------------------- Bug #6498: Cygwin needs $(DEFFILE) for extension libraries. https://bugs.ruby-lang.org/issues/6498#change-26838 Author: koba (Shinji Kobayashi) Status: Assigned Priority: Normal Assignee: nobu (Nobuyoshi Nakada) Category: build Target version: ruby -v: ruby 1.9.3p231 (2012-05-25 revision 35794) [i386-cygwin] It seems that Bug #2684 is also valid for Cygwin. For example, "gem install glib2 atk" fails with many undefined references: ... linking shared-object atk.so Creating library file: libruby-atk.arbatkaction.o: In function `rg_set_description': /usr/local/lib/ruby/gems/1.9.1/gems/atk-1.1.3/ext/atk/rbatkaction.c:68: undefined reference to `_rbg_rval2cstr' /usr/local/lib/ruby/gems/1.9.1/gems/atk-1.1.3/ext/atk/rbatkaction.c:68: undefined reference to `_rbgobj_instance_from_ruby_object' rbatkaction.o: In function `rg_get_keybinding': /usr/local/lib/ruby/gems/1.9.1/gems/atk-1.1.3/ext/atk/rbatkaction.c:62: undefined reference to `_rbgobj_instance_from_ruby_object' ... Cygwin version: CYGWIN_NT-6.1-WOW64 nodename 1.7.15(0.260/5/3) 2012-05-09 10:25 i686 Cygwin Ruby configuration: CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ../ruby/configure --enable-shared --program-suffix=1.9 A possible patch and the error log is attached. -- http://bugs.ruby-lang.org/