From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21894 invoked by alias); 28 Oct 2003 21:28:12 -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 21878 invoked from network); 28 Oct 2003 21:28:11 -0000 Received: from unknown (HELO ext-ch1gw-1.online-age.net) (216.34.191.35) by sources.redhat.com with SMTP; 28 Oct 2003 21:28:11 -0000 Received: from int-ch1gw-3.online-age.net (int-ch1gw-3 [3.159.232.67]) by ext-ch1gw-1.online-age.net (8.12.9/8.12.9/990426-RLH) with ESMTP id h9SLS7aM009475; Tue, 28 Oct 2003 15:28:07 -0600 (CST) Received: from uswaumsxb4medge.med.ge.com (localhost [127.0.0.1]) by int-ch1gw-3.online-age.net (8.12.9/8.12.3/990426-RLH) with ESMTP id h9SLS588017064; Tue, 28 Oct 2003 16:28:06 -0500 (EST) Received: by uswaumsxb4medge.med.ge.com with Internet Mail Service (5.5.2656.59) id ; Tue, 28 Oct 2003 15:25:52 -0600 Received: from tuba.moneng.mei.com (TUBA [3.20.87.235]) by uswaumsxbhmedge.med.ge.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id VVRBYWAJ; Tue, 28 Oct 2003 15:27:56 -0600 From: "Wolcott, Ken (MED, Compuware)" Reply-To: "Wolcott, Ken (MED, Compuware)" To: Dan Kegel Cc: kleine-budde@gmx.de, crossgcc@sources.redhat.com, gdb mailing list Content-Type: text/plain; charset="iso-8859-1" Organization: GEMS-IT Subject: Re: unable to compile gdb 6.0 as a cross gdb; no termcap library found; and plain gcc is still called Date: Tue, 28 Oct 2003 21:28:00 -0000 User-Agent: KMail/1.4.3 References: <200310271747.52297.ken.wolcott@med.ge.com> <200310281320.07996.ken.wolcott@med.ge.com> <3F9EC941.3010007@kegel.com> In-Reply-To: <3F9EC941.3010007@kegel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200310281529.56380.ken.wolcott@med.ge.com> X-SW-Source: 2003-10/txt/msg00313.txt.bz2 Hi Dan; I think your assessment is correct, I really need to immerse myself in=20 crosstool and even in Linux itself. I thought I knew so much :-) I did not build the arm9 cross with --builduserland but I am now :-) I will also follow your other suggestions. Thanks, Ken On Tuesday 28 October 2003 13:53, Dan Kegel wrote: > Hi Ken, > hmm. Methinks you could use a Linux expert to sit down with you > and guide you through this stuff. Failing that, you need > to become an expert. The learning curve is steep, so put on > your crampons and grab an ice axe! > > /etc should not be in PATH; that's a red herring. > > More likely, the "no termcap library found" error means > you haven't build a termcap for your target yet. > crosstool-0.24 will install termcap.h and libncurses.so (which > implements the termcap functions) if you pass the --builduserland > option to all.sh. Did you? > > When you run into a configure failure like this one, the thing > to do is to edit the configure script in question, locate the > section that is failing, look backwards towards the top of > the file a bit until you find the beginning of the test, > and add a > set -x > statement, then run the configure again, redirecting the output > of configure to a file. This produces reams of output which > you then compare with the configure script to see what it was > testing for, and what failed. > > In other words: you have to actually *read* and *understand* > parts of the configure script, not just run it. > It's much easier to do if you also read the configure.in or configure.ac > script, which is what configure is expanded from. > > This will cause your head to explode if you do it without first > learning a bit about autoconf. I'd suggest working through one > of the autoconf tutorials I link to at > http://www.kegel.com/academy/opensource.html#autotools > and writing a trivial configure.ac to make sure you understand > how they work. (e.g. write a C program that includes the file > only if it exists; use autoconf's AC_CHECK_HEADERS > macro to check for the existence of . This will take > several hours the first time you do it, but it's well worth the effort.) > Think of it as one more little step on the way to becoming a Linux expert. > - Dan >