delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/02/06/19:35:54

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CC7D43858430
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1675730100;
bh=omHb33wsChopJtL0CYZdUcfkjQGOBaKuNSvWZjCbTL4=;
h=Date:Subject:To:Cc:References:In-Reply-To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=TligOwbU+NTBejzTVs3cZqgJJlOcEBH+LMFWsj57tehhKIXvshuxFt/jvkkC87uhz
AE8zAh6JM6+GB2MYQLOAOUcXL+jTIcWVijmRv2m02Af+4nLzHLjrbKXuoZex8ya+7/
0R+xBgzFijm+e0X0dZGL5T25A4hw5WogRpXrx6PA=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8594C3858D1E
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=le4ICQF+3kgO9m7WS6H3GJgn6Rxa1dRiWvp0N1ph0rE5JafxlJNp6p8l5k6XFt0iyYUAmnOTyJe4c/gn0zFI17ncW8XWfq1spHeh/rVtpCVI9hmzLoAhWcJDs4bRXT/L7JjE6IE4u9t1g5tZ7bgYwao1nh77fOVRK8ZlRyrEaQzF1fBa0bAISS1KAz62Z16xy0YXP96ViqChuh0j+FHGoKN0Cjq+MM7nJt++iN8dqpNUmDZ3MoKT1wjMmzcZDjkgE7gPS7/7PTNooU4ueKTKyiB6OLA1Bul0A7eK9lu3TXLuNrZanB4tGbCSm2Svb2jEUNM00tBZrAMlFfHA1Mu3nA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
bh=9PAkvGQZGv9uxpZfGMjKlQfk83jNQJJ+HNajzkCGWRo=;
b=NO496ymhM7+AhM6ySDx5u8I9aOmFxfDGcVhgiqa+m3oqyQWBkoTPqtxuNOhxWQk2RkPsi6/cukUJnD8K3xMll2Q7tIZUdDnUkVMqzAU6ojJFteLBU/a97nM983D+dIHWmVx36RH4CN25F+B5T9Rw5IEZ2bx595LfFuBoDjXrlND8Rn4vKCAc01IOUYQ5UDSPBgv3PZ5+A6p+fYn78OUvtzAMrW3AudmpgtrCaTzs1yEt1pflQcdmYPtocqfWMdYIO2okhuBQwJPZfNTn2HBJc7OXNx6yfZeQnWhxP5uD0vLXZmFRAhyfdoEX0TlY96nnQDg1TpO488ARTlKXEbDPnA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
dkim=none; arc=none
Message-ID: <PH0PR05MB9918A104FC0C47D903BE0808A4DB9@PH0PR05MB9918.namprd05.prod.outlook.com>
Date: Tue, 7 Feb 2023 08:34:02 +0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Subject: Re: [FEEDBACK] Issue with fd_set, FD_ZERO, FD_SET, FD_SETSIZE : Cygwin
To: moss AT cs DOT umass DOT edu, gs-cygwin DOT com AT gluelogic DOT com
Cc: cygwin AT cygwin DOT com
References: <PH0PR05MB991811F96A93962E56F6DCC0A4DA9 AT PH0PR05MB9918 DOT namprd05 DOT prod DOT outlook DOT com>
<Y+FjUILtLFxXFVL5 AT xps13>
<PH0PR05MB9918AF2713B83F72042577ACA4DA9 AT PH0PR05MB9918 DOT namprd05 DOT prod DOT outlook DOT com>
<Y+FqT9AbejDHsg7h AT xps13>
<SA1PR05MB99072D6C9EAFB28AFFDD6D72A4DA9 AT SA1PR05MB9907 DOT namprd05 DOT prod DOT outlook DOT com>
<bc6f7943-ec8a-ce2d-6bf7-41dbd94dbd4c AT cs DOT umass DOT edu>
In-Reply-To: <bc6f7943-ec8a-ce2d-6bf7-41dbd94dbd4c@cs.umass.edu>
X-TMN: [2qYb+l9+Vct35Htz+m2WM3NzibQk4G9S]
X-ClientProxiedBy: SG2PR06CA0251.apcprd06.prod.outlook.com
(2603:1096:4:ac::35) To PH0PR05MB9918.namprd05.prod.outlook.com
(2603:10b6:510:299::5)
X-Microsoft-Original-Message-ID: <02722844-d5a0-7590-3067-23ef7c6594cb AT hotmail DOT com>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PH0PR05MB9918:EE_|SN7PR05MB7727:EE_
X-MS-Office365-Filtering-Correlation-Id: 99c788ed-d135-4438-59d4-08db08a306d0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: SkkoPnwZDuItlbq3tBVFnno+4wWCb98pQ3UYzTqWoB0SQrHWu11XsmOLI92xYEEyS76Veel5jgyVg0R+l0zjXXm3FZoxf3al5zY0aLKcfN/w8UTf+H5e+LdG5z9kRL58Wp9wmrmEloHXt2E6VZCw11OszEX6ZCL9ggYZb3Ms6N3QEIj8MHA2xYFK8eIuhclVJYC9BnXZPIUydu1jnmIx2JFOYjucx9P5fgPOBf65s8Zf/NbV8ISbRp2pnt1kPZecBC6JDbs8GOR4nP633u68+6h2X2vYW4UT7gpY5VT9wOaXL3xiSKAVmxI5n1yfIudh7UkPPS49V/EtNcA7N+fQNZCBPpHe4H8i+Ds3/llW9KSdoGoVlPEbNL/okTTEsi12hhkQrL9pxtCsBac9pWcped7d3gt9V8na07cVoF5Ussoolhy2H6vMh3rXetbcgz/busoQmpObxOf0UnFycyrR2v6Aq4P1O1KbZC6YiqDFM9SlJ8MB+TK1L1S0+poyxcBry0HaSI0iXQ9ZxlR/ijVu1OEKT4o8guE6+UJj+o26PmEWNmSPcezx+Tm/b4KLsbi1ERrxh185Am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Qbm9QT2w1cjhhb1M3VWxjendSdnFXR3Q5Qy9ITERqVW1zcTF3NkMwUWUz?=
=?utf-8?B?WWIxWEUydXhzNXNsQXYzcG5GcTNkSmRvVEpZK0xMN0JOV3RTMEd3a1J3PT0=?=
X-OriginatorOrg: sct-15-20-4823-7-msonline-outlook-84f76.templateTenant
X-MS-Exchange-CrossTenant-Network-Message-Id: 99c788ed-d135-4438-59d4-08db08a306d0
X-MS-Exchange-CrossTenant-AuthSource: PH0PR05MB9918.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2023 00:34:09.5221 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR05MB7727
X-Spam-Status: No, score=1.7 required=5.0 tests=BAYES_00, BODY_8BITS,
DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_MUA_MOZILLA,
FREEMAIL_FROM, NICE_REPLY_A, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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: Yeo Kai Wei via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Yeo Kai Wei <yeokaiwei AT hotmail DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3170ZORG030304

