Glibc 2.2

Steve Jones sljones3 at ualr.edu
Sun Nov 12 12:33:27 PST 2000


I just got the same error with both ncurses 5.1 and 5.2

going through the faq in glibc2.2 I found:



2.34.   When compiling C++ programs, I get a compilation error in
streambuf.h.

{BH} You are using g++ 2.95.2? After upgrading to glibc 2.2, you need to
apply a patch to the include files in /usr/include/g++, because the
fpos_t
type has changed in glibc 2.2.  The patch is at
http://clisp.cons.org/~haible/gccinclude-glibc-2.2-compat.diff


2.35.   When recompiling GCC, I get compilation errors in libio.

{BH} You are trying to recompile gcc 2.95.2?  After upgrading to glibc
2.2,
you need to apply a patch to the gcc sources, because the fpos_t type
and
a few libio internals have changed in glibc 2.2. T he patch is at
http://clisp.cons.org/~haible/gcc-glibc-2.2-compat.diff


The above site seems to be not working or overloaded.  I can't get
anything more than a name lookup.  If any one can get it please post the
patch.

Steve Jones
sljones3 at ualr.edu


Hywel Mallett wrote:
> 
> On Sun, 12 Nov 2000, you wrote:
> > Misquoted from Sergey Ostrovsky on Sun, Nov 12, 2000 at 08:05:40AM -0500:
> > >
> > > Come back after ncurses -:)
> > >
> > ncurses-5.1 just failed.
> > I tried -D_GNU_SOURCE, but that does not do anything useful.
> > I am downloading 5.2 now.
> >
> > Just to make sure we are talking about the same fault:
> >
> > make[1]: Entering directory /usr/src/ncurses-5.1/test'
> > make[1]: Nothing to be done for       nstall'.
> > make[1]: Leaving directory /usr/src/ncurses-5.1/test'
> > cd c++ && make INSTALL_PREFIX="" install
> > make[1]: Entering directory /usr/src/ncurses-5.1/c++'
> > cd ../obj_s; c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG -I. -I../include -O3 -march=i686 -fPIC -c
> > ../c++/cursesf.ccIn file included from /usr/include/g++/iostream.h:31,
> >                   from /usr/include/g++/strstream.h:32,
> >                  from ../c++/cursesw.h:17,
> >                  from ../c++/cursesp.h:39,
> >                  from ../c++/cursesf.h:39,
> >                  from ../c++/cursesf.cc:34:
> > /usr/include/g++/streambuf.h: In method `struct streampos streambuf::pubseekoff(long long int, ios::seek_dir, int = 3)':
> > /usr/include/g++/streambuf.h:362: conversion from `__off64_t' to non-scalar type `streampos' requested
> > /usr/include/g++/streambuf.h: In method `struct streampos streambuf::pubseekpos(_G_fpos64_t, int = 3)':
> > /usr/include/g++/streambuf.h:364: `struct streampos' used where a `long long int' was expected
> > make[1]: *** [../obj_s/cursesf.o] Error 1
> > make[1]: Leaving directory /usr/src/ncurses-5.1/c++'
> > make: *** [install] Error 2
> >
> > Richard
> 
> And of course just the same here, with ncurses-5.2. Nice one glibc! :-(
> 
> --
> Hywel Mallett
> 
> --
> Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
> and put unsubscribe in the subject header of the message

-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list