[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compilation error ncurses 5.2 - missing function
From: |
Jean-Pierre Schwickerath |
Subject: |
Re: compilation error ncurses 5.2 - missing function |
Date: |
26 Mar 2001 19:59:01 CEST |
Thanks a lot... It worked....
On Mon, 26 Mar 2001 11:06:55 -0500 (EST), Thomas E. Dickey said:
> On 26 Mar 2001, Jean-Pierre Schwickerath wrote:
>
> > Hello,
> >
> > I'm sorry if this problem has allready been discussed but I didn't find any
> > list archives ... :-(
>
> I made some fixes in the previous patch for this, which works for some
> cases, but not all (should in fact work for the gcc snapshot you're using
> since that was what I was fixing). See the rollup patch under
> ftp://dickey.his.com/ncurses/5.2
>
> >
> > 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
> >
> >
> >
> >
>
> --
> T.E.Dickey <address@hidden>
> http://dickey.his.com
> ftp://dickey.his.com
>
>
--
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!