ncurses compile problem

Ruth Kerr r.kerr at
Tue Jan 14 02:11:34 PST 2003


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++/  In method 'int MCursesWindow::scanw(const char *, ..)':
../c++/  ANSI C++ forbids casting to an array type
../c++/  In method 'int MCursesWindow::scanw(int, int, const char 
*, ...)':
../c++/  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

I' tried to make in under my host os (being MKlinuxR1, which is RedHat 
6.0.  I'm running the latest nubus kernel) and it gives the same error.

I've compiled LFS 3.1 on a number of other systems and have never had this 
problem before.

Any ideas?

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

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

More information about the lfs-support mailing list