[ruby-talk:02531] Re: Ruby 1.4.4

From: "Dat Nguyen" <thucdat@...>
Date: 2000-04-20 13:28:46 UTC
List: ruby-talk #2531

>From: matz@netlab.co.jp (Yukihiro Matsumoto)
>Reply-To: ruby-talk@netlab.co.jp
>To: ruby-talk@netlab.co.jp (ruby-talk ML)
>Subject: [ruby-talk:02520] Re: Ruby 1.4.4
>Date: Thu, 20 Apr 2000 14:46:49 +0900
>
>Hi,
>
>In message "[ruby-talk:02517] Re: Ruby 1.4.4"
>     on 00/04/19, "Dat Nguyen" <thucdat@hotmail.com> writes:
>
>|	In file included from ruby.h:555, from array.c:13:
>|	intern.h:89: warning: `noreturn' attribute directive ignored
>|	intern.h:93: warning: `noreturn' attribute directive ignored
>|	intern.h:94: warning: `noreturn' attribute directive ignored
>|	intern.h:115: warning: `noreturn' attribute directive ignored
>|	make: 1254-004 The error code from the last command is 1.
>
>|Interestingly that except Ckermit, the installation of Perl 5.6 and Python
>|1.6 also failed in similar manner.
>|
>|Every advice to overcome this is very much appreciated.
>
>The version of gcc may be pretty old.  Could you show me `gcc -v'?

outback:dnguyen$ gcc -v
Reading specs from
/usr/contrib/r/06/lib/gcc-lib/rs6000-ibm-aix/2.4.5/specs
gcc version 2.4.5

I tried the native C compiler of IBM xlc on this machine, but it did not 
improve the build:

outback:dnguyen$ make
	xlc -g -O2 -I. -I. -I/usr/local/include -c array.c
	"ruby.h", line 424.19: 1506-172 (S) Parameter type list for
	function rb_raise contains parameters without identifiers.
	"ruby.h", line 424.26: 1506-172 (S) Parameter type list for
	function rb_raise contains parameters without identifiers.
	"ruby.h", line 424.45: 1506-276 (S) Syntax error: possible
	missing '{'?
	"array.c", line 25.12: 1506-045 (S) Undeclared identifier size.
	"array.c", line 26.10: 1506-045 (S) Undeclared identifier mem.
	"array.c", line 49.18: 1506-045 (S) Undeclared identifier
	rb_eTypeError.
	"array.c", line 53.18: 1506-045 (S) Undeclared identifier
	rb_eSecurityError.
	"array.c", line 78.5: 1506-045 (S) Undeclared identifier
	rb_cArray.
	"array.c", line 81.18: 1506-045 (S) Undeclared identifier
	rb_eArgError.
	"array.c", line 123.18: 1506-045 (S) Undeclared identifier
	rb_eIndexError.
	"array.c", line 187.22: 1506-045 (S) Undeclared identifier
	rb_eArgError.
	"array.c", line 234.22: 1506-045 (S) Undeclared identifier
	rb_eIndexError.
	"array.c", line 405.18: 1506-045 (S) Undeclared identifier
	rb_eIndexError.
	"array.c", line 471.27: 1506-045 (S) Undeclared identifier
	rb_eIndexError.
	"array.c", line 543.18: 1506-045 (S) Undeclared identifier
	rb_eIndexError.
	"array.c", line 641.1: 1506-343 (S) Redeclaration of rb_ary_join
	differs from previous declaration on line 637 of "array.c".
	"array.c", line 641.1: 1506-050 (I) Return type "unsigned long"
	in redeclaration is not compatible with the previous return type
	"int".
	"array.c", line 749.1: 1506-343 (S) Redeclaration of
	rb_protect_inspect differs from previous declaration on line 684
	of "array.c".
	"array.c", line 749.1: 1506-050 (I) Return type "unsigned long"
	in redeclaration is not compatible with the previous return type
	"int".
	"array.c", line 773.1: 1506-343 (S) Redeclaration of
	rb_inspecting_p differs from previous declaration on line 676 of
	"array.c".
	"array.c", line 773.1: 1506-050 (I) Return type "unsigned long"
	in redeclaration is not compatible with the previous return type
	"int".
	"array.c", line 1117.18: 1506-045 (S) Undeclared identifier
	rb_eArgError.
	"array.c", line 1214.1: 1506-343 (S) Redeclaration of
	rb_ary_includes differs from previous declaration on line 781 of
	"array.c".
	"array.c", line 1214.1: 1506-050 (I) Return type "unsigned long"
	in redeclaration is not compatible with the previous return type
	"int".
	"array.c", line 1429.43: 1506-045 (S) Undeclared identifier
	rb_cObject.
	"array.c", line 1429.5: 1506-045 (S) Undeclared identifier
	rb_cArray.
	"array.c", line 1430.34: 1506-045 (S) Undeclared identifier
	rb_mEnumerable.
	make: 1254-004 The error code from the last command is 1.


	Stop.

outback:dnguyen$
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

In This Thread

Prev Next