Messages in this thread |  | | Date | Sat, 25 Jan 1997 23:02:00 -0900 (AKST) | From | Britton <> | Subject | 1.2.13 -> 2.0.27 breaks termcap? |
| |
After some headaches I had managed to compile angband 1.8 under 1.2.13. I have since upgraded to 2.0.27 and I now get the folling error using the exact same code (I was installing a different copy, couldn't get around this suspicious error, so tried compiling the old copy that had worked before and got the same error).
gcc -Wall -O1 -pipe -g -D"USE_X11" -D"USE_GCU" -c main-gcu.c -o main-gcu.o In file included from /usr/include/curses.h:42, from main-gcu.c:55: /usr/include/termcap.h:39: parse error before `ospeed' /usr/include/termcap.h:39: warning: data definition has no type or storage class make: *** [main-gcu.o] Error 1
Here is the chunk in /usr/include/termcap.h that appears to be causing the problem.
extern char PC; #ifdef __linux__ extern speed_t ospeed; /* THIS IS LINE 39 */ #else extern short ospeed; #endif extern void tputs (const char *__string, int __nlines, outfuntype);
I hope this is helpful information. I don't know much about this stuff myself.
I like six eggs when starting on a journey. Fried - not poached. And mind you don't break 'em. I won't eat a broken egg. -- Thorin Oakenshield
|  |