From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) by sourceware.org (Postfix) with ESMTPS id C941B3858D1E for ; Mon, 30 Jan 2023 07:09:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C941B3858D1E Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=m.gmane-mx.org Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pMOI1-000179-F3 for cygwin@cygwin.com; Mon, 30 Jan 2023 08:09:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin@cygwin.com From: Franz Fehringer Subject: Re: ioperm / iopl / pciutils Date: Mon, 30 Jan 2023 08:09:12 +0100 Message-ID: References: <102fe367-2f87-2b73-33e4-5633499f2a3a@cs.umass.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 In-Reply-To: <102fe367-2f87-2b73-33e4-5633499f2a3a@cs.umass.edu> X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FORGED_MUA_MOZILLA,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,NICE_REPLY_A,NML_ADSP_CUSTOM_MED,SPF_HELO_NONE,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 List-Id: Am 30.01.2023 um 03:35 schrieb Eliot Moss via Cygwin: > On 1/30/2023 4:22 AM, Franz Fehringer via Cygwin wrote: >> Hi all, >> >> Is there any Cygwin package providing the iopl et al. routines? >> Google uncovers an ioperm package but that seems to be nothing current. >> My goal is to compile https://github.com/pciutils/pciutils with Cygwin. > > The package claims to be available under CYGWIN [sic]. > > What issue(s) are you having? > > Eliot Moss > In trying to compile pciutils (the lib part) (on Cygwin) the #include cannot be fulfilled with Cygwin. #include would work but this header does not contain the definitions (or declarations) needed. And this means iopl and Co. There are other obstacles, but this is the biggest one.