GCC 3.1 and Ncurses compile problems

Chris Lingard chris at stockwith.co.uk
Mon May 20 15:33:45 PDT 2002

DJ Lucas wrote:

> Hello,  started building a new LFS system today and ran into an
> error when building ncurses.  I grabbed the book from CVS 20020519
> and opted to use GCC 3.1 as this is the current test for the next
> LFS book as I understand it.  There were no instructions for using a
> static build of gcc 3.1 so simply modified the 2.95.3 instructions
> to this:
>     mkdir ../gcc-build &&
>     cd ../gcc-build &&
>     ../gcc-3.1/configure --prefix=/usr --enable-languages=c,c++,java
>     \
>         --disable-nls --disable-shared --enable-threads=posix &&
>     make BOOT_LDFLAGS=-static bootstrap &&
>     make prefix=$LFS/usr install &&
>     ln -sf ../usr/bin/cpp $LFS/lib &&
>     ln -sf ../bin/cpp $LFS/usr/lib &&
>     ln -sf gcc $LFS/usr/bin/cc &&
>     rmdir $LFS/usr/*-gnu/include &&
>     rmdir $LFS/usr/*-gnu

Why are you deleting stuff?

> ../c++/cursesw.cc:77: no matching function for call to
> `std::strstreambuf::

Get the patch for ncurses from LFS.  The function does not exist
with gcc-3, but builds fine with the patch.


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

More information about the lfs-dev mailing list