xc won't compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I decided to follow the suggestion of using xc instead of minicom.
However, I can't get past the "make all" step. Here is what I believe is
the relevant part of the output. Can somebody tell me what to do about
this?
Thanks.

xcsubs.c:26: conflicting types for `ospeed'
/usr/include/termcap.h:60: previous declaration of `ospeed'
xcsubs.c: In function `isregfile':
xcsubs.c:413: `S_IFMT' undeclared (first use in this function)
xcsubs.c:413: (Each undeclared identifier is reported only once
xcsubs.c:413: for each function it appears in.)
xcsubs.c:413: `S_IFREG' undeclared (first use in this function)
make: *** [xcsubs.o] Error 1

I also looked at /usr/include/termcap.h and here are the lines that have
"ospeed" in them.

#undef NCURSES_OSPEED
#define NCURSES_OSPEED short
-- 
				Cheryl





[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]