From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7367 invoked by alias); 19 Mar 2012 09:34:04 -0000 Received: (qmail 7240 invoked by uid 22791); 19 Mar 2012 09:34:03 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SARE_HEAD_8BIT_SPAM,SARE_SUB_ENC_UTF8 X-Spam-Check-By: sourceware.org Received: from mail-vx0-f171.google.com (HELO mail-vx0-f171.google.com) (209.85.220.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 19 Mar 2012 09:33:40 +0000 Received: by vcbfl15 with SMTP id fl15so8014643vcb.2 for ; Mon, 19 Mar 2012 02:33:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.155.71 with SMTP id r7mr2997394vcw.24.1332149619425; Mon, 19 Mar 2012 02:33:39 -0700 (PDT) Received: by 10.52.185.132 with HTTP; Mon, 19 Mar 2012 02:33:39 -0700 (PDT) In-Reply-To: References: Date: Mon, 19 Mar 2012 09:34:00 -0000 Message-ID: Subject: =?UTF-8?B?UmU6IEF0dGVtcHQgdG8gYnVpbGQgYXBsdXMtZnNmLeKAizQuMjIgKEVudW1UYWJsZeKAiw==?= =?UTF-8?B?KQ==?= From: Csaba Raduly To: cygwin@cygwin.com, tavmem@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-03/txt/msg00526.txt.bz2 Hi Tom, On Mon, Mar 19, 2012 at 1:29 AM, Tom Szczesny wrote: > In Gentoo Linux: > > aplus-fsf-4.22/src/cxsys/eponymous.c =A0 =A0 =A0contains =A0 =A0 =A0 =A0 = =A0 #include > > sys/ioctl.h =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0contains > =A0 =A0 =A0 =A0 #include > bits/ioctls.h =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0contains > =A0 =A0 =A0 =A0 #include > asm/ioctls.h =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 contains > =A0 =A0 =A0 #include > asm-generic/ioctls.h =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0has the > difinitions that are required. Which definitions are required? > > Since I can't change cygwin, my plan is to put a copy of > asm-generic/ioclts.h into the aplus source package. That's a bad idea. Those values are Linux-specific. Your program might compile, but is bound to fail at run time. If an ioctl macro is not defined on Cygwin, it's because the functionality is not implemented. In this case, sending a random number to the ioctl function is not going to magically make it work. asm-generic/ioctls.h contains #include Do you think that would work? Csaba --=20 GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torv= alds "People disagree with me. I just ignore them." -- Linus Torvalds -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple