#298 closed defect (invalid)
Compilation error for ncurses-5.2
| Reported by: | Owned by: | ||
|---|---|---|---|
| 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 , 24 years ago
comment:2 by , 24 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
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:4 by , 24 years ago
| Keywords: | VERIFIED removed |
|---|

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