bug-prolog
[Top][All Lists]
Advanced

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

minor installation problem with CygWin


From: Jonas Lindström
Subject: minor installation problem with CygWin
Date: Fri, 19 Jan 2001 16:53:34 +0100 (MET)

When compiling on NT4 with CygWin 1.1.7 and gcc 2.95.2-6,
I get the following error:

gcc -O3 -finline-functions -fomit-frame-pointer   -c -o stty.o stty.c
stty.c: In function `LE_Input_Is_Not_Empty':
stty.c:230: `FIONREAD' undeclared (first use in this function)
stty.c:230: (Each undeclared identifier is reported only once
stty.c:230: for each function it appears in.)
make[1]: *** [stty.o] Error 1
make[1]: Leaving directory `/cygdrive/d/Prolog/gprolog-1.1.2/src/Linedit'
make: *** [all] Error 1

The macro FIONREAD is apparently expected to be defined, which it isn't.
(It is however defined in the Solaris include file sys/filio.h.)

I worked around the problem by '#if 0'-ing away the offending lines. It
shouldn't be a big problem since only the line editor is affected, right?
It shouldn't be very hard to fix either, I guess.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]