bug-ncurses
[Top][All Lists]
Advanced

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

Re: ncurses-5.6 Solaris


From: Nuno Dias
Subject: Re: ncurses-5.6 Solaris
Date: Sat, 27 Jan 2007 19:19:27 +0000

 Hi,

I'm using gcc (GCC) 3.3

ND

On Sat, 2007-01-27 at 11:54 -0500, Thomas Dickey wrote:
> On Fri, Jan 26, 2007 at 12:30:01PM +0000, Nuno Dias wrote:
> > No, I try to compile a previous version but i have the same error.
> > 
> > ND
> > 
> > On Fri, 2007-01-26 at 07:25 -0500, Thomas Dickey wrote:
> > > On Thu, 25 Jan 2007, Nuno Dias wrote:
> > > 
> > > > Hi,
> > > >
> > > > I'm trying to compile ncurses 5.6 in solaris 8 (sparc).
> > > >
> > > > I'm getting this error ...
> > > >
> > > > make[1]: Entering directory `/usr/share/src/ncurses-5.6/c++'
> > > > /usr/local/bin/g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -I.
> > > 
> > > I've only tested Solaris using Sun's c++ (seems to work).
> 
> I ran a check on a system where I have an account, and it seems
> also okay with g++.  The version may matter - on this particular
> system, it was using an old version of g++.  (Sadly enough, newer
> versions of gcc/g++ tend to not work well on older systems - that
> could be your problem).
>  
> > > With g++, you have the additional problem that the "fixed" includes
> > > often have instances where they don't match the system headers
> > > (sometimes this is for a good reason, but often not).
> > > 
> > > Did this configuration build an earlier version of ncurses?
> > > 
> > > > -I../include  -D__EXTENSIONS__ -DNDEBUG -I/usr/local/include/ncurses -O2
> > > > -c ../c++/cursesw.cc -o ../objects/cursesw.o
> > > > .../c++/cursesw.cc: In member function `int NCursesWindow::scanw(const
> > > > char*,
> > > >   ...)':
> > > > .../c++/cursesw.cc:64: error: `::vsscanf' undeclared (first use here)
> > > > make[1]: *** [../objects/cursesw.o] Error 1
> > > > make[1]: Leaving directory `/usr/share/src/ncurses-5.6/c++'
> > > > make: *** [all] Error 2
> 
> Well - basically the problem is that ncurses needs to use vsscanf,
> and in the configure script, I have a check for some flavors that
> might work.  The configure script checks for _this_ flavor first,
> so either there's something wrong with the check (not that likely),
> or your environment for configuring and building don't match, or
> there's something broken in the compiler configuration.
> 
> What version of g++ are you using?
> 
-- 
Nuno Dias <address@hidden>
OAL





reply via email to

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