[#3726] Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...>

Hi --

15 messages 2004/11/12
[#3749] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3751] Re: Fixnum#clone and Float#clone raise different exceptions — Yukihiro Matsumoto <matz@...> 2004/11/16

Hi,

[#3752] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3785] The latest 1.8.2 cvs prints parse error when starting extension compiling — Yukihiro Matsumoto <matz@...>

Hi,

13 messages 2004/11/23
[#3787] Re: The latest 1.8.2 cvs prints parse error when starting extension compiling — Johan Holmberg <holmberg@...> 2004/11/23

Re: Core dump with latest Ruby from CVS

From: Tanaka Akira <akr@...17n.org>
Date: 2004-11-15 09:26:39 UTC
List: ruby-core #3736
In article <ED676E7B-36E5-11D9-B8D6-000D936BC86C@zenspider.com>,
  Ryan Davis <ryand-ruby@zenspider.com> writes:

>> ld: Undefined symbols:
>> _NUM2RLIM
>> _RLIM2NUM

Oops.  Please try following patch.

Index: configure.in
===================================================================
RCS file: /src/ruby/configure.in,v
retrieving revision 1.250
diff -u -r1.250 configure.in
--- configure.in	14 Nov 2004 10:06:16 -0000	1.250
+++ configure.in	15 Nov 2004 09:23:48 -0000
@@ -205,9 +205,15 @@
 AC_CHECK_SIZEOF(double, 8)
 AC_CHECK_SIZEOF(time_t, 0)
 
-AC_CHECK_TYPE(rlim_t, [AC_DEFINE(HAVE_RLIM_T)], [], [#include <sys/resource.h>])
+AC_CHECK_TYPE(rlim_t, [AC_DEFINE(HAVE_RLIM_T)], [], [
+  #include <sys/types.h>
+  #include <sys/time.h>
+  #include <sys/resource.h>
+])
 AC_CHECK_SIZEOF(rlim_t, 0, [
   #include <stdio.h>
+  #include <sys/types.h>
+  #include <sys/time.h>
   #include <sys/resource.h>
 ])
 
-- 
Tanaka Akira

In This Thread