Opened 23 years ago

Closed 23 years ago

Last modified 23 years ago

#298 closed defect (invalid)

Compilation error for ncurses-5.2

Reported by: dsavard@… Owned by: lfs-book@…
Priority: normal Milestone:
Component: Book Version: CVS
Severity: normal Keywords:
Cc:

Description

I am getting the following compile error for ncurses-5.2:

cd ../obj_s; c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -DNDEBUG -I. -I../include -O2 -fPIC -c ../c++/cursesw.cc ../c++/cursesw.cc: In member function `int NCursesWindow::scanw(const char*,

...)':

../c++/cursesw.cc:55: no matching function for call to

`std::strstreambuf::vscan(const char*&, void*&)'

../c++/cursesw.cc: In member function `int NCursesWindow::scanw(int, int, const

char*, ...)':

../c++/cursesw.cc:77: no matching function for call to

`std::strstreambuf::vscan(const char*&, void*&)'

make[1]: * obj_s/cursesw.o Error 1 make[1]: Leaving directory `/usr/src/cids/BUILD/ncurses-5.2/c++' make: * [all] Error 2

Of course, this happen while performing the make from Book part II section 6. All previous steps where performed successfully. So, what is missing?

Change History (4)

comment:1 by gerard@…, 23 years ago

which gcc version did you install in chapter 5? This sounds like an error that occurs when you use gcc-3.x instead of 2.95.3

comment:2 by gerard@…, 23 years ago

Resolution: invalid
Status: newclosed

ncurses-5.2 doesn't compile with gcc-3.x. You need to apply a patch to ncurses which can be found at http://www.linuxfromscratch.org/~gimli .

comment:3 by markh@…, 23 years ago

Keywords: VERIFIED added

confirmed as invalid

comment:4 by markh@…, 23 years ago

Keywords: VERIFIED removed
Note: See TracTickets for help on using tickets.