ncurses compile problem

Ruth Kerr r.kerr at clear.net.nz
Tue Jan 14 03:09:57 PST 2003


At 10:49 AM 1/14/03 +0000, you wrote:

>Ruth Kerr wrote:
>
> > Greetings
> >
> > I've been compiling LFS 3.1 on a Powerbook 5300 and have run into a small
> > snag.
> >
> > During the ncurses compile make quits with,
> >
> > make [1]: Entering directory '/mnt/lfs/usr/src'/ncurses-5.2/c++'
> > cd ../obj_s; c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -DNDEBUG -I.
> > -I../include -O2 -fPIC -c
> > ../c++/curses.cc
> > ../c++/curses.cc:  In method 'int MCursesWindow::scanw(const char *, ..)':
> > ../c++/curses.cc:  ANSI C++ forbids casting to an array type
> > ../c++/curses.cc:  In method 'int MCursesWindow::scanw(int, int, const
> > char *, ...)':
> > ../c++/curses.cc:  ANSI C++ forbids casting to an array type
> > make[1]:  *** [../obj_s/cursesw.o]  Error 1
> > make[1]:  Leaving directory '/mnt/lfs/usr/src'/ncurses-5.2/c++'
> > make:  *** [all] Error 2
>
>But what version of gcc are you using.  This error is given when
>using gcc-3.x or later.  You need to get the patch from lfs packages
>4.0,  this used gcc-3.x with your old version of ncurses.
>
>You could also download ncurses-5.3, or you could downgrade your
>compiler to gcc-2.95.3.
>
>Chris
>
>
>Greetings

It is compiling using gcc 2.95.3 with the 2.95.3-2 patch on it.  standard 
lfs 3.1 distro.

Will try ncurses 5.3 thou

Thanks

Ruth



>--
>Unsubscribe: send email to listar at linuxfromscratch.org
>and put 'unsubscribe lfs-support' in the subject header of the message
>
>
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/03

-------------- next part --------------

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/03


More information about the lfs-support mailing list