From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1042 invoked by alias); 28 Apr 2004 03:58:34 -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 1035 invoked from network); 28 Apr 2004 03:58:33 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 28 Apr 2004 03:58:33 -0000 Received: from drow by nevyn.them.org with local (Exim 4.32 #1 (Debian)) id 1BIfa6-0007w4-Lp; Tue, 27 Apr 2004 23:17:54 -0400 Date: Wed, 28 Apr 2004 03:58:00 -0000 From: Daniel Jacobowitz To: Michael Elizabeth Chastain Cc: kettenis@chello.nl, gdb-patches@sources.redhat.com Subject: Re: [patch] configure.ac, configure: curses/termcap on *-*-osf5.* Message-ID: <20040428031754.GA30444@nevyn.them.org> Mail-Followup-To: Michael Elizabeth Chastain , kettenis@chello.nl, gdb-patches@sources.redhat.com References: <20040428015027.7D97E4B104@berman.michael-chastain.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040428015027.7D97E4B104@berman.michael-chastain.com> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-04/txt/msg00627.txt.bz2 On Tue, Apr 27, 2004 at 09:50:27PM -0400, Michael Chastain wrote: > Mark Kettenis writes: > > Sorry, but this isn't right. Just because ncurses doesn't work on one > > particular system, we shouldn't treat all those systems specially. > > Why is ncurses not working on this particular system? > > You're implying that building gdb with ncurses works on *any* > alphaev68-dec-osf5.1 system. I doubt that it does. > > There's no build reports in gdb-testers from anybody with an osf5 system > since 2002. And based on the build failure in gdb/1626, I don't think > that anybody's actually tried to build on an osf5 system since the > addition of the curses library. (gdb 6.0 builds fine on this system. > But gdb 6.0 does not use curses; only termcap). > > Here's what I get when I build gdb 6.1 with ncurses, but using the right > library order. The link line is (after touching up the white-space): > > gcc -g -O2 \ > -o gdb gdb.o libgdb.a \ > ../bfd/libbfd.a ../readline/libreadline.a ../opcodes/libopcodes.a ./../intl/libintl.a ../libiberty/libiberty.a -lncurses -ltermcap -lm ../libiberty/libiberty.a > > The unresolved externals are: > > keypad > cbreak > _setecho > nodelay > _setnonl > LINES > COLS > def_prog_mode > def_shell_mode > stdscr > _acs_map > curscr > getcury > getcurx > _ring > savetty > resetty > napms > collect2: ld returned 1 exit status 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? -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer