From: 890554h@dragon.acadiau.ca (Andrew Hoogerwerf)
Subject: more help please
Summary: more help needed
Keywords: more help needed
Organization: Acadia University
Date: Thu, 12 Nov 1992 18:00:30 GMT

This is the list of errors I am getting after I try and compile it
If anyone knows what I am doing wrong please inform me. Its probably
more than just one thing that 'm doing wrong.

gcc -O  -target sun4 -c  io.c
In file included from /usr/include/sys/ioctl.h:18, from /usr/include/sgtty.h:6, from /usr/include/curses.h:13, from io.c:10:
/usr/local/lib/gcc-lib/sun4/2.2.2/include/sys/ttold.h:52: warning: `TIOCGETP' redefined
BSDtoLinux.h:16: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/sys/ttold.h:53: warning: `TIOCSETP' redefined
BSDtoLinux.h:18: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/sys/ttold.h:57: warning: `TIOCFLUSH' redefined
BSDtoLinux.h:11: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/sys/ttold.h:58: warning: `TIOCSETC' redefined
BSDtoLinux.h:17: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/sys/ttold.h:59: warning: `TIOCGETC' redefined
BSDtoLinux.h:15: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/sys/ttold.h:110: warning: `TIOCLSET' redefined
BSDtoLinux.h:20: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/sys/ttold.h:111: warning: `TIOCLGET' redefined
BSDtoLinux.h:19: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/sys/ttold.h:131: warning: `TIOCSLTC' redefined
BSDtoLinux.h:9: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/sys/ttold.h:132: warning: `TIOCGLTC' redefined
BSDtoLinux.h:8: warning: this is the location of the previous definition
In file included from io.c:16:
/usr/local/lib/gcc-lib/sun4/2.2.2/include/termios.h:109: warning: `NL0' redefined
/usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/termios.h:110: warning: `NL1' redefined
/usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/termios.h:112: warning: `CR0' redefined
/usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/termios.h:113: warning: `CR1' redefined
/usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/termios.h:114: warning: `CR2' redefined
/usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/termios.h:115: warning: `CR3' redefined
/usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/termios.h:117: warning: `TAB0' redefined
/usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/termios.h:118: warning: `TAB1' redefined
/usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/termios.h:119: warning: `TAB2' redefined
/usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/termios.h:120: warning: `XTABS' redefined
/usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/termios.h:123: warning: `BS0' redefined
/usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/termios.h:124: warning: `BS1' redefined
/usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/termios.h:129: warning: `FF0' redefined
/usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/termios.h:130: warning: `FF1' redefined
/usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/termios.h:162: warning: `ECHO' redefined
/usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/termios.h:166: warning: `NOFLSH' redefined
/usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/termios.h:167: warning: `TOSTOP' redefined
/usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/termios.h:182: warning: `FLUSHO' redefined
/usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/termios.h:183: warning: `PENDIN' redefined
/usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition
In file included from /usr/include/signal.h:15, from io.c:17:
/usr/local/lib/gcc-lib/sun4/2.2.2/include/sys/signal.h:62: warning: `SIGEMT' redefined
BSDtoLinux.h:12: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/sys/signal.h:113: warning: `SIGBUS' redefined
BSDtoLinux.h:13: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sun4/2.2.2/include/sys/signal.h:138: warning: `SIGSYS' redefined
BSDtoLinux.h:14: warning: this is the location of the previous definition
In file included from io.c:16:
/usr/local/lib/gcc-lib/sun4/2.2.2/include/termios.h:212: redefinition of `struct termios'
io.c:28: storage size of `save_termio' isn't known
io.c: In function `suspend':
io.c:35: storage size of `tbuf' isn't known
io.c:39: `TCGETA' undeclared (first use this function)
io.c:39: (Each undeclared identifier is reported only once
io.c:39: for each function it appears in.)
io.c:42: structure has no member named `sg_flags'
io.c:43: structure has no member named `sg_flags'
io.c:47: structure has no member named `sg_flags'
io.c:48: structure has no member named `sg_flags'
io.c:49: `TCSETA' undeclared (first use this function)
io.c: In function `init_curses':
io.c:59: `TCGETA' undeclared (first use this function)
io.c: In function `moriaterm':
io.c:82: storage size of `tbuf' isn't known
io.c:84: structure has no member named `sg_flags'
io.c:85: structure has no member named `sg_flags'
io.c:86: `TCGETA' undeclared (first use this function)
io.c:100: `TCSETA' undeclared (first use this function)
io.c: In function `restore_term':
io.c:126: `TCSETA' undeclared (first use this function)
io.c: In function `shell_out':
io.c:133: storage size of `tbuf' isn't known
io.c:141: `TCGETA' undeclared (first use this function)
io.c:142: structure has no member named `sg_flags'
io.c:143: structure has no member named `sg_flags'
io.c:148: `TCSETA' undeclared (first use this function)
io.c:150: warning: assignment makes pointer from integer without a cast
io.c:164: structure has no member named `sg_flags'
io.c:165: structure has no member named `sg_flags'
io.c: At top level:
io.c:28: storage size of static var `save_termio' isn't known
*** Error code 1
make: Fatal error: Command failed for target `io.o'
-- 
----------------------------------------------------------------------
Andrew Hoogerwerf               890554@dragon.acadiau.ca
196 Skyway apt 10
542-5339
Newsgroups: rec.games.moria