From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23786 invoked by alias); 7 Sep 2006 17:41:07 -0000 Received: (qmail 23776 invoked by uid 22791); 7 Sep 2006 17:41:06 -0000 X-Spam-Check-By: sourceware.org Received: from mailrelay1.futureelectronics.com (HELO mailrelay1.futureelectronics.com) (209.5.122.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 07 Sep 2006 17:41:00 +0000 Received: from unknown (HELO montremsg32.na.future.ca) ([10.210.32.82]) by mailrelay1.futureelectronics.com with ESMTP; 07 Sep 2006 13:40:57 -0400 X-BrightmailFiltered: true content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: gdb build error Date: Thu, 07 Sep 2006 17:41:00 -0000 Message-ID: <3CE39F664D1EE14293F6923CD00E42C704CD96A5@montremsg32.na.future.ca> From: "Ray Duran" To: "Joel Brobecker" Cc: Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-09/txt/msg00046.txt.bz2 Hello Joel, -Yes, I agree that the file probably existed. - I am not sure what mirror site I downloaded the file from, but the name of=20 the tar is: insight-6.5.tar.bz2. - I followed the list of configure and build command that I found on the eCos page for installing GNU tools. My final application is to use eCos on an ARM. =20 ********************************************* Configure Insight: mkdir -p /tmp/build/gdb cd /tmp/build/gdb /src/insight-5.3/configure --target=3DTARGET \ --prefix=3D/gnutools -v 2>&1 | tee configure.out=20 Build and install Insight: make -w all install 2>&1 | tee make.out=20 ********************************************* With my target=3D arm-elf - I say that this is insight only because the name of the TAR. It may very well be gdb. Thank you very much for your time and attention, -Ray -----Original Message----- From: Joel Brobecker [mailto:brobecker@adacore.com]=20 Sent: Thursday, September 07, 2006 9:15 AM To: Ray Duran Cc: gdb@sourceware.org Subject: Re: gdb build error > However, I have done a search of ada-lex.c and cannot find anywhere. > That in fact make the message a bit of an anomaly, since the warning > says that ada-lex.c is older but it does not exist. I'm pretty sure it used to exist at the time you unpacked the sources. It must has been deleted somehow. The makefile says: .l.c: if [ "$(FLEX)" ] && $(FLEX) --version >/dev/null 2>&1; then \ $(FLEX) -o$@ $< && \ rm -f $@.new && \ sed -e '/extern.*malloc/d' \=20 -e '/extern.*realloc/d' \ -e '/extern.*free/d' \ -e '/include.*malloc.h/d' \ -e 's/\([^x]\)malloc/\1xmalloc/g' \ -e 's/\([^x]\)realloc/\1xrealloc/g' \ -e 's/yy_flex_xrealloc/yyxrealloc/g' \ < $@ > $@.new && \ rm -f $@ && \ mv $@.new $@; \ elif [ -f $@ ]; then \ echo "Warning: $*.c older than $*.l and flex not available."; \ else \ echo "$@ missing and flex not available."; \ false; \ fi so the file MUST have existed for the warning you mentioned to be printed (the -f test). I can't really figure out what happened in your case without more details. If you start from scratch, and send us the list of commands you used to build your application, then maybe we'll be able to understand what happened. Please also tell us exactly what package you downloaded, and where you got it: > If I re-downloaded insight tar 6.5 or an earlier version could I > configure and build Insight over what I have already done? There isn't > any need for deleting old insight stuff? Are you sure you mean insight? The last releases only included GDB, not insight. --=20 Joel