Any ideas?
gmake[1]: Entering directory `/users/mz652c/src/ruby-1.8.5/ext/pty'
/usr/bin/cc -I. -I../.. -I../../. -I../.././ext/pty
-DHAVE_SYS_STROPTS_H -DHAVE__GETPTY -KPIC -g -c pty.c
cc-1164 cc: WARNING File = pty.c, Line = 286
Argument of type "VALUE (*)()" is incompatible with parameter of type
"VALUE (*)(VALUE)".
rb_protect(pty_exec, (VALUE)&arg, &status);
^
cc-1552 cc: WARNING File = pty.c, Line = 199
The variable "currentPid" is set but never used.
static int i,master,slave,currentPid;
^
cc-1166 cc: ERROR File = pty.c, Line = 396
Expected a declaration.
}
^
cc-1012 cc: WARNING File = pty.c, Line = 400
Parsing restarts here after previous syntax error.
int *master, *slave;
^
cc-1166 cc: ERROR File = pty.c, Line = 401
Expected a declaration.
{
^
cc-1174 cc: WARNING File = pty.c, Line = 88
The variable "MasterDevice" was declared but never referenced.
char *MasterDevice = "/dev/pty%s",
^
cc-1174 cc: WARNING File = pty.c, Line = 89
The variable "SlaveDevice" was declared but never referenced.
*SlaveDevice = "/dev/tty%s",
^
cc-1174 cc: WARNING File = pty.c, Line = 90
The variable "deviceNo" was declared but never referenced.
*deviceNo[] = {
^
cc-1113 cc: ERROR File = pty.c, Line = 179
The function "getDevice" was referenced but not defined.
static void getDevice _((int*, int*));
^
3 errors detected in the compilation of "pty.c".
gmake[1]: *** [pty.o] Error 2