From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1991 invoked by alias); 1 Oct 2003 19:30:38 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 1955 invoked from network); 1 Oct 2003 19:30:36 -0000 Received: from unknown (HELO primary.qualstar.com) (216.101.63.2) by sources.redhat.com with SMTP; 1 Oct 2003 19:30:36 -0000 Received: by primary with Internet Mail Service (5.5.2650.21) id ; Wed, 1 Oct 2003 12:30:36 -0700 Message-ID: From: "Steve L. Zook" To: "'insight@sources.redhat.com'" Subject: Compile problem with Cygwin 1.5.5 Date: Wed, 01 Oct 2003 19:30:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-SW-Source: 2003-q4/txt/msg00003.txt.bz2 Hi, I have previously had no problems compiling, installing, using the source in "insight+dejagnu-20030925.tar.bz2" with Cygwin 1.3.22. Recently it was necessary to install Cygwin on the same computer with Cygwin 1.5.5. On that release, the compilation errors out when compiling insight+dejagnu-20030925/tcl/generic/tclCmdAH.c on line 806. It appears that /usr/include/w32api/ddk/winddk.h (which is included through some round about way) has a #define FILE_EXISTS which is colliding with the enum options member FILE_EXISTS. I was able to correct the problem and get a good compile by replacing the FILE_EXISTS on line 806 and line 901 with FILE_EXISTS__. Curiously, the same file and #define exist on a different computer with Cygwin 1.3.22 (which also compiles without problem) but is obviously not being included (or the #define are not being compiled). I have not been able to discover why the two systems differ in the inclusion (or consequences) of the file. The OS on both systems is Windows 2000 professional SP4. My build procedure is: mkdir /tmp/m68k-elf/insight cd /tmp/m68k-elf/insight /usr/local/src/insight+dejagnu-20030925/configure --target=m68k-elf --prefix=/usr/local make I have also tried insight+dejagnu-20031001.tar.bz2 without difference in outcome.