Subject: Re: umoria erros
To: xiamin <Ingerrn@cris.com>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 02/17/1997 13:35:26
> 
> here is the log
> 
> cc -O  -c io.c
> io.c: In function `suspend':
> io.c:244: storage size of `tbuf' isn't known
> io.c:245: storage size of `lcbuf' isn't known
> io.c:246: storage size of `cbuf' isn't known
> io.c:251: `TIOCGETP' undeclared (first use this function)
> io.c:251: (Each undeclared identifier is reported only once
> io.c:251: for each function it appears in.)
> io.c:252: `TIOCGETC' undeclared (first use this function)
> io.c:253: `TIOCGLTC' undeclared (first use this function)
> io.c:260: `TIOCSETP' undeclared (first use this function)
> io.c:261: `TIOCSETC' undeclared (first use this function)
> io.c:262: `TIOCSLTC' undeclared (first use this function)
> io.c: In function `init_curses':
> io.c:301: `TIOCGLTC' undeclared (first use this function)
> io.c:302: `TIOCGETP' undeclared (first use this function)
> io.c:303: `TIOCGETC' undeclared (first use this function)
> io.c:337: warning: passing arg 2 of `signal' from incompatible pointer type
> io.c: In function `moriaterm':
> io.c:394: storage size of `lbuf' isn't known
> io.c:395: storage size of `buf' isn't known
> io.c:445: `TIOCGLTC' undeclared (first use this function)
> io.c:452: `TIOCSLTC' undeclared (first use this function)
> io.c:454: `TIOCGETC' undeclared (first use this function)
> io.c:461: `TIOCSETC' undeclared (first use this function)
> io.c: In function `restore_term':
> io.c:545: structure has no member named `_cury'
> io.c:545: structure has no member named `_curx'
> io.c:559: `TIOCSLTC' undeclared (first use this function)
> io.c:560: `TIOCSETP' undeclared (first use this function)
> io.c:561: `TIOCSETC' undeclared (first use this function)
> io.c: In function `shell_out':
> io.c:656: storage size of `tbuf' isn't known
> io.c:657: storage size of `lcbuf' isn't known
> io.c:658: storage size of `cbuf' isn't known
> io.c:689: `TIOCGETP' undeclared (first use this function)
> io.c:690: `TIOCGETC' undeclared (first use this function)
> io.c:691: `TIOCGLTC' undeclared (first use this function)
> io.c:692: `TIOCLGET' undeclared (first use this function)
> io.c:731: `TIOCSLTC' undeclared (first use this function)
> io.c:732: `TIOCSETP' undeclared (first use this function)
> io.c:733: `TIOCSETC' undeclared (first use this function)
> io.c:734: `TIOCLSET' undeclared (first use this function)
> io.c:763: warning: passing arg 1 of `wait' from incompatible pointer type
> io.c: At top level:
> io.c:210: storage size of `save_special_chars' isn't known
> io.c:211: storage size of `save_ttyb' isn't known
> io.c:212: storage size of `save_tchars' isn't known
> *** Error code 1
> 
> Stop.
> 
> i dont know whats messed up with it. i dont know enough about uunix to fix
> this on my own, so thanks for the help.

When porting things, an error like this usually results from a missing
include file.

>From looking around on the 486 I have at work (which is the same from this
point of view), this code seems to be using old-style tty control. See if
there are configuration options which are more modern, like termios stuff.

Though I don't know if the source is any easier to port, you might try
looking at angband. I really like having a house and a black market. :-)

Take care,

Bill