Results 1 to 1 of 1
i am trying to compile a C code, which was earlier built on HP-UX environment with aCC compiler, on my new environment (Linux OEL rel5) which has gcc compiler.
Here ...
- 02-10-2011 #1Just Joined!
- Join Date
- Feb 2011
- Posts
- 2
C program compilation errors
i am trying to compile a C code, which was earlier built on HP-UX environment with aCC compiler, on my new environment (Linux OEL rel5) which has gcc compiler.
Here is the error that i am stuck up with:
In file included from /usr/local/include/io_util.h:18,
from sc_upiur.c:125:
/cisa/include/ncurses/term.h:698: error: field âOttybâ has incomplete type
/cisa/include/ncurses/term.h:699: error: field âNttybâ has incomplete type
================================================== ======
the contents of term.h
695 typedef struct term { /* describe an actual terminal */
696 TERMTYPE type; /* terminal type description */
697 short Filedes; /* file description being written to */
698 TTY Ottyb, /* original state of the terminal */
699 Nttyb; /* current state of the terminal */
700 int _baudrate; /* used to compute padding */
701 char * _termname; /* used for termname() */
702 } TERMINAL;
can anyone suggest on this?


Reply With Quote