delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
From: | "Ronald Landheer-Cieslak" <info AT rlsystems DOT net> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Wring winioctl.h used in compiling cygwin1.dll from CVS sources |
Date: | Sat, 16 Nov 2002 18:36:07 +0100 |
Message-ID: | <NFBBLOMHALONCDMPGBLFKEOPECAA.info@rlsystems.net> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
Importance: | Normal |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id gAGHed911711 |
Hello y'all, I was just trying to compile the Cygwin DLL, but couln'd because the winioctl.h from w32api was never included (using CVS sources): the one actually includes was the one of my Cygwin installation. This is the command-line used for the file that didn't compile because one of the defines was missing: c++ -L/home/RonaldLandheer/cygwin/build/i686-pc-cygwin/winsup \ -L/home/RonaldLandheer/cygwin/build/i686-pc-cygwin/winsup/cygwin \ -L/home/RonaldLandheer/cygwin/build/i686-pc-cygwin/winsup/w32api/lib \ -isystem /home/RonaldLandheer/cygwin/src/winsup/include -isystem \ /home/RonaldLandheer/cygwin/src/winsup/cygwin/include -isystem \ /home/RonaldLandheer/cygwin/src/winsup/w32api/include -isystem \ /home/RonaldLandheer/cygwin/src/newlib/libc/sys/cygwin -isystem \ /home/RonaldLandheer/cygwin/src/newlib/libc/sys/cygwin32 \ -B/home/RonaldLandheer/cygwin/build/i686-pc-cygwin/newlib/ -isystem \ /home/RonaldLandheer/cygwin/build/i686-pc-cygwin/newlib/targ-include \ -isystem /home/RonaldLandheer/cygwin/src/newlib/libc/include -c \ -nostdinc++ -nostdinc -DHAVE_CONFIG_H -g -O2 -Wall -Wwrite-strings \ -fno-common -pipe -Winline -fbuiltin -I. \ -I/home/RonaldLandheer/cygwin/src/winsup/cygwin \ -I/home/RonaldLandheer/cygwin/src/newlib/libc/sys/cygwin/include \ -I../../../../src/winsup/cygwin/config/i386 \ -I/usr/lib/gcc-lib/i686-pc-cygwin/3.2//include -fno-rtti \ -fno-exceptions -o ./fhandler_floppy.o \ ../../../../src/winsup/cygwin/fhandler_floppy.cc Adding ``-I/home/RonaldLandheer/cygwin/src/winsup/w32api/include'' helps in as much that it results in a valid object file, but a warning as well (because I left the ``-isystem /home/RonaldLandheer/cygwin/src/winsup/w32api/include'' in there I have no idea how to work with all the Makefile.in files in the source tree, so I can't give you an easy patch to apply. However, I can tell you that I verified that the file was not included, as I put an ``#error Hello, world!'' at the beginning of it, and didn't get that as an error when trying to compile without modifying anything.. Hope it helps! Ronald -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |