[#32676] VC++ embedded rubygems gives NoMethodError undefined method `synchronize' for Mutex — Phlip <phlip2005@...>
[I will try Bill Kelly's PDB path advice presently; this issue is more
5 messages
2010/10/03
[#32687] Re: VC++ embedded rubygems gives NoMethodError undefined method `synchronize' for Mutex
— Roger Pack <rogerdpack2@...>
2010/10/04
> This one's about...
[#32703] Re: VC++ embedded rubygems gives NoMethodError undefined method `synchronize' for Mutex
— Phlip <phlip2005@...>
2010/10/05
> > #<NoMethodError: undefined method `synchronize' for #<Mutex:0x750faa8>>
[#32698] [Ruby 1.9-Feature#3908][Open] private constant — Yusuke Endoh <redmine@...>
Feature #3908: private constant
10 messages
2010/10/05
[#32790] ruby with near native speed — Ondřej Bílka <neleai@...>
Hello
4 messages
2010/10/14
[#32795] Call for Cooperation: CFUNC usage survey — SASADA Koichi <ko1@...>
Hi,
5 messages
2010/10/15
[#32814] WeakHash — Santiago Pastorino <santiago@...>
Hi guys,
6 messages
2010/10/15
[#32844] [Ruby 1.9-Feature#3963][Open] Map class in standard library — Thomas Sawyer <redmine@...>
Feature #3963: Map class in standard library
3 messages
2010/10/18
[#32864] [Ruby 1.9-Bug#3972][Open] r28668 breaks test/unit when combined with the testing rake task — Aaron Patterson <redmine@...>
Bug #3972: r28668 breaks test/unit when combined with the testing rake task
6 messages
2010/10/20
[#32932] Behavior of initialize in 1.9 — Aaron Patterson <aaron@...>
The behavior of initialize in 1.9 seems to have changed. Here is an irb
5 messages
2010/10/28
[#32960] [Ruby 1.9-Bug#4005][Open] YAML fails to roundtrip Time objects — Peter Weldon <redmine@...>
Bug #4005: YAML fails to roundtrip Time objects
6 messages
2010/10/29
[#32976] Improve MinGW builds for Ruby 1.8.7, 1.9.2 and 1.9.3 — Luis Lavena <luislavena@...>
Hello,
10 messages
2010/10/30
[#32978] Re: Improve MinGW builds for Ruby 1.8.7, 1.9.2 and 1.9.3
— Aaron Patterson <aaron@...>
2010/10/30
On Sun, Oct 31, 2010 at 03:42:02AM +0900, Luis Lavena wrote:
[ruby-core:32763] Re: [Ruby-Bug#3802] freeaddrinfo not found in WS2_32.dll
From:
Heesob Park <phasis@...>
Date:
2010-10-13 01:51:21 UTC
List:
ruby-core #32763
Hi,
2010/10/13 Usaku NAKAMURA <redmine@ruby-lang.org>:
> Issue #3802 has been updated by Usaku NAKAMURA.
>
>
> There is no problem with VC.
> So, this is a field of the maintainer of MinGW port.
> If you want to be the maintainer of MinGW port, you have to solve
> problems just like this by yourself.
>
Are you sure that there is no problem with VC?
When I try with ----enable-wide-getaddrinfo with VC9, it fails to make
like this:
compiling socket
cl -nologo -I. -I../../.ext/include/i386-mswin32_90 -I../.././include -I
../.././ext/socket -MD -Zi -W2 -wd4996 -O2sy- -Zm600
-DRUBY_EXTCONF_H=\"extconf.h\" -I. -Foinit.obj -c -Tcinit.c init.c
c:\work\snapshot\ext\socket\addrinfo.h(175) : error C2373:
'freeaddrinfo' redefinition; different type modifiers.
C:\Program Files\Microsoft
SDKs\Windows\v6.0A\include\ws2tcpip.h(414) : see declaration of
'freeaddrinfo'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '.\miniruby.exe' : return code '0x1'
Stop.
Here is a patch for VC.
--- addrinfo.h 2010-10-13 10:46:59.000000000 +0900
+++ addrinfo.h.new 2010-10-13 10:35:35.000000000 +0900
@@ -172,7 +172,7 @@
int flags));
extern void freehostent __P((struct hostent *));
-extern void freeaddrinfo __P((struct addrinfo *));
+extern void WSAAPI freeaddrinfo __P((struct addrinfo *));
extern
#ifdef GAI_STRERROR_CONST
const
--- getaddrinfo.c 2010-10-13 10:46:59.000000000 +0900
+++ getaddrinfo.c.new 2010-10-13 10:35:30.000000000 +0900
@@ -207,7 +207,7 @@
}
#endif
-void
+void WSAAPI
freeaddrinfo(struct addrinfo *ai)
{
struct addrinfo *next;