X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Message-ID: <50EE94A2.2040505@upc.edu> Date: Thu, 10 Jan 2013 11:14:58 +0100 From: Jose Munoz User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: runing ./configure on gdb 7.5.50 sources References: <50ED3EED DOT 7010707 AT upc DOT edu> <50ED8693 DOT 9040805 AT cs DOT utoronto DOT ca> In-Reply-To: <50ED8693.9040805@cs.utoronto.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Mail-Scanned: Criba 2.0 + Clamd X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Thanks. I had a look into config.log. After the checking configure:7623: checking for gnum4 there are the 3 sections ## Output variables. ##, ## File substitutions. ## and ## confdefs.h. ##. The last section ends as follows: ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define LT_OBJDIR ".libs/" configure: caught signal 2 configure: exit 1 which are the last lines of "config.log". I detected though an earlier error message in the following lines configure:5706: gcc -c -g -O2 conftest.c >&5" : conftest.c: In function 'main': conftest.c:16:5: error: 'choke' undeclared (first use in this function) conftest.c:16:5: note: each undeclared identifier is reported only once for each function it appears in conftest.c:16:11: error: expected ';' before 'me' configure:5706: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include "ppl_c.h" | int | main () | { | | #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 11 | choke me | #endif | | ; | return 0; | } configure:5710: result: no configure:7008: checking for default BUILD_CONFIG I did not find any other errors in config.log. I searched for files "ppl_c.h", "conftest.c" and "confdefs.h" in C:\cygwin folder, and I could find "ppl_c.h", "confdefs.h" (the latter only when running ./configure and with the same content as in the output above), but I could not find any file named "conftest.c". I am not sure if this is related (not much experience on installing in linux/unix/cygwin), but I have ppl and ppl-dev installed, version 0.10.2-1. According to "ppl_c.h" and my installation, it seems my major version of ppl is 0 and the minor version is 10. Can this be a problem for building gdb? Jose On 1/9/2013 4:02 PM, Ryan Johnson wrote: > On 09/01/2013 1:57 AM, Jose Munoz wrote: >> Hello, >> >> I would like to patch my current version of gdb (7.5.50.20120815-cvs >> (cygwin-special)) on a cygwin 1.7.17-1 installation. >> >> Prior to that, I tried to build the original gdb sources, which I >> downloaded using setup.exe and selecting them. >> >> Without modifying any source code of gdb, I run ./configure from my >> source folder: >> >> C:\cygwin\usr\src\gdb-7.5.50-1 >> >> After a set of checks, configure hangs at the gnum4 check, at least >> more than 2 hours. > I've never seen this exact error, but my first step in diagnosing > configure issues is to check config.log for anomalies. > > Also, you're not supposed to configure gdb in /under the directory > containing its own sources. Try creating a "gdb-obj" somewhere else > and then ../gdb-src/configure > >> I also tried to run ./configure from the gdb folder >> (C:\cygwin\usr\src\gdb-7.5.50-1\gdb), but in this case, after a >> longer output, configure gives the following error message: >> >> "checking for Tcl private headers... configure: error: could not find >> private Tcl headers" > You probably need to install some tcl*-dev package. > > Ryan > > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > -- Jose J Munoz, www-lacan.upc.es/munoz/ Please check Erasmus Mundus Doctorate: www.cimne.com/emjd-seed/ Laboratori de Cālcul Numčric (LaCāN) Dep. Matemātica Aplicada III C/ Comte d'Urgell, 187, Room 1D012 Campus Urgell UPC, Edifici EUETIB E-08036 Barcelona, Spain j DOT munoz AT upc DOT edu, Skype: josej.munoz, Tel. + 34 93 413 7253 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple