bug-ncurses
[Top][All Lists]
Advanced

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

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


From: Karel Kulhavý
Subject: Seemingly missing #include <ncurses_dll.h> in unctrl.h
Date: Mon, 8 Sep 2003 22:29:57 +0200
User-agent: Mutt/1.2.5.1i

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.

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<




reply via email to

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