bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compilation error ncurses 5.2 - missing function


From: Jean-Pierre Schwickerath
Subject: compilation error ncurses 5.2 - missing function
Date: 26 Mar 2001 17:55:46 CEST

Hello, 

I'm sorry if this problem has allready been discussed but I didn't find any
list archives ... :-(

I'm trying to compile ncurses 5.2 on a Linux From Scratch system.

I'm currently in a chrooted environment where I have gcc-3.0 pre (snapshot
March 5th) and glibc 2.2.2. 
Also I have the libstdc++ snapshot of this date. Bash 2.0.4 and gAWK 3.0.6 are
also present so as sed 3.0.2

I configured ncurses this way
/configure --prefix=/usr --libdir=/lib --with-shared --disable-termcap

I want to build the c++ part and I get the following error... 
I added -I/usr/include/g++-v3 in the c++/Makefile.in 'cause gcc was complaining
about missing headers... 
Also, I looked for a vscan function, but I didn't find any neither in
/usr/include (and directories below) nor in ncurses-5.2/include nor
ncurses-5.2/c++
The closest function is extern "C" int vscanf(const char*, va_list); in
/usr/include/g++-v3/bits/std_cstdio.h

Does anyone have a hint or a solution?

Jean-Pierre

ERROR Output:
--snip--
cd ../obj_s;  c++ -I../c++ -I../include -I. -I/usr/include/g++-v3
-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/packages/ncurses-5.2/c++'
make: *** [all] Error 2



-- 
Jean-Pierre Schwickerath  - Powered by GNU/LinuX!
E-Mail: address@hidden - http://schwicky.net
PGP Key ID: 0x48C39212 - AIM: Schwicky - ICQ's UIN: 4690141

Nothing's impossible... Everything is relative!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]