Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2002 17:21:00 +1030
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        suken woo <wsk@ns.gddsn.org.cn>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: make jdk131_p7_2 error
Message-ID:  <20021111172100.A83977@misty.eyesbeyond.com>
In-Reply-To: <3DCF418A.2090807@mail.gddsn.org.cn>; from wsk@ns.gddsn.org.cn on Mon, Nov 11, 2002 at 01:35:06PM %2B0800
References:  <3DCF418A.2090807@mail.gddsn.org.cn>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 11, 2002 at 01:35:06PM +0800, suken woo wrote:
> hi,all:
> get the follow error message while make jdk131 under BSD4.7R
>  
> ig4 -I/usr/X11R6/include -I../../oji-plugin/src/motif/badapter 
> -I../../../../src/share/javavm/export 
> -I../../../../src/solaris/javavm/export -I/usr/X11R6/include  -o 
> ../../tmp/bsd/i386/GetFactory.o 
> ../../oji-plugin/src/motif/common/GetFactory.cpp
> In file included from 
> ../../oji-plugin/include/solaris/navig4/oji/nsIJVMPlugin.h:34,
>                  from 
> ../../oji-plugin/src/motif/common/JavaPluginFactory.h:34,
>                  from ../../oji-plugin/src/motif/common/GetFactory.cpp:55:
> /usr/local/include/jni.h:17: gcj/libgcj-config.h: No such file or directory
  ^^^^^^^^^^^^^^^^^^^^^^^^

This is your problem.  You're getting the gcj version of jni.h when you
want the JDK version.  I can't see where -I/usr/local/include is in your
compilation line since you've cut the first part of it.  Anyway, you need
to modify the include flags so that the correct jni.h will get found first.

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


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?20021111172100.A83977>