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

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2B83C3858D35
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1675727682;
bh=+7qFPN62OJgDXk9zSgI8b/fn/aAXBJvTJ+9fnDGEBYs=;
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=o3to03pOKzTc1yJQGqrA6sknCZtCbcyZ4/JQeb11tnmMDq2CKQqYYUfUBtutgZ2v9
TYBSvz1wbWOv7nszX44Tz6rV1bnlekSPwbVSPRWQFoNh27GusxLY/HLOM76tf2D7rj
RrzKdNtx7yWphpTtWMhY50Vb5GSUJGGoH2SJfiQA=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4827A3858D1E
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=ClM0zWgdLQGzmtB+M6uPva37sYDmOvkW5Y2ZwzOAFEpOlkxBIPlJkq2yAn6B0YYbSXb4pnbn7f5odzxB3WF4KOJU3RNgLWPBEfmOfkqQt91nUfJf0Kassc9slWcuJ1ztSbCiF+MgUAqsbBDP/B0raNWEvqkXGczxVCdy6ikJAsCIEyYSFCM77E+Eac+Y6MSSWl6RxTQdzi+aDc8gDsplHXMeVeiTSsouWOJ/lQy/PvBDpHhNoR4J0nZ1GqADrsJuGQ7N2mUSx9XoUSOfINDjegH8xoOmdswMv+mWhcLRMy4dQmXqhs4dnNY0UCHM7Ox1rMoNDsD5vQ8sYLEHQMrefA==
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=f4TrlBrwTJiJTN16qAZB9lYX8J8a3+XqjI4cEFcHNhI=;
b=WCIGu1Vzedp13o4ha2gI3YcBCjxocxeXUpv3Vfq2UBJVdVh6SyHzq8ItIxp4kM50Fl1/fjRlukurW+K6McyqpvLepe41FWJT3MSsctDqorGignSj/KxvHPFE7+Mji1y5b936qqIM4arurBaWh8pMsOf75e1ax0CPBcCMUsd/EEhD3UM0T3JEmoMY13OsdyN8iJgFWq2tVqm/KgDtrKxyAhdZP4nxsyxPyTF9G4sDfP5Zb5U/HZAUWG6qu8MzM2LRCipADlfjWMzPZiBfnGeVtEvCvbmIaMO/bXIrNhADs1AXd3JAeqHf9vsg4X9Z4Bl3VET2btjDEYMXEOW+GWTE/A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
dkim=none; arc=none
Message-ID: <PH0PR05MB9918F853A766A1627F4B1CADA4DA9@PH0PR05MB9918.namprd05.prod.outlook.com>
Date: Tue, 7 Feb 2023 07:53:54 +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>
<PH0PR05MB99184F9A10964601FD5DD83EA4DA9 AT PH0PR05MB9918 DOT namprd05 DOT prod DOT outlook DOT com>
<6c691d6c-3575-3c19-f0a1-b4095b7e22e6 AT cs DOT umass DOT edu>
In-Reply-To: <6c691d6c-3575-3c19-f0a1-b4095b7e22e6@cs.umass.edu>
X-TMN: [jXCYhnY1S8QEBIN7bKW+feu2dcGHDlUG]
X-ClientProxiedBy: SG2PR02CA0104.apcprd02.prod.outlook.com
(2603:1096:4:92::20) To PH0PR05MB9918.namprd05.prod.outlook.com
(2603:10b6:510:299::5)
X-Microsoft-Original-Message-ID: <cd4fd5d0-1667-d8c3-a0b3-6c66eb351d57 AT hotmail DOT com>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PH0PR05MB9918:EE_|DM6PR05MB6331:EE_
X-MS-Office365-Filtering-Correlation-Id: 6a66116c-1f31-4ff2-85ee-08db089d6b2b
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: eiFMEyxwQwPG8hNjqjtBb5tAfZSrb3owiZ6zTcMXLDevyr9ESp5EuRqZo0emi6A6s12LUYx2YTG9DBM8tue/5fSRhhP0cCNz/Wt8fsAvYdfEYQQzJvzxqGwBJruu3IsC5lN2uO6gn9bXELBB8fFeKazFHKU+G+0GKIPt5/GfjiHkho9N4nz/XOnL9Zf5DV2tDG83bRR7VBNANJ6Cz+q91U96iC+3QfgAHk4TktsjN7bFPCSqN1GP86h9K0z32uIiot5VgrXW1MclXzCfK8YoMFXmPXtoXiHF9pXLJvQOW94Evhnbobv3FxWOeD8WTyV7/14aP4m+ic5vkwH8BQwusWR5mErjJVRsUWyuCTCRuyVkmFy+juDetdItxLXl+bfnZ0MAp3sEJ0G3SSvtElKIMJbpnW8BrQqBd14v/KFvw8TagNdQlvgMy74sfsOMReZbo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pkQ2ZLRzA5Wmh3SG9FOGJaRVppekRyZWpxeEZ3Qisw?=
=?utf-8?B?YUNNK0ZQdHJjNDQzMnpPSnZMRDZFeVFWdk1BTlNIcmxzeDdzQjVPeTlMRG9i?=
=?utf-8?B?OFJBVnZFdXRlVkxLSW4vUk4zMkIwdnVNRHJkd085UlJQOGllNkRmdzA2NkhJ?=
=?utf-8?B?YlZJeWU1WmxIS3pEREp4bHRQV0Y1a0s3dDA5b2Y4dVU2VHJEZVc4RTRRPT0=?=
X-OriginatorOrg: sct-15-20-4823-7-msonline-outlook-84f76.templateTenant
X-MS-Exchange-CrossTenant-Network-Message-Id: 6a66116c-1f31-4ff2-85ee-08db089d6b2b
X-MS-Exchange-CrossTenant-AuthSource: PH0PR05MB9918.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Feb 2023 23:54:00.8971 (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: DM6PR05MB6331
X-Spam-Status: No, score=1.5 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-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>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 316Nt4dM021623

On 7/2/2023 7:50 am, Eliot Moss wrote:
> On 2/7/2023 10:48 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 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,
>>
>> Thanks for the help.
>>
>> There's probably some error somewhere.
>>
>> I'll just uninstall the whole thing and reinstall from scratch.
>
> Well, sometimes that's best, but between the other responses and mine,
> I suspect you're not actually selecting and downloading cygwin-devel.
>
> It could be problematic if you've installed cygwin in more than one
> place, perhaps without realizing it ...  Pay attention to what the
> cygwin root directory is for your installation :-) ...
>
> Best - EM

Hi Eliot,

I think I made that mistake.

I installed to C:\cygwin but I updated to C:\Desktop.

To prevent any issues, I'll just reinstall from scratch.

Another reason is that extracting the file.tar.xz files results in some 
administrator right issues.

So, I'll just make sure it's a clean install, no merge errors or missing 
files.



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