From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23722 invoked by alias); 8 Jun 2005 15:09:50 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 23710 invoked by uid 22791); 8 Jun 2005 15:09:45 -0000 Received: from palrel11.hp.com (HELO palrel11.hp.com) (156.153.255.246) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 08 Jun 2005 15:09:45 +0000 Received: from smtp1.ptp.hp.com (smtp1.ptp.hp.com [15.1.28.250]) by palrel11.hp.com (Postfix) with ESMTP id 7BC2042EA; Wed, 8 Jun 2005 08:09:43 -0700 (PDT) Received: from hpsje.cup.hp.com (hpsje.cup.hp.com [15.244.96.221]) by smtp1.ptp.hp.com (Postfix) with ESMTP id 6292519837A; Wed, 8 Jun 2005 15:09:43 +0000 (UTC) Received: (from sje@localhost) by hpsje.cup.hp.com (8.9.3 (PHNE_24419+JAGae58098)/8.7.3 TIS Messaging 5.0) id IAA29433; Wed, 8 Jun 2005 08:09:27 -0700 (PDT) Date: Wed, 08 Jun 2005 15:09:00 -0000 From: Steve Ellcey Message-Id: <200506081509.IAA29433@hpsje.cup.hp.com> To: UDOGAN@THY.COM Cc: gdb@sources.redhat.com Subject: Re: HPUX build error In-Reply-To: X-SW-Source: 2005-06/txt/msg00067.txt.bz2 > 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