This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: HPUX build error
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: UDOGAN at THY dot COM
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 8 Jun 2005 08:09:27 -0700 (PDT)
- Subject: 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