JDK 1.5.0 patchset 6 "Tigris"

Greg Lewis glewis at eyesbeyond.com
Sun Jul 29 21:15:03 UTC 2007


On Mon, Jul 30, 2007 at 02:07:54AM +0800, Xin LI wrote:
> Jiawei Ye wrote:
> [...]
> >>>Stop in /usr/ports/java/jdk15.
> >>Do you have sysutils/devcpu installed ?
> >>
> >>
> >I get the same error, and yes I have devcpu installed. But why would
> >it be relevant to the make job?
> 
> A "me too" but I did not have devcpu installed, JFYI.

The package isn't relevant, but I bet you have a /usr/local/include/cpu.h.

If you look at the compile line for the original poster, there is a
-I/usr/local/include before the -I../../../src/share/native/sun/font/t2k
(which is where the cpu.h the compile is looking for lives).  This is
the header that defines fastInt, so the compile dies without that
definition.

The fix will be to reorder the include directories so that
-I/usr/local/include is last (if anyone wants to try and patch it
before I get a chance).

-- 
Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org


More information about the freebsd-java mailing list