Subject: Re: umoria erros
To: xiamin <Ingerrn@cris.com>
From: David Brownlee <david@mono.org>
List: port-mac68k
Date: 02/17/1997 21:48:05
	Looks like its trying to compile using termio, when NetBSD
	uses termios (more modern).

	Try checking the source to see if you can configure it to
	use termio, or add '#include <ioctl.h>' to the top of io.c
	and let me know what errors you get (probably worth just
	sending direct to me :)

		David/abs	david@{mono.org,southern.com,mhm-internet.com}

     Microsoft: Asks you where you want to go. NetBSD gets you there.
System Manager: Southern Studios Ltd, PO Box 59, London N22 1AR.
  System Admin: MHM Internet, 14 Barley Mow Passage, Chiswick, London W4 4PH.
         SysOP: Monochrome, Largest UK Internet BBS - 'telnet mono.org'.

On Mon, 17 Feb 1997, xiamin wrote:

> 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.
> -xiamin
> Technomagus artium occultarum detestibiliumque Nargumm Industries
> http://www.cris.com/~ingerrn
> http://www.netvirtual.com/iris/simon/art.html
>