This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Failed compilation.


Jean-Pierre Radley wrote:
> SCO OpenServer 5.0.4

> gcc -DINFODIR=\"/usr/local/info\"
> -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H
> -I. -I../../../texinfo/lib -I../intl -I.. -I../../../texinfo/info
> -O3 -c ../../../texinfo/info/terminal.c
> ../../../texinfo/info/terminal.c:645: storage size of
> `original_tchars' isn't kn own


Bummer.   We've fixed this at least twice.   I can't test it right now,
but I'll bet that (re)applying this patch will cure it. 



revision 1.2
date: 1997/10/30 05:55:14;  author: law;  state: Exp;  lines: +6 -1
        * info/termdep.h: If POSIX, #undef TIOCGETC for benefit of systems
        that provide TIOCETC but not struct tchars.



Index: termdep.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/texinfo/info/termdep.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- termdep.h	1997/08/21 22:58:04	1.1
+++ termdep.h	1997/10/30 05:55:14	1.2
@@ -1,5 +1,5 @@
 /* termdep.h -- System things that terminal.c depends on.
-   $Id: termdep.h,v 1.1 1997/08/21 22:58:04 jason Exp $
+   $Id: termdep.h,v 1.2 1997/10/30 05:55:14 law Exp $
 
    This file is part of GNU Info, a program for reading online documentation
    stored in Info format.
@@ -45,6 +45,11 @@
 
 #if defined (HAVE_TERMIOS_H)
 #  include <termios.h>
+/* 
+ * POSIX does not mandate that we have these and it may, in fact, be only
+ * partially implemented 
+ */
+#  undef TIOCGETC
 #else
 #  if defined (HAVE_TERMIO_H)
 #    include <termio.h>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]