From: markus jais Date: 2001-04-29T06:27:37+09:00 Subject: [ruby-talk:14388] problem compiling 1.6.3 hi, I just downloaded ruby 1.6.3 on my RedHat 6.2 machine when trying to compile I get the following error: ---------------------------------- process.c: In function `rb_syswait': process.c:597: warning: assignment from incompatible pointer type process.c:600: warning: assignment from incompatible pointer type process.c:602: warning: assignment from incompatible pointer type process.c:609: warning: passing arg 2 of `signal' from incompatible pointer type process.c:612: warning: passing arg 2 of `signal' from incompatible pointer type process.c:614: warning: passing arg 2 of `signal' from incompatible pointer type gcc -g -O2 -I. -I. -I/usr/local/include -c prec.c gcc -g -O2 -I. -I. -I/usr/local/include -c random.c gcc -g -O2 -I. -I. -I/usr/local/include -c range.c gcc -g -O2 -I. -I. -I/usr/local/include -c re.c gcc -g -O2 -I. -I. -I/usr/local/include -c regex.c gcc -g -O2 -I. -I. -I/usr/local/include -c ruby.c gcc -g -O2 -I. -I. -I/usr/local/include -c signal.c signal.c: In function `ruby_posix_signal': signal.c:286: argument `handler' doesn't match prototype intern.h:298: prototype declaration signal.c:289: warning: assignment from incompatible pointer type signal.c:296: warning: comparison of distinct pointer types lacks a cast signal.c: In function `sighandle': signal.c:356: warning: passing arg 2 of `ruby_posix_signal' from incompatible pointer type signal.c: In function `trap': signal.c:465: warning: assignment from incompatible pointer type signal.c:470: warning: assignment from incompatible pointer type signal.c:474: warning: assignment from incompatible pointer type signal.c:477: warning: assignment from incompatible pointer type signal.c:480: warning: assignment from incompatible pointer type signal.c:485: warning: assignment from incompatible pointer type signal.c:494: warning: comparison of distinct pointer types lacks a cast signal.c:494: warning: comparison of distinct pointer types lacks a cast signal.c:527: warning: comparison of distinct pointer types lacks a cast signal.c:564: warning: passing arg 2 of `ruby_posix_signal' from incompatible pointer type signal.c: In function `Init_signal': signal.c:648: warning: passing arg 2 of `ruby_posix_signal' from incompatible pointer type signal.c:650: warning: passing arg 2 of `ruby_posix_signal' from incompatible pointer type signal.c:653: warning: passing arg 2 of `ruby_posix_signal' from incompatible pointer type signal.c:656: warning: passing arg 2 of `ruby_posix_signal' from incompatible pointer type signal.c:659: warning: passing arg 2 of `ruby_posix_signal' from incompatible pointer type signal.c:662: warning: passing arg 2 of `ruby_posix_signal' from incompatible pointer type signal.c:666: warning: passing arg 2 of `ruby_posix_signal' from incompatible pointer type signal.c:669: warning: passing arg 2 of `ruby_posix_signal' from incompatible pointer type signal.c:672: warning: passing arg 2 of `ruby_posix_signal' from incompatible pointer type make: *** [signal.o] Error 1 -------------------------------------- can anybody help??? -- Markus Jais http://www.mjais.de info@mjais.de The road goes ever on and on - Bilbo Baggins