This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: HPUX build error


> In file included from ./tui/tui.c:48:
> /usr/include/term.h:49: error: conflicting types for 'chtype'
> /usr/local/include/ncurses/ncurses.h:99: error: previous declaration of =
> 'chtype'
>  was here
> /usr/include/term.h:64: error: conflicting types for 'attr_t'

I would blame the ncurses installation for having a different definition
of chtype.  Since it is in /usr/local it is not the HP-UX system version
of curses.  If I look in /usr/include/curses.h, it has the same
definition of chtype (and presumbably the other types) as
/usr/include/term.h so I would try to build gdb with the standard curses
package instead of with ncurses.

Another option would be to turn of the tui part of the build.  I believe
gdb supports --disable-tui.

Steve Ellcey
sje@cup.hp.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]