Issue #7415 has been updated by phasis68 (Heesob Park).


I guess this is 1.9.3-p327 specific issue.

I think r34871 should be backported.
Or STRCASECMP can be used instead of wcsicmp.
----------------------------------------
Bug #7415: Cygwin doesn't install ruby 1.9.3-p327.  Needs access to _wcsicmp glibc library
https://bugs.ruby-lang.org/issues/7415#change-33378

Author: werp (Paul Werger)
Status: Open
Priority: Normal
Assignee: werp (Paul Werger)
Category: build
Target version: 1.9.3
ruby -v: 1.9.3 -p327


I've been trying to install Ruby 1.9.3-p327 in my Cygwin environment.  No can do!  I run Cygwin on Windows 7 (64 bit) on a Dell laptop.  I get the following message in my C:\cygwin\home\PWerger\.rvm\log\ruby-1.9.3-p327\make.log:  (Please note that earlier version of Ruby 1.9.3 install easily and correctly in my Cygwin environment.)

	CC = gcc
	LD = ld
	LDSHARED = gcc -shared 
	CFLAGS = -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=implicit-function-declaration 
	XCFLAGS = -include ruby/config.h -include ruby/missing.h -DRUBY_EXPORT
	CPPFLAGS =   -I/home/PWerger/.rvm/usr/include -I. -I.ext/include/i386-cygwin -I./include -I.
	DLDFLAGS = -Wl,--enable-auto-image-base,--enable-auto-import -Wl,--out-implib=libruby191.dll.a cygruby191.def  
	SOLIBS = cygruby191.res.o -lpthread -lrt -ldl -lcrypt  
linking miniruby.exe
file.o:file.c:(.text+0x41af): undefined reference to `_wcsicmp'
collect2: ld returned 1 exit status
Makefile:164: recipe for target `miniruby.exe' failed
make: *** [miniruby.exe] Error 1



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