From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3374 invoked by alias); 18 Nov 2005 22:21:35 -0000 Received: (qmail 3364 invoked by uid 22791); 18 Nov 2005 22:21:32 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 18 Nov 2005 22:21:32 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id jAIMLQ5c028217; Fri, 18 Nov 2005 17:21:26 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id jAIMLQV22605; Fri, 18 Nov 2005 17:21:26 -0500 Received: from [127.0.0.1] (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id jAIMLOFM016702; Fri, 18 Nov 2005 17:21:25 -0500 Message-ID: <437E53E4.5000505@redhat.com> Date: Fri, 18 Nov 2005 22:21:00 -0000 From: Keith Seitz User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) MIME-Version: 1.0 To: "Keith Ross (E-Lands)" CC: insight@sourceware.org Subject: Re: Can't build missing ADA, Flex References: <437D6022.9080808@elands.co.nz> In-Reply-To: <437D6022.9080808@elands.co.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2005-q4/txt/msg00020.txt.bz2 Keith Ross (E-Lands) wrote: > I know that there are lots of ongoing build issues with insight-6.30.50 > and have been following the patches, but I think my problem is operator > error. Not really. Well, at least not on linux! O:-) > I'm building insight-weekly-6.30.50.20051114 under gcc-4.0.2 (c, c++ > only) and cygwin and get > the follow error. I install flex but where/what's ada. I assume that I > configured it wrong. > > configure --target=arm-elf --prefix=/gnutools/insight-6.3 Looks okay. > make[2]: Entering directory `/tmp/build/gdb/gdb' > if [ "/src/insight/gdb/missing flex" ] && /src/insight/gdb/missing flex > --version >/dev/null 2>&1; then \ > /src/insight/gdb/missing flex -oada-lex.c > /src/insight/gdb/gdb/ada-lex.l && \ > rm -f ada-lex.c.new && \ > sed -e '/extern.*malloc/d' \ > -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' \ > < ada-lex.c > ada-lex.c.new && \ > rm -f ada-lex.c && \ > mv ada-lex.c.new ada-lex.c; \ > elif [ -f ada-lex.c ]; then \ > echo "Warning: ada-lex.c older than ada-lex.l and flex not > available."; \ > else \ > echo "ada-lex.c missing and flex not available."; \ > false; \ > fi > ada-lex.c missing and flex not available. I think that ada support in gdb is relatively new. The lex output is usually not checked in. The simplest solution is to run your cygwin setup and install the flex package. Keith