X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=jpEtwU2 MIV6LLfD/mRH1FAnTv0KDxUPwr1IyeP+E3kDe+G+vA2o+IIRTJ59qCNhQaeRQsqT XTVGv0khdCWGOqyw3JeooBmAhweaqRjVus4hf15m9IQsSelMeiPGVbG3id2dTZJ5 opkGFMdBpSRUsqthvObmCVCDlUiA2eVkY1H8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=Yqk+78v8oT5ML Itzz+y4k3ZkSVo=; b=lRQQkP36ZtiQj28OR6790Wf3Ywzc5aoqmhEZ4XEVsSJ2/ NiCWhOAdlAv0cxdFRM2sY86SC/nOsO+Le4+qkePPTRFD1LlhB9AVAKD/QYwWitKF Ru6kMP66awyKoZAPI9V2IMJS+V5ssL3x2SvQ9nG1olD867nHzfGXVCEZf0N/c0= 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 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 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 In-Reply-To: <6b85944b-bb04-0a6a-2a7d-1dcc7bc2fc1f@redhat.com> References: <310357481 DOT 6222896 DOT 1496816466443 DOT ref AT mail DOT yahoo DOT com> <310357481 DOT 6222896 DOT 1496816466443 AT mail DOT yahoo DOT com> <1185399437 DOT 7584723 DOT 1496867830934 AT mail DOT yahoo DOT com> <1462809442 DOT 7598271 DOT 1496873467329 AT mail DOT yahoo DOT com> <6b85944b-bb04-0a6a-2a7d-1dcc7bc2fc1f AT redhat DOT com> From: Csaba Raduly Date: Thu, 8 Jun 2017 10:27:57 +0200 Message-ID: Subject: Re: configure fails on checking ino_t To: cygwin list Content-Type: text/plain; charset="UTF-8" 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