Installation problem on Win95
David Smith
dsmith at xxx.se
Thu Jun 4 13:43:01 PDT 1998
A little late, but still... I just got the same problem myself
so here is my guess at the cause. (The already supplied patch
still solves the problem, but it would be nice to know why
there is a problem in the first place.)
The problem is probably because gcc in Cygwin32 doesn't differ
between upper and lower case in filenames (which messes up the
compilation on some other places too). In Double.c, <math.h>
is included before "../../../classMethod.h", only it's not the
standard math.h that is included but Math.h. And Math.h includes
native.h which defines Hjava_lang_Class.
wowow wrote:
>
> Hi,
> I'm trying to install kaffe on win95 system.
>
> I have done the following:
> -install B19 Cygnus's tools for windows
> -./configure --prefix=c:/kaffe --host=i386/cygnus
>
> then,
> After I typed "make" , the following happened:
>
> BASH.EXE-2.01$ make
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> gcc -g -O2 -I. -I../../../include -I./../../../include -I../../../config
> -I./..
> ./../config -c Double.c -o Double.o
> In file included from Double.c:15:
> ./../../kaffe/kaffevm/classMethod.h:89: redefinition of
> `Hjava_lang_Class'
> ./../../include/native.h:38: `Hjava_lang_Class' previously declared
> here
> make[3]: *** [Double.o] Error 1
> make[2]: *** [all] Error 1
> make[1]: *** [all] Error 2
> make: *** [all] Error 1
> BASH.EXE-2.01$
>
> What should I do to solve the problem?
> thanx.
--
David Smith (to reply, replace xxx with algonet)
More information about the kaffe
mailing list