[kaffe] Cygwin & Compile Problem

Jiro KANAYAMA majiro@openje.org
Thu, 05 Sep 2002 12:15:54 +0900 (JST)


Hi Daniel,

try to
./configure --without-x

Of course you can't use the graphical user interface but you will be
able to build kaffe.

From: Jim Pick <jim@kaffe.org>
Subject: Re: [kaffe] Cygwin & Compile Problem
Date: 31 Aug 2002 23:11:38 -0700
Message-ID: <1030860699.7788.9.camel@pepper>

jim> I'm not sure exactly what is going wrong.  I do know the headers that
jim> kaffe seems to find varies from cygwin install to cygwin install.  It
jim> does compile on my system, but you will probably need to experiment with
jim> the ordering of the #include lines to figure out what's conflicting on
jim> your system.
jim> 
jim> If you do figure it out, please post your patch - then I'll try it here
jim> too.  It wasn't working for me on my system until I removed the winnt.h
jim> #include's - but I just figured that out via try-and-error, so I don't
jim> have a lot of confidence that I did the right thing for the general
jim> case.
jim> 
jim> Cheers,
jim> 
jim>  - jim
jim> 
jim> On Thu, 2002-08-29 at 18:43, Daniel Kasmeroglu wrote:
jim> > Hi there, I've just checked out the source for kaffe
jim> > and tried to compile it but it fails and I'm curious
jim> > about the cause:
jim> > 
jim> > /usr/include/w32api/winspool.h:239: two or more data types in declaration 
jim> > of `type name'
jim> > /usr/include/w32api/winspool.h:254: two or more data types in declaration 
jim> > of `type name'
jim> > /usr/include/w32api/winspool.h:275: two or more data types in declaration 
jim> > of `type name'
jim> > /usr/include/w32api/winspool.h:300: two or more data types in declaration 
jim> > of `type name'
jim> > /usr/include/w32api/winspool.h:446: two or more data types in declaration 
jim> > of `type name'
jim> > /usr/include/w32api/winspool.h:469: two or more data types in declaration 
jim> > of `type name'
jim> > 
jim> > The mentioned lines are always keeping a declaration
jim> > like this:
jim> > 
jim> > 	DWORD Status;
jim> > 
jim> > which always is a part of a compound type
jim> > definition. There's another member, too which
jim> > is named 'pStatus' but it's obvious that the
jim> > identifiers are only similar and not identical.
jim> > Is there anyone who has an idea what I'm doing
jim> > wrong.
jim> > 
jim> > Ciao
jim> > Kasimir aka Daniel Kasmeroglu
jim> > 
jim> > 
jim> > _______________________________________________
jim> > kaffe mailing list
jim> > kaffe@kaffe.org
jim> > http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
jim> 
jim> 
jim> 
jim> _______________________________________________
jim> kaffe mailing list
jim> kaffe@kaffe.org
jim> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
jim>