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