This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: build/2114: gdb-6.4 build fails at "tui-data.h:40: error: syntax error before "WINDOW""
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 25 Apr 2006 00:48:01 -0000
- Subject: Re: build/2114: gdb-6.4 build fails at "tui-data.h:40: error: syntax error before "WINDOW""
- Reply-to: "Dave Korn" <dave dot korn at artimi dot com>
The following reply was made to PR build/2114; it has been noted by GNATS.
From: "Dave Korn" <dave.korn@artimi.com>
To: <gdb-gnats@sources.redhat.com>,
<nobody@sources.redhat.com>,
<umar.janjua@cl.cam.ac.uk>,
<gdb-prs@sources.redhat.com>
Cc:
Subject: Re: build/2114: gdb-6.4 build fails at "tui-data.h:40: error: syntax error before "WINDOW""
Date: Tue, 25 Apr 2006 01:41:42 +0100
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=
gdb&pr=2114
You need to install the libncurses-devel package for your system to get the
appropriate [n]curses.h header. It's probably a bug that gdb_curses.h doesn't
at least emit a warning if it doesn't find any header at all, since as you
have seen tui-data.h relies on it critically for the definition of WINDOW.
(I just ran into this exact same problem on cygwin, although in my case a
busted symlink was responsible for configure not finding ncurses.h;
reinstalling the ncurses-devel fixed it.)
cheers,
DaveK
--
Can't think of a witty .sigline today....