Hi everybody,
Im trying to install ruby6.8 on a HPUX but I am getting this error
Could you give me a clue to resolve it ?
#./configure --without-gcc #since i don’t have gcc
make
cc -I. -I. -c array.c
cc -I. -I. -c bignum.c
cc -I. -I. -c class.c
cc -I. -I. -c compar.c
cc -I. -I. -c dir.c
cc -I. -I. -c dln.c
cc -I. -I. -c enum.c
cc -I. -I. -c error.c
(Bundled) cc: “error.c”, line 434: error 1705: Function prototypes are
an ANSI feature.
*** Error exit code 1
···
1000.times { p “thks” }
You probably need to tell the C compiler (cc) to compile in ANSI C mode;
try this:
export CC="cc -Aa"
./configure --without-gcc
make
Hope this helps,
Lyle
···
rodrigo.bermejo@ps.ge.com wrote:
Im trying to install ruby6.8 on a HPUX but I am getting this error
Could you give me a clue to resolve it ?
#./configure --without-gcc #since i don’t have gcc
make
cc -I. -I. -c array.c
cc -I. -I. -c bignum.c
cc -I. -I. -c class.c
cc -I. -I. -c compar.c
cc -I. -I. -c dir.c
cc -I. -I. -c dln.c
cc -I. -I. -c enum.c
cc -I. -I. -c error.c
(Bundled) cc: “error.c”, line 434: error 1705: Function prototypes are
an ANSI feature.
*** Error exit code 1