[comp.os.coherent] REPLY: Can't compile TASS 3.2

joachim@jrix.radig.de (Joachim Riedel) (04/24/91)

I got a question how to compile TASS 3.2 but can't reply because it
was a corrupted BITNET-address. Hope he will read that, maybe more people
have that problem:

Question:
and this continues. Anyway the files are OK after extracting is finished.
After that I edited those files you described in your post to a.o.c.
And then typed 'make' with following results:

>cc -DCOHERENT -c curses.c
>20: curses.c: "TRUE" redefined
>21: curses.c: "FALSE" redefined
>60: curses.c: size of structure "termio" is not known
>60: curses.c: sizeof(_raw_tty) set to 0
>61: curses.c: size of structure "termio" is not known
>61: curses.c: sizeof(_original_tty) set to 0
>234: curses.c: identifier "TCSETAW" is not defined
>234: curses.c: size of structure "termio" is not known
>239: curses.c: identifier "TCGETA" is not defined

Don't define BSD in the Makefile

In curses.c you need this three includes:

#include <stdio.h>
#include <sgtty.h>
#include <ctype.h>

add these line behind the following code

#ifdef BSD
#undef tolower
#endif

#define BSD 1   /* new       */

That's all

Joachim