X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5F6673858436
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1675734914;
	bh=zjqUzLIA9oPH1XI7TVn66LRpjcgIcqRbZ8fmHNyKCpI=;
	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=RXQyDELcDEUEQG9FuyCJ6fiUqd4tLCtXpSITh9yoelu219qBB/dSOv+fWotCKHD5r
	 hIDjWZqTOx8/4rE5kYDaaqahpr1UEmCDZBlbTyG9wC7EhLkRSwlw2w0OVs7FGfqnws
	 OWzwHmuxHarcNJkw395myvzi/CLMUNMheTbhu63Y=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 432743858C33
Message-ID: <36f2d54f-8515-42fb-e64c-86e348b8e902@cs.umass.edu>
Date: Tue, 7 Feb 2023 12:54:33 +1100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
 Thunderbird/102.7.1
Subject: Re: [FEEDBACK] Issue with fd_set, FD_ZERO, FD_SET, FD_SETSIZE : Cygwin
Content-Language: en-US
To: Yeo Kai Wei <yeokaiwei@hotmail.com>, gs-cygwin.com@gluelogic.com
Cc: cygwin@cygwin.com
References: <PH0PR05MB991811F96A93962E56F6DCC0A4DA9@PH0PR05MB9918.namprd05.prod.outlook.com>
 <Y+FjUILtLFxXFVL5@xps13>
 <PH0PR05MB9918AF2713B83F72042577ACA4DA9@PH0PR05MB9918.namprd05.prod.outlook.com>
 <Y+FqT9AbejDHsg7h@xps13>
 <SA1PR05MB99072D6C9EAFB28AFFDD6D72A4DA9@SA1PR05MB9907.namprd05.prod.outlook.com>
 <bc6f7943-ec8a-ce2d-6bf7-41dbd94dbd4c@cs.umass.edu>
 <PH0PR05MB9918A104FC0C47D903BE0808A4DB9@PH0PR05MB9918.namprd05.prod.outlook.com>
In-Reply-To: <PH0PR05MB9918A104FC0C47D903BE0808A4DB9@PH0PR05MB9918.namprd05.prod.outlook.com>
X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, BODY_8BITS,
 JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Eliot Moss via Cygwin <cygwin@cygwin.com>
Reply-To: moss@cs.umass.edu
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3171tdLS016306

On 2/7/2023 11:34 AM, Yeo Kai Wei wrote:
> 
> 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.com@gluelogic.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?

What gcc are you running?  Maybe not cygwin's?

EM

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

