This is the mail archive of the
mailing list for the Cygwin project.
Patch to get bc 1.06 to compile under Cygwin with readline library.
- From: Francis Litterio <franl at world dot std dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 03 Oct 2002 10:45:38 -0400
- Subject: Patch to get bc 1.06 to compile under Cygwin with readline library.
I downloaded and installed the Cygwin source code to bc 1.06, but it
would not build under Cygwin 1.3.12-2 when configured with
unless I made a small change to bc/scan.l (which may or may not be the
right way to fix the compiler error about symbol "readline" having
conflicting definitions, one in scan.l and one in
The patch is below. Hope this helps.
GPG and PGP public keys available on keyservers.
--- scan.l.orig 2002-10-03 10:45:18.000000000 -0400
+++ scan.l 2002-10-03 10:43:23.000000000 -0400
@@ -143,7 +143,7 @@
/* Definitions for readline access. */
extern FILE *rl_instream;
-_PROTOTYPE(char *readline, (char *));
+/* _PROTOTYPE(char *readline, (char *)); */
/* rl_input puts upto MAX characters into BUF with the number put in
BUF placed in *RESULT. If the yy input file is the same as
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html