[Top][All Lists]

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

Re: compilation failure on ncurses/tinfo/lib_acs.c

From: Thomas Dickey
Subject: Re: compilation failure on ncurses/tinfo/lib_acs.c
Date: Thu, 20 Dec 2001 19:43:21 -0500
User-agent: Mutt/1.2.5i

On Fri, Dec 21, 2001 at 01:31:04AM +0100, Robert Joop wrote:
> On 01-12-21 00:58:40 MET, Thomas Dickey wrote:
> > If BROKEN_LINKER is defined, the related definitions should be (is, when
> > I compile it):
> > 
> > in include/curses.h:
> > 
> > #if 1
> you've got two places where you #define BROKEN_LINKER, in
> include/ncurses_cfg.h and in include/term.h, but curses.h you don't use
> it but have it replaced through configure, curses.h.in has got a
> smells like some mismatch...?

It sounds like I have to replace the symbol in term.h -- except that I
do that effectively with MKterm.h.awk (it's not consistent to substitute
the constant '0' in curses.h and allow the symbol in term.h, so I'll
probably fold the change so I'm using '0' in both places).  But it should
work as-is.
> i've got a #if 0 there.
> (your linker is broken, mine is not? i'm surprised, my old sunos 4.1.4
> is less broken than yours on a probably newer system?)

cygwin has a broken linker (that was what I was addressing).  It's not able
to refer to an array owned by a shared library (dll).
> > extern NCURSES_EXPORT_VAR(chtype*) _nc_acs_map(void);
> > #define acs_map (_nc_acs_map())
> > #else
> > extern NCURSES_EXPORT_VAR(chtype) acs_map[];
> > #endif
> rj

Thomas E. Dickey <address@hidden>

reply via email to

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