bug-ncurses
[Top][All Lists]
Advanced

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

Re: Problems build ncurses for Solaris 64-bit


From: Thomas Dickey
Subject: Re: Problems build ncurses for Solaris 64-bit
Date: Fri, 14 Feb 2003 18:28:22 -0500
User-agent: Mutt/1.3.27i

On Fri, Feb 14, 2003 at 04:28:05PM -0500, Cescato, Dan wrote:
> I am trying to build ncurses 5.2 for Solaris in 64-bit mode.  I'm not able to
> compile your source file vsscanf.c.  Early in the function vsscanf, you
> declare FILE strbuf; then proceed to set the elements _flag, _ptr, _cnt,
> _base, and _file.  Sun has changed the definition of the FILE structure for
> its 64-bit implementation.  You can see the change in their file
> /usr/include/stdio_impl.h.  Any fairly recent installation of Solaris will
> have this file.
 
> Do you know of any work-around for this?  I looked at ncurses 5.3, and the
> code in vsscanf.c hasn't changed, at least in that area.

perhaps - by overriding the configure script until I repair whatever's
wrong in that.  We could either try to make that ifdef-chunk work (rather
ugly) or disable it when it doesn't match the model, and use the fallback
I wrote for this purpose.  These symbols are defined:

HAVE_VFSCANF
HAVE__DOSCAN

so all you have to do to work-around is remove them from include/ncurses_cfg.h

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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