Compile problems with 1.8.4 on HP

J

Jim Freeze

Hi

Ruby 1.8.4 doesn't want to build on my HP machine.
I get the following error:

cc -s -DRUBY_EXPORT -DYYMAXDEPTH=3D300 -I. -I. -c eval.c
(Bundled) cc: "eval.c", line 1657: error 1000: Unexpected symbol: "VALUE".
(Bundled) cc: "eval.c", line 1657: error 1705: Function prototypes are
an ANSI feature.
(Bundled) cc: "eval.c", line 1657: error 1573: Type of "VALUE" is
undefined due to an illegal declaration.
(Bundled) cc: "eval.c", line 2567: error 1000: Unexpected symbol: "event".
(Bundled) cc: "eval.c", line 2569: error 1588: "event" undefined.
(Bundled) cc: "eval.c", line 4681: error 1000: Unexpected symbol: "VALUE".
(Bundled) cc: "eval.c", line 4681: error 1705: Function prototypes are
an ANSI feature.
(Bundled) cc: "eval.c", line 4681: error 1573: Type of "VALUE" is
undefined due to an illegal declaration.
(Bundled) cc: "eval.c", line 9809: warning 546: Conflicting
enumeration types used in expression.
(Bundled) cc: "eval.c", line 9814: warning 546: Conflicting
enumeration types used in expression.
gmake: *** [eval.o] Error 1

Any ideas appreciated.
 
J

Jim Freeze

--Apple-Mail-12--220380920
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=UTF-8;
delsp=yes;
format=flowed

As Matz suggests, I've had best luck with gcc, though there are a =20
number
of caveats. See ruby-talk #177036:

What's the best way to get gcc on an HP? At the HP porting archive
they have 4.0.2 binaries.

http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-4.0.2/

and make-3.8.0.
=EF=BF=BC

Jim Freeze




--Apple-Mail-12--220380920
Content-Type: multipart/related;
type="text/html";
boundary=Apple-Mail-13--220380919


--Apple-Mail-13--220380919
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=ISO-8859-1

<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; "><DIV><DIV>On Feb 4, 2006, at =
9:14 PM, MenTaLguY wrote:</DIV><BR =
class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">As Matz =
suggests, I've had best luck with gcc, though there are a =
number</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">of caveats.<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>See ruby-talk =
#177036:</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; =
"><BR></DIV></BLOCKQUOTE><DIV><BR =
class=3D"khtml-block-placeholder"></DIV>What's the best way to get gcc =
on an HP? At the HP porting archive</DIV><DIV>they have 4.0.2 =
binaries.</DIV><DIV><BR class=3D"khtml-block-placeholder"></DIV><DIV>=A0=A0=
=A0<A =
href=3D"http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-4.0.2/">http://hpux.cs.u=
tah.edu/hppd/hpux/Gnu/gcc-4.0.2/</A></DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV><FONT =
class=3D"Apple-style-span" face=3D"Times" size=3D"6"><SPAN =
class=3D"Apple-style-span" style=3D"font-size: 23px;">and =
make-3.8.0.=A0</SPAN></FONT><BR><IMG =
src=3D"cid:9E1B180B-E031-4500-8433-C99F2CB71305@local"><FONT =
class=3D"Apple-style-span" face=3D"Times" size=3D"6"><SPAN =
class=3D"Apple-style-span" style=3D"font-size: =
23px;"><BR></SPAN></FONT></DIV><DIV><BLOCKQUOTE type=3D"cite"> =
</BLOCKQUOTE></DIV><BR><DIV> <SPAN class=3D"Apple-style-span" =
style=3D"border-collapse: separate; border-spacing: 0px 0px; color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 18px; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Jim =
Freeze</DIV><DIV><BR class=3D"khtml-block-placeholder"></DIV><BR =
class=3D"Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>=

--Apple-Mail-13--220380919
Content-Transfer-Encoding: base64
Content-Id: <9E1B180B-E031-4500-8433-C99F2CB71305@local>
Content-Type: image/gif;
x-unix-mode=0666;
name="blank.gif"
Content-Disposition: inline;
filename=blank.gif

R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAQAICRAEAOw==

--Apple-Mail-13--220380919--

--Apple-Mail-12--220380920--
 

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

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,280
Latest member
BGBBrock56

Latest Threads

Top