From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115410 invoked by alias); 8 Jun 2017 08:27:58 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 114629 invoked by uid 89); 8 Jun 2017 08:27:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=puzzled, life, perfect X-HELO: mail-qt0-f176.google.com Received: from mail-qt0-f176.google.com (HELO mail-qt0-f176.google.com) (209.85.216.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 08 Jun 2017 08:27:55 +0000 Received: by mail-qt0-f176.google.com with SMTP id u12so33239275qth.0 for ; Thu, 08 Jun 2017 01:27:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=TQ/0zzKzHR/j+3Qwl+5pREfZMWNq+wM8vvdtwYuBv/c=; b=e82y48k2ptntP9SszIdGgYvwPJs/zVqzVc9DRzzlpUBOKgO9GFMu3lQVwVyV7SfVms /AjfqTvP/6SO7wggB/bToO+NeSJmcIM7MmDYnvQScP6C5LKWzX4kzN5DKP7kKEuf9Az0 ohlcaVJ9V66TScYqYD+gUNPLeN0VeCFrIM1U7kXZfmx64Pm/LvHEaHczUm88LlYuem0s MnyISaCqAkQ06+8jCm19MheMgaq3rw/cjoZvzD/YlP0Y5FElYwan+PAUAoqzqdsoj0OY 0ZvcKnFhSRhTCjOJOdUGsXdEYy+ZkHKzikxLXJF0yS1FWMPD6Txbqi71WTuBEYjGlgSn 1PiA== X-Gm-Message-State: AODbwcCLjumkjQz2il24cZDoNXZvI3neSnY136L9m1/UdZSOq0eVEHnK +30vnJma32mn3/pVMrPlvhY+Wl3YUw== X-Received: by 10.55.203.132 with SMTP id u4mr39596919qkl.59.1496910477961; Thu, 08 Jun 2017 01:27:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.33.144 with HTTP; Thu, 8 Jun 2017 01:27:57 -0700 (PDT) In-Reply-To: <6b85944b-bb04-0a6a-2a7d-1dcc7bc2fc1f@redhat.com> References: <310357481.6222896.1496816466443.ref@mail.yahoo.com> <310357481.6222896.1496816466443@mail.yahoo.com> <1185399437.7584723.1496867830934@mail.yahoo.com> <1462809442.7598271.1496873467329@mail.yahoo.com> <6b85944b-bb04-0a6a-2a7d-1dcc7bc2fc1f@redhat.com> From: Csaba Raduly Date: Thu, 08 Jun 2017 08:27:00 -0000 Message-ID: Subject: Re: configure fails on checking ino_t To: cygwin list Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2017-06/txt/msg00059.txt.bz2 On Thu, Jun 8, 2017 at 12:19 AM, Eric Blake wrote: > On 06/07/2017 05:11 PM, Lloyd Wood via cygwin wrote: >> Aha! just slightly later in config.log: >> >> configure:17957: checking for ino_t >> configure:17957: gcc -c -g -O2 conftest.c >&5 >> configure:17957: $? = 0 >> configure:17957: gcc -c -g -O2 conftest.c >&5 >> conftest.c: In function 'main': >> conftest.c:94:20: error: expected expression before ')' token >> if (sizeof ((ino_t))) >> ^ > > This _particular_ failure is expected (you aren't showing enough of the > config.log output). Remember, to determine if something is a type vs. > an expression, autoconf performs TWO compilation tests, and relies on > the fact that sizeof(expr) and sizeof((expr)) both compile, but > sizeof(type) compiles while sizeof((type)) must fail. The back-to-back > compilation is necessary to ensure that something being probed for is a > type name rather than an arbitray expression. > > So just because _some_ tests fail (as expected) does not mean that this > particular failure is where configure is messing up. Yes, I saw this in my successful config.log (and was a bit puzzled). Lloyd, you need to look further down in config.log, because "checking for sizeof(ino_t)" - the one that failed for you - is after "checking for ino_t". Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds -- 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