Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Dec 2000 08:07:38 +1030 (CST)
From:      Greg Lewis <glewis@trc.adelaide.edu.au>
To:        Zsolt Kuti <kuti@kuti.cetelem.hu>
Cc:        freebsd-java@freebsd.org
Subject:   Re: OpenJIT, scene II
Message-ID:  <200012152137.IAA12859@ares.trc.adelaide.edu.au>
In-Reply-To: <200012151152.MAA00847@kuti.cetelem.hu> from Zsolt Kuti at "Dec 15, 2000 12:52:31 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Zsolt Kuti wrote:
> Hello!
> 
> The hints helped somewhat. I updated my jdk1.2.2/lib/tools.jar with a FreeBSD_i386.properties (empty) file from the work/src/share/classes/com/sun/tools/javah/resources. Then OpenJIT gmake continued, now producing an error expected. I had the files in CClassHeaders and changed according to the guide (line 178 in 1.1.15).
> But now other problem occurs:
> 
> gmake ./libOpenJIT_g.so VARIANT=DBG
> gmake[1]: Entering directory `/usr/home/kuti/OpenJIT-1.1.15'
> gcc -g -Wall  -Wno-unknown-pragmas  -DDEBUG -DJCOV -DHAVE_ALIGNED_DOUBLES -DHAVE_ALIGNED_LONGLONGS -I/usr/local/jdk1.2.2/include-old -I/usr/local/jdk1.2.2/include-old/freebsd -I./CClassHeaders -DARCH=\"X86\" -DJDK_VERSION_STRING=\"1.2.2\"    -c -o obj_g/api.o api.c
> In file included from /usr/local/jdk1.2.2/include-old/oobj.h:25,
>                  from OpenJIT.h:56,
>                  from api.c:52:
> /usr/local/jdk1.2.2/include-old/typedefs.h:18: typedefs_md.h: No such file or directory
> In file included from /usr/local/jdk1.2.2/include-old/oobj.h:29,
>                  from OpenJIT.h:56,
>                  from api.c:52:
> /usr/local/jdk1.2.2/include-old/util.h:20: miscdefs_md.h: No such file or directory
> In file included from /usr/local/jdk1.2.2/include-old/interpreter.h:24,
>                  from OpenJIT.h:57,
> [..cut..]
> /usr/local/jdk1.2.2/include-old/typecodes.h:15: miscdefs_md.h: No such file or directory
> In file included from OpenJIT.h:63,
>                  from api.c:52:
> /usr/local/jdk1.2.2/include-old/jmath.h:24: jmath_md.h: No such file or directory
> gmake[1]: *** [obj_g/api.o] Error 1
> gmake[1]: Leaving directory `/usr/home/kuti/OpenJIT-1.1.15'
> gmake: *** [debug] Error 2
> 
> So, header files in include-old refers in some cases to non-existent ones.
> Any idea how to proceed?

Your JDK installation is really broken.  All these files are in
/usr/local/jdk1.2.2/include-old/freebsd, which is being correctly listed
in the compilation line.

Which version of FreeBSD do you have?  I'm sorry if you mentioned this
earlier, but I can't recall what it was.  This is all too weird.

					- Greg


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012152137.IAA12859>