This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Compile problem with Cygwin 1.5.5


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]