[ruby-talk:02532] Re: Ruby 1.4.4

From: Katsuyuki Komatsu <komatsu@...>
Date: 2000-04-20 14:40:49 UTC
List: ruby-talk #2532
In the message of [ruby-talk:02531] Re: Ruby 1.4.4
    on 2000/4/20 09:28:46 "Dat Nguyen" <thucdat@hotmail.com> wrote:

>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

According to the gcc's ChangeLog, 2.4.5 released 7 years ago...

==
Sun Jun 20 13:37:00 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* Version 2.4.5 released.
==

>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 '{'?

This means your config.h has the following line inherited
from old configure using gcc.

    #define HAVE_ATTR_NORETURN 1

So, please do `make distclean' first and restart from `configure'.

ex.)
    make distclean
    env CC=xlc ./configure
    make
    make test
    make install

--
Katsuyuki Komatsu <komatsu@sarion.co.jp>

In This Thread

Prev Next