Prof A Olowofoyeku (The African Chief) wrote:
On 7 Oct 2003 at 8:16, Gerrit P. Haase wrote:
I'm running make check right now and I'm getting a problem with crtc.c. Several hundred lines warnings and errors, in several tests. E.g. the last lines: ... .../gcc/p/units/crtc.c: In function `crt_GetShiftState': .../gcc/p/units/crtc.c:894: warning: implicit declaration of function `PDC_get_key_modifiers' .../gcc/p/units/crtc.c:895: error: `PDC_KEY_MODIFIER_SHIFT' undeclared (first use in this function) .../gcc/p/units/crtc.c:895: error: (Each undeclared identifier is reported only once .../gcc/p/units/crtc.c:895: error: for each function it appears in.) .../gcc/p/units/crtc.c:896:
[...]
I remember having seen this problem before, but I can't remember how I solved it. I suspect that it is an ncurses problem (I had all sorts of problems with Cygwin ncurses, which I eventually dumped in favour of PDCurses). My conclusion was that ncurses is broken under Cygwin.
I don't think so. The offending block is enclosed in `#ifdef USE_PDCURSES', so this "cannot" happen unless `USE_PDCURSES' is defined and ncurses used -- which in turn should not happen unless you define both `USE_PDCURSES' and `USE_NCURSES' explicitly (which is nonsense, of course), since crtc.h sets one of these only if none was already set.
Gerrit's problem may just be that it tried to use PDCurses (by default) which wasn't installed, but if you, Chief, have PDCurses installed, I'm surprised if you get such an error ...
Frank