On Thu, Jun 30, 2011 at 05:13:39PM +0200, Alexander Stein wrote:
> I'm using ptxdist-2011.05 and wanted to compile gdb. But configure doesn't 
> find ncurses.h
> 
> snipped from gdb-7.2_build/gdb/config.log:
> 
> configure:11376: checking ncurses.h usability
> configure:11376: i686-unknown-linux-gnu-gcc -c -g -O2   conftest.c >&5
> conftest.c:155:21: fatal error: ncurses.h: No such file or directory
> compilation terminated.
> configure:11376: $? = 1
> 
> Same for curses.h although both files do exist within sysroot-target.
> Compilation exits with this error:
> In file included from /home/alex/platform-i586/build-
> target/gdb-7.1/gdb/tui/tui-command.c:26:0:
> /home/alex/platform-i586/build-target/gdb-7.1/gdb/tui/tui-data.h:38:3: error: 
> expected specifier-qualifier-list before 'WINDOW'
> 
> This is due to
> /* Define to 1 if you have the <ncurses.h> header file. */
> /* #undef HAVE_NCURSES_H */
> in config.h
> 
> Someone have an idea to fix that?

I see this too. I think there is some host/target confusion during
configure, but so far I didn't have the time to look closer.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
[email protected]

Reply via email to