From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9482 invoked by alias); 28 Apr 2004 20:43:58 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 9462 invoked from network); 28 Apr 2004 20:43:57 -0000 Received: from unknown (HELO barry.mail.mindspring.net) (207.69.200.25) by sources.redhat.com with SMTP; 28 Apr 2004 20:43:57 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by barry.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1BIvuN-0006ll-00; Wed, 28 Apr 2004 16:43:55 -0400 Received: by berman.michael-chastain.com (Postfix, from userid 502) id D30B34B104; Wed, 28 Apr 2004 16:44:06 -0400 (EDT) To: drow@false.org, mec.gnu@mindspring.com Subject: Re: [patch] configure.ac, configure: curses/termcap on *-*-osf5.* Cc: gdb-patches@sources.redhat.com, kettenis@chello.nl Message-Id: <20040428204406.D30B34B104@berman.michael-chastain.com> Date: Wed, 28 Apr 2004 20:43:00 -0000 From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) X-SW-Source: 2004-04/txt/msg00645.txt.bz2 Daniel Jacobowitz writes: > That's a mighty deficient ncurses implementation. Are they in the > ncurses on your system and not being pulled in? If they aren't there, > what IS? That's a fruitful line of inquiry. /usr/local/lib/libncurses.a is a version of ncurses 5.2. But the "tinfo" subdirectory of ncurses has been built as a separate library, so I have to link gdb with "-lncurses -ltinfo". This is similar to the situation on hpux where libcur_colr.a is needed for 'wborder'. There is another problem. configure.ac is finding libncurses.a in /usr/local/lib, but it is not looking for include files in /usr/local/include. So gdb is using /usr/include/curses.h at compile time and /usr/local/lib/libncurses.a at link time. Fortunately, this just causes unresolved externals on my particular system. I worked around *that* problem with "-I /usr/local/include/ncurses". Now I get a gdbtui that links and runs, but it crashes shortly after "break main; run; next; next". Michael C