Project

General

Profile

Actions

Bug #6498

closed

Cygwin needs $(DEFFILE) for extension libraries.

Added by koba (Shinji Kobayashi) almost 12 years ago. Updated almost 12 years ago.

Status:
Rejected
Target version:
-
ruby -v:
ruby 1.9.3p231 (2012-05-25 revision 35794) [i386-cygwin]
Backport:
[ruby-core:45246]

Description

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.


Files

cygwin-deffile.patch (745 Bytes) cygwin-deffile.patch A possible patch koba (Shinji Kobayashi), 05/26/2012 10:28 AM
atk-gem_make.out (67.6 KB) atk-gem_make.out Error log (gem_make.out) koba (Shinji Kobayashi), 05/26/2012 10:28 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0