From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29348 invoked by alias); 19 Sep 2006 19:07:23 -0000 Received: (qmail 29167 invoked by uid 22791); 19 Sep 2006 19:07:22 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.palmsource.com (HELO mx2.palmsource.com) (12.7.175.14) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 19 Sep 2006 19:07:16 +0000 Received: from localhost (localhost [127.0.0.1]) by localhost.domain.tld (Postfix) with ESMTP id E28D526AFC; Tue, 19 Sep 2006 12:07:14 -0700 (PDT) Received: from mx2.palmsource.com ([127.0.0.1]) by localhost (mx2.palmsource.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31683-04-4; Tue, 19 Sep 2006 12:07:13 -0700 (PDT) Received: from ussunex01.palmsource.com (unknown [192.168.101.9]) by mx2.palmsource.com (Postfix) with ESMTP id 9E1D026AF5; Tue, 19 Sep 2006 12:07:13 -0700 (PDT) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: gdb build error Date: Tue, 19 Sep 2006 19:07:00 -0000 Message-ID: <0F4DF2E21F33DD46BE7B8CDEEB0E16D307EACF@ussunex01.palmsource.com> References: <3CE39F664D1EE14293F6923CD00E42C705DDFF45@montremsg32.na.future.ca> <20060919175243.GX26334@adacore.com> From: "Michael Snyder" To: "Joel Brobecker" , "Ray Duran" Cc: X-IsSubscribed: yes 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/msg00113.txt.bz2 Ray, here's your problem in a nutshell: ada-lex.c is not a "primary source file" -- it's a generated file. It's normally generated by 'flex', which is the GNU version of lex,=20 during the make process. The source file that it is generated from is called ada-lex.l, (l for lex), and that file SHOULD be present=20 in your source (tarball) tree. However, since some people don't have flex installed, we (the gdb maintainers) usually go ahead and include ada-lex.c in our source distribution, just to make things easy. And in fact, you will find it in our tarball for gdb-6.5 (I hope). However*2, you are not getting your source tarball from us. You're getting it from the insight maintainers. And for whatever reason, they seem to have omitted this file, perhaps assuming that everyone has flex installed and therefore can generate it. So there are a number of things you can do at this point. I can only think of one that would fall under the category of "supported", though, and that would be -- Install flex. This is not difficult to do, and you don't even have to be root to install it somewhere locally. If you don't want to do that, you could obtain the actual gdb-6.5 tarball (as opposed to the insight gdb tarball),=20 unpack it, and copy the file from there into your insight tree. This SHOULD be ok, but we can't make you any guarantees. There's always the possibility that their version is different (but it's highly unlikely). To be safe, you could diff the two versions of ada-lex.l. If they are the same, then you are home free. Michael -----Original Message----- From: gdb-owner@sourceware.org on behalf of Joel Brobecker Sent: Tue 9/19/2006 10:52 AM To: Ray Duran Cc: gdb@sourceware.org Subject: Re: gdb build error =20 > I looked at the tarball after "untaring" file and I cannot see > ada-lex.c. Where can I find an insight tarball that I can build gdb( > with ada-lex.c) That's the problem - the tarball should include that file. What you need to do is to tell the people who created that tarball to make sure that ada-lex.c is included. Or perhaps it was an intentional decision on their part. This file is not part of the CVS tree, but is automatically created during the GDB release creation process. --=20 Joel