X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B7FDF3858430 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1675727477; bh=x8Qf+khsoRtg6Q9hgp4je+mP+2W/3DKYMrHLnbimvLY=; 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=O8LtJHb7ysYNPPFlDkPGR0ESAyDyjYXVziUnuBTUBL4k8QVibjIXz95N44t51new+ Oig3c9WTV+xCHwN7Vl86Z/oe61f5SZbD22ZREM9j4WxV7mvnM2FVjgqIroPuIJmIYN h+MWPxGHWAwHWG4ooy7NM1YkDzresYh6DGCJlkEo= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1FB803858D1E Message-ID: <6c691d6c-3575-3c19-f0a1-b4095b7e22e6@cs.umass.edu> Date: Tue, 7 Feb 2023 10:50:36 +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 , gs-cygwin DOT com AT gluelogic DOT com Cc: cygwin AT cygwin DOT com References: In-Reply-To: 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 AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Eliot Moss via Cygwin Reply-To: moss AT cs DOT umass DOT edu Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 316NpfcN020920 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 >>>            ^~~~~~~~~~~~~~ >>> 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 -- 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