Incompatibility between ncurses and libc6?
Could somebody please shed some light at this issue?  I'm running into
compilation errors at the moment that I cannot resolve:
kuolema!joey(ttyp6):/usr/src/debian/nn> gcc  -Iconf -O2  -O2 -g -fomit-frame-pointer -pipe    -c term.c -o term.o
term.c:36: #error foo
In file included from term.c:37:
/usr/include/term.h:75: parse error
In file included from term.c:37:
/usr/include/term.h:90: warning: `TCSANOW' redefined
/usr/include/termbits.h:176: warning: this is the location of the previous definition
/usr/include/term.h:91: warning: `TCSADRAIN' redefined
/usr/include/termbits.h:177: warning: this is the location of the previous definition
/usr/include/term.h:92: warning: `TCSAFLUSH' redefined
/usr/include/termbits.h:178: warning: this is the location of the previous definition
The problem is that
 a) <term.h> includes <termio.h>
    libncurses4-dev: /usr/include/term.h
 b) <termio.h> includes <termios.h>
    libc6-dev: /usr/include/termio.h
 c) <termios.h> includes <termbits.h>
    libc6-dev: /usr/include/termios.h
 d) <termbits.h> contains the previous definition
    libc6-dev: /usr/include/termbits.h
Regards,
	Joey
-- 
The only stupid question is the unasked one.
Reply to: