This is the mail archive of the gcc-help@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: Problems Compiling gcc 2.95.2 on redhat 7.0


On Oct 26, 2000, "Jens Haase" <jens@haase.to> wrote:

> ../../../gcc-2.95.2/libio/iostream.cc:75: `_IO_USER_LOCK' undeclared (first
> usethis function)
> ../../../gcc-2.95.2/libio/iostream.cc:75: (Each undeclared identifier is
> reporte
> d only once

Try this:

Index: libio/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	* libio.h (_IO_USER_LOCK): Define as in Red Hat 7's libio.h.

--- libio/libio.h~	Tue Oct 24 00:34:13 2000
+++ libio/libio.h	Tue Oct 24 02:18:21 2000
@@ -136,6 +136,7 @@
 #define _IO_IS_APPENDING 0x1000
 #define _IO_IS_FILEBUF 0x2000
 #define _IO_BAD_SEEN 0x4000
+#define _IO_USER_LOCK 0x8000
 
 /* These are "formatting flags" matching the iostream fmtflags enum values. */
 #define _IO_SKIPWS 01


-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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