On 7/2/2023 7:27 am, Eliot Moss wrote:
> On 2/7/2023 10:03 AM, Yeo Kai Wei via Cygwin wrote:
>>
>> On 7/2/2023 4:59 am, gs-cygwin DOT com AT gluelogic DOT com wrote:
>>> On Tue, Feb 07, 2023 at 04:33:53AM +0800, Yeo Kai Wei wrote:
>
>> I updated Cygwin to 3.4.5-1.x86_64.
>>
>> $ uname -a
>> CYGWIN_NT-10.0-19045 DESKTOP-P3E71RB 3.4.5-1.x86_64 2023-01-19 19:09 
>> UTC x86_64 Cygwin
>>
>>
>> However, the same problem occurs.
>>
>> Cygwn-devel doesn't seem to work.
>>
>> $ gcc -o selectStdIn selectStdIn.c
>> selectStdIn.c:9:10: fatal error: sys/select.h: No such file or directory
>>   #include <sys/select.h>
>>            ^~~~~~~~~~~~~~
>> compilation terminated.
>
> Well, on my system cygcheck -f /usr/include/sys/select.h clearly says
> that the file came from cygwin-devel-3.4.3-1.  Maybe you misspelled
> cygwin-devel ?  You do have to select the package explicitly, too.
>
> EM


Hi Eliot,

I just reinstalled Cygwin but I'm unsure of what I missed.

I did "cygcheck -f /usr/include/sys/select.h" and it seems to tell me 
that I do have cygwin-devel-3.4.5-1

Did I miss a step?


$ gcc -o selectStdIn selectStdIn.c
selectStdIn.c:9:10: fatal error: sys/select.h: No such file or directory
  #include <sys/select.h>
           ^~~~~~~~~~~~~~
compilation terminated.

$ uname -a
CYGWIN_NT-10.0-19045 DESKTOP-P3E71RB 3.4.5-1.x86_64 2023-01-19 19:09 UTC 
x86_64 Cygwin

$ cygcheck -f /usr/include/sys/select.h
cygwin-devel-3.4.5-1


-- 
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