[Top][All Lists]

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

Re: Seemingly missing #include <ncurses_dll.h> in unctrl.h

From: Thomas Dickey
Subject: Re: Seemingly missing #include <ncurses_dll.h> in unctrl.h
Date: Mon, 8 Sep 2003 20:57:29 -0400 (EDT)

On Mon, 8 Sep 2003, [iso-8859-2] Karel Kulhav? wrote:

> Hello
> Having Linux From Scratch. Trying to compile XFree86 4.3.0 with
> ncurses 5.3. Failed on syntax error in /usr/include/unctrl.h. You can see the
> error at the end of "message" (attached file).
> Tried to recompile ncurses 5.3 without the two paches (vsscanf and etip
> patch) and the result was the same.

"two patches" doesn't sound right.  I have a few versions of the rollup
patches at
which covers (mostly) weekly patches since last October.

The rollup patch includes this item, which is probably what you're

        + add configure check for wchar_t and wint_t types, rather than rely
          on preprocessor definitions.  Also work around for gcc fixinclude
          bug which creates a shadow copy of curses.h if it sees these symbols
          apparently typedef'd.

> Determined after preprocessing unctrl.h there is a line reading:
> NCURSES_EXPORT( char *) unctrl (chtype);
> (line 57 in unctrl.h)
> where NCURSES_EXPORT is an undefined token (seems like a macro that
> has been forgotten to be defined).

> Looked up in /usr/include and found that NCURSES_EXPORT is being defined
> in /usr/include/ncurses_dll.h
> Added the line "#include <ncurses_dll.h>" at the beginning of 
> /usr/include/unctrl.h
> and ran the installation stage (make install) of XFree 4.3.0 again, now
> without any errors.
> Regards,
> Cl<
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-ncurses

Thomas E. Dickey

reply via email to

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