delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/05/15/03:55:27

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E9EE0389852E
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1621065324;
bh=i9+A7C6jGaVDecSBD9iahxEvCZH7lJ8feoJBA2AT7k0=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=Ih8esMvANctwCWeifuO6NzivAceL3iYtosOi0iQmKPBvGsRvR8Pk1XDv1vwdaLVj8
weevs8xmXFD8C7zCjV/qmgjgnUIeeO8a/UPtyxl4PF8S9Vx4t3xiFwx82uMSJb+CbI
wLph+bX3/lyQR6VIUPB2OlvhHfAz0PPYyObsdA40=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CFA033848407
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)
Subject: Re: cygport i686/x86 library build undefined type in sys/stat.h
To: cygwin AT cygwin DOT com
References: <08857c84-dbfe-8bf4-f7f8-40f64a3edda0 AT SystematicSw DOT ab DOT ca>
<3b055003-0f63-42d4-b196-fd59a0b682ae AT gmail DOT 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>
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 14F7tRdB024314

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 <threads.h> is included

of course <time.h> is a more natural choice

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019