Problem building Ruby on Tru64 5.1

D

Daniel Berger

Hi all,

I'm trying to build Ruby 1.8.2 on Tru64 with no luck.

bash-2.05b$ uname -a
OSF1 spe171.testdrive.hp.com V5.1 2650 alpha

bash-2.05b$ gcc -v
Reading specs from
/opt/TWWfsw/gcc33/lib/gcc-lib/alphaev56-dec-osf5.1/3.3/specs
Configured with: /opt/build/gcc-3.3/configure --enable-nls
--with-included-gettext --enable-shared --enable-threads
--with-local-prefix=/opt/TWWfsw/gcc33 --prefix=/opt/TWWfsw/gcc33
Thread model: single
gcc version 3.3 (TWW)

Seems to get through configure alright, but during make I hit this:

gcc -mieee -g -O2 -I. -I. -c parse.c
parse.y: In function `ruby_yylex':
parse.y:4379: warning: assignment makes pointer from integer without a cast
parse.y:4382: error: dereferencing pointer to incomplete type
parse.y:4384: error: dereferencing pointer to incomplete type
parse.y:4386: error: dereferencing pointer to incomplete type
parse.y:4395: error: dereferencing pointer to incomplete type
parse.y:4397: error: dereferencing pointer to incomplete type
parse.y:4397: error: dereferencing pointer to incomplete type
parse.y:4399: error: dereferencing pointer to incomplete type
*** Exit 1
Stop.

Any ideas?

Regards,

Dan
 
N

nobu.nokada

Hi,

At Tue, 12 Apr 2005 05:40:18 +0900,
Daniel Berger wrote in [ruby-talk:137831]:
gcc -mieee -g -O2 -I. -I. -c parse.c
parse.y: In function `ruby_yylex':
parse.y:4379: warning: assignment makes pointer from integer without a cast
parse.y:4382: error: dereferencing pointer to incomplete type
parse.y:4384: error: dereferencing pointer to incomplete type
parse.y:4386: error: dereferencing pointer to incomplete type
parse.y:4395: error: dereferencing pointer to incomplete type
parse.y:4397: error: dereferencing pointer to incomplete type
parse.y:4397: error: dereferencing pointer to incomplete type
parse.y:4399: error: dereferencing pointer to incomplete type
*** Exit 1
Stop.

Seems lex.c is broken.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top