From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by sourceware.org (Postfix) with ESMTPS id CFA033848407 for ; Sat, 15 May 2021 07:55:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CFA033848407 Received: by mail-ed1-x533.google.com with SMTP id t3so1072675edc.7 for ; Sat, 15 May 2021 00:55:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=sl8QNa0Vxm3LwCH6I8NYH+n8FeaDlCSoU+78AVXzL/U=; b=BX33eCMLNbrusi5TGsK83QBNIf/f76HD4kbRmSuhtJthsIEX7mbL8pRw8Qa3Ac0fiK ROB6+cB4LCy76TTQfghUhsGZPj9tgL5a7LmSKZxfizxx+KMKjh/zQUw9cFSKVnZm2kFv gimzFkdyxrp+NTO9k2gjkt9555KbLSwsV0VuUMD9YAXqTH8ryDkxxXBA9El3+sDMnpYo JSb0WU7IxQCN6mUELsD93H64cUHq4xd6tEfTmKzH7/7H7B4WP+mJue0SDCX7uDJKVf7b /zU3svOpuZxhzjp+XkCTZFlBtd/i05kyxiSIoU11D4gA0Fmau0LFWYIYUg/tsRvNtYBX 5rQw== X-Gm-Message-State: AOAM532zmXE8wdrFvbeck6WdORAJ9ncI3DVABfTNa1574mGvt0ykMVBw TNgS1MQnC/tuHRM5uqwPTR9UzpGYwhZUmA== X-Google-Smtp-Source: ABdhPJxmDTzBNggbbbGydLyLhdQ1AAy5EmiExTe+R9cgcyXXgi3A81MR1GRQKSdtBp/sXg1SVdTijw== X-Received: by 2002:a50:9f6b:: with SMTP id b98mr8682119edf.318.1621065319722; Sat, 15 May 2021 00:55:19 -0700 (PDT) Received: from ?IPv6:2003:cc:9f04:e3af:5461:31d8:a9db:73ac? (p200300cc9f04e3af546131d8a9db73ac.dip0.t-ipconnect.de. [2003:cc:9f04:e3af:5461:31d8:a9db:73ac]) by smtp.gmail.com with ESMTPSA id v8sm1269050ejq.62.2021.05.15.00.55.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 15 May 2021 00:55:19 -0700 (PDT) Subject: Re: cygport i686/x86 library build undefined type in sys/stat.h From: Marco Atzeri To: cygwin@cygwin.com References: <08857c84-dbfe-8bf4-f7f8-40f64a3edda0@SystematicSw.ab.ca> <3b055003-0f63-42d4-b196-fd59a0b682ae@gmail.com> Message-ID: <3f906c99-6687-f483-d6bb-296258adee3a@gmail.com> Date: Sat, 15 May 2021 09:55:17 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <3b055003-0f63-42d4-b196-fd59a0b682ae@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: it Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 May 2021 07:55:22 -0000 On 15.05.2021 08:01, Marco Atzeri wrote: > On 15.05.2021 06:16, Brian Inglis wrote: >> Trying to build latest libssh2 1.9.0 using cygport, works under x86_64, >> but under i686/x86 fails with: >> >> In file included from */usr/i686-pc-cygwin/include/sys/stat.h*:22, >>                   from ...: >> /usr/include/cygwin/stat.h:27:3: error: unknown type name ‘timestruc_t’ >>     27 |   timestruc_t   st_atim; >>        |   ^~~~~~~~~~~ >> >> The equivalent include path to */usr/i686-pc-cygwin/include/sys/stat.h* >> does not exist under 64 bit as /usr/x86_64-pc-cygwin/include, >> and cygcheck -f does not come up with a hit. >> > > It is defined under: > > /usr/include/machine/types.h > > #ifndef __timestruc_t_defined > #define __timestruc_t_defined > typedef struct timespec timestruc_t; > #endif /*__timestruc_t_defined*/ > > > check that the is included of course is a more natural choice