Hello,

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?

Regards,
Alexander

-- 
ptxdist mailing list
[email protected]

Reply via email to