Perrin Aybara vze24938 at
Wed Jan 10 14:18:37 PST 2001

	I'm installing an LFS system based on Glibc 2.2 and, of course, GCC
2.95.2.  I have all the patches & know how to use them.  My problem,
though, is an error I'm getting when compiling Ncurses 5.2.  It goes a
little something like this:

cd ../objects; c++ -I../include -I. -DHAVE_CONFIG_H -DNDEBUG -I.
-I../include -O2 -c ../c++/
In 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++/
/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]: *** [../objects/cursesf.o] Error 1
make [1]: Leaving directory `/usr/src/lfs/ncurses-5.2/c++'
make: *** [all] Error 2

I usually try to fix whatever bugs roll my way, but this looks like it's
pretty over-my-head (I'm not a programmer or anything, but I can fix
some problems).  This actually looks like something that could use a
generous patching.

P.S.: I did run the GCC patches when I compiled GCC in the chrooted
environment (so streambuf.h should be good to go as far as glibc-2.2 is

Unsubscribe: send email to lfs-apps-request at
and put unsubscribe in the subject header of the message

More information about the blfs-support mailing list