NCurses

Thomas T. Veldhouse veldy at veldy.net
Wed Jan 10 15:00:15 PST 2001


Apparently you don't know how to use them.  This is fixed by the patch to
gcc-2.95.2.

Build in this order:

glibc-2.2 (patched for ldconfig)
gcc-2.95.2 (patched for glibc-2.2 changes)
ncurses-5.2

Tom Veldhouse
veldy at veldy.net

----- Original Message -----
From: "Perrin Aybara" <vze24938 at verizon.net>
To: <lfs-apps at linuxfromscratch.org>
Sent: Wednesday, January 10, 2001 4:18 PM
Subject: NCurses


> 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++/cursesf.cc
> 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++/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]: *** [../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
> concerned).
>
> --
> Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
> and put unsubscribe in the subject header of the message
>
>


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




More information about the blfs-support mailing list