delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/02/07/00:23:01

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 475C43858404
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1675747327;
bh=QU4dJfA2Ys4Q5NrQd9Idut5KdKRpaQZnGRT+Ut6gkME=;
h=To:CC:Subject:Date:References:In-Reply-To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=QPTSFCPvDDWU/rIuCl9v0a+F/zY2wX8Y8YheM2cYWrFQK9s+zPMOcw317cp++vpgA
qYVec/82VnOJUAwxJZB+ot02PfpBziDWEHaQPsyCm9XiPdhlI24APz7tQEmwt/UJbO
OHabgLvDzd++YAvfNRYZ6oY9Cu+uzsm1KzWsmb/A=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 895AD3858D33
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=AAnEzpSQb3VJhYPL8CwPkKViOspGH4fdjkG9vMiG7ZkDZIDsT3b/iDsQhtjC3inzJLg/ZduHPM+b/nEFRyLsux7/gd8K5wms4ShTS3I3G2VkF6YXHZSNATEHMxoeXycSIWUNwYVadnM9c3DUvhWylNrWUFUFNx58XdSeIAFbTSFwDlhQNzA2bvUZ2KXdZdnd6p8hjW5+QeuyE/T3oIfuH+mDyH8QXJ6swhc4SRcswvPCHeRDa/S3+7eMyEpL/tucn1iIQV2ecgXY/I3Ix/r05cZNn1PjXaNIMrfaGg688PEuTAT/HsmUg+qsdHWFzl7cwbf8Yn9vgrwyNYRcJjz5tg==
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=7ztDo0BiPCsxruNLIyQvESJdj93IfkDqu7Ny1edGZ2k=;
b=bM6PzVAVPcXqjtyV3KjIvV1nrbO1HnLrey/6918TZgiHacz8jXwY5Az+JxQJZifhFLBbcUTQx3IdsaltqlFPAY9sR+8iWKUpDFc0f1Uc9OKFPENu3uesqvL4HZ6HLuhTECEbv7j7lIWSnIHKXOpeJPq7kzsFRR7f0s5KFSbPBUzbBknFTDqHGrsH6GKMWyHDXXVh8tpvm/bNuOIsHZW2FhQ3VqbsZjQqZNtpKyJxgy5YH0/CmFqV4BOAhaKN0lBy0Mt3I8D8/url1lbrs558KXs7ktN2Kz8afSvooUQ9d3X6j8veoRi7TOOqJhu0ykmulNk7sFwp8JjrOsrsMfTh+A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
dkim=none; arc=none
To: "moss AT cs DOT umass DOT edu" <moss AT cs DOT umass DOT edu>,
"gs-cygwin DOT com AT gluelogic DOT com"
<gs-cygwin DOT com AT gluelogic DOT com>
CC: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: [FEEDBACK] Issue with fd_set, FD_ZERO, FD_SET, FD_SETSIZE : Cygwin
Thread-Topic: [FEEDBACK] Issue with fd_set, FD_ZERO, FD_SET, FD_SETSIZE :
Cygwin
Thread-Index: AQHZOmkmLKnjOlu8ak6TFY94S3t3na7CXsgAgAABDYCAAAdKgIAAInuAgAAGmwCAABK5AIAAFn+AgAArDwCAAAT+AIAAB1HD
Date: Tue, 7 Feb 2023 05:21:23 +0000
Message-ID: <SA1PR05MB9907BD8A437F581A1ED7DE3DA4DB9@SA1PR05MB9907.namprd05.prod.outlook.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>
<PH0PR05MB9918A104FC0C47D903BE0808A4DB9 AT PH0PR05MB9918 DOT namprd05 DOT prod DOT outlook DOT com>
<36f2d54f-8515-42fb-e64c-86e348b8e902 AT cs DOT umass DOT edu>
<SA1PR05MB9907D0E15F222D4D73A96F88A4DB9 AT SA1PR05MB9907 DOT namprd05 DOT prod DOT outlook DOT com>
<72efd3b6-e7ab-d45d-d153-4fe410e2d7ab AT cs DOT umass DOT edu>
In-Reply-To: <72efd3b6-e7ab-d45d-d153-4fe410e2d7ab@cs.umass.edu>
Accept-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [1udrZV/QlMSBdALDxsQcA+nSchgIahKi]
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: SA1PR05MB9907:EE_|SN6PR05MB4366:EE_
x-ms-office365-filtering-correlation-id: 0e97c1b5-2478-4dba-8e30-08db08cb2756
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: xPxMRGHZHu1FiL1lTdj/euIh+3By+yckuEbzXqyT54SyKpQZYrfjiekCetyozBOBvnkLDccITfgWUN8We9WnXZZPl48WZ4bHbbsDzZhoiSSkQ1LCBnKfrHNV1SyKrXLJz5TKqCbNAacUBuTxsLu11aEgUDyQErb4B5sci1tff49Auqt2lfCLsMxCCHYPzB/JX6rBd6T2HsLAIapAweArGU9PEltt7ci1/Gzxu0cSw/eM1glM9FxchvqnFKsvccNWaxpfIh7IgmQlyx07gr2+FQ3gt+0SmgK6YZeiuYj98Rw/A+yvzpNNTIvOeAEHoQlCzNOvl73S4AfW/vlRDyt+oVrK6fqKpGQJ/+CoUYMTFNB3p/8/2Q+ykZkwacu4tUB6EltMNkrxjbC+orxMrUi/9vpnQ0dIAG38Go4o6loJVpBFkTGvNn9++6UfvpUorKy5BWmjAsXvfzHMHfrkHLsPQAXCfv7JQozFvi+EVRGGlr4xysg84yrjFcfdNqJxZ2gmnTiRTjy/S3lezGN1HYor7jum/gipPvGlvU86ipnFKuRepfnBstW9Xp67WrB+Z/Rrmpm3y4tCS+tF/6SzU1mFzlArERlvr+eI4BunF+EoxmKlKTZvn6G8NsT4ZJcr7tN54ahO4sv0ERn5OteyPjdgVQ==
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?KQ/ln7ZoN+BENSUtO51eNQ4wL7GgNdISYgTov1S04feaBH9uNJakMXNiyu42?=
=?us-ascii?Q?fBn+kCampwdVey+5D6nGr54+g9pMoJiB+HNrdPovLS3cpn94fRbaykgsS3qy?=
=?us-ascii?Q?Gcu7vTEWHT8Wh2bOKz0vbWYCE62NVoXxmIwbGf5xY5D6jHuFA3HXwUZ5p23b?=
=?us-ascii?Q?TTecVJqpR7aC6TTTfxUclp/bkIQSulxjDSby8DCq5oSsj5hKo1q7edlLpw+K?=
=?us-ascii?Q?UbzU2SEv5vKm4cBUJQvBc5T9CS1Dq0xcKRduWPy6CfLvodE8/6auJpcNHHjK?=
=?us-ascii?Q?iv6lZwVGGi34gWnk16A7goEEOiJtcSljWD0i9XzupXh7O1WulvLIGDuWlh69?=
=?us-ascii?Q?PI9dgwr4q8kLU+2NglSQqrQlud5pxVsJId6zlAd58wu75Thf4Fg7YX47mnF5?=
=?us-ascii?Q?KU51Xi9jMDPAfqCIrc0tfjF6hTpfuN//eSkU2SDF0pfNgTpbo4sGWF+ykNLH?=
=?us-ascii?Q?s7mCajuyye83idEiR2MF9HU/437hApUstbjLebaEp1+YzGzzPcZYcHfdH5dR?=
=?us-ascii?Q?JG9a1D+YxFkvPaaAEIhYPrSqCyzz8SUvqpTz/29G/JB7KrJYIEEWnwluQf26?=
=?us-ascii?Q?frmXDnl8bKPofe676clcJXRkDXVrVLttNsTVmEcLtnODkvobkx8mY4herCRY?=
=?us-ascii?Q?GUemRkm9N9LmzfMKSU9XpfVpN2OFqlYHCGmDAIpPn3aRfkRqsqwwTaCZXGbt?=
=?us-ascii?Q?WCcrO7XrEXj+u+VHkOcD6yz2RNxmQALQtcokLhLbkvHT5d8DfvcN5iezLDfd?=
=?us-ascii?Q?Z+hYRVESpNlSFrhFeH6O79gNp+7qaTNRPWCQZh8swBaJPZsemzq+VM43pZDk?=
=?us-ascii?Q?PnXen7ad25flF2HMMXLfnY6wVwM/baa2+Q9Cfu+MSgTeNmuibpATmWC2tZXg?=
=?us-ascii?Q?+fbcK+cCXZoFB2p7ZcEh11uYwOHCP+/OTvxTAT8/kv9b9MSRmF5cz4zHqCoE?=
=?us-ascii?Q?cBsYs1UU4qjF3WErBvxtGkKpeDqPkBQRG3xxnMnvTGYoWxXL8Ckz8wHagnGf?=
=?us-ascii?Q?JZqcLLM6PqxQD+sjZ5bN3qSAIzPPOBtG1CTFOlltH/2/3H0rV7Dox6t3usp/?=
=?us-ascii?Q?bTvBB8XNZr/t5mjBbtrmtooInnOSU+dfw/zFhHlHCgWEuSfZtmiA20Jx2eL5?=
=?us-ascii?Q?o2zObkVcJOvnsWZAXXYno+YUrUV17NSfM4jZTHfM3+WunCImCWGWpPTBSRZq?=
=?us-ascii?Q?m8YIM86bE8h23/V36jzo4MuOsqwhgagIixx4V0FWuAdkUIw3EAJCqICTF8Rf?=
=?us-ascii?Q?K7FBGHoeJK9kl6jAlfPygDt7RhPr677bc1JgUwYKXZ1XTThUt7f0KdPXVAMY?=
=?us-ascii?Q?2lk=3D?=
MIME-Version: 1.0
X-OriginatorOrg: sct-15-20-4823-7-msonline-outlook-84f76.templateTenant
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SA1PR05MB9907.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: 0e97c1b5-2478-4dba-8e30-08db08cb2756
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Feb 2023 05:21:23.4268 (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: SN6PR05MB4366
X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
SPF_HELO_PASS, 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-Content-Filtered-By: Mailman/MimeDel 2.1.29
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>

Hi Eliot,

Thanks for the help.

No pressure.

I only want help from those who are willing to help.

Those who are NOT interested may kindly ignore my messages.

There is no obligation at all.

The issues I highlighted have been a recurring problem on Google.

So, there is a recurring pattern emerging and perhaps this thread could solve it once and for all.

As for what I am using it for, I am trying to complete a book called Modern C.

I wish to finish it.

Thank you.

Kind Regards,
YEO Kai Wei



________________________________
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Sent: Tuesday, February 7, 2023 12:46:32 PM
To: Yeo Kai Wei <yeokaiwei AT hotmail DOT com>; gs-cygwin DOT com AT gluelogic DOT com <gs-cygwin DOT com AT gluelogic DOT com>
Cc: cygwin AT cygwin DOT com <cygwin AT cygwin DOT com>
Subject: Re: [FEEDBACK] Issue with fd_set, FD_ZERO, FD_SET, FD_SETSIZE : Cygwin

On 2/7/2023 3:28 PM, Yeo Kai Wei wrote:
>
> On 7/2/2023 9:54 am, Eliot Moss wrote:
>> 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 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?
>>
>> What gcc are you running?  Maybe not cygwin's?
>>
>> EM
>
>
> Hi Eliot,
>
> I think I'm running MinGW's gcc.
>
> I typed in "gcc --version" and this is what Cygwin returned.
>
> $ gcc --version
> gcc.exe (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0
> Copyright (C) 2018 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> What should I do next?

Install the relevant gcc and program building packages.
But I think you're reaching the limit of the handholding
the community may be prepared to offer ...

Also, you never said what you're *really* trying to
accomplish.

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

- Raw text -


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