From owner-freebsd-java Sun Nov 10 22:53: 1 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E49637B401 for ; Sun, 10 Nov 2002 22:53:00 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 811D443E3B for ; Sun, 10 Nov 2002 22:52:59 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 18B8Qe-0003LD-02 for freebsd-java@freebsd.org; Sun, 10 Nov 2002 23:52:12 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 18B8Pd-0002zz-02; Sun, 10 Nov 2002 23:51:10 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id gAB6p0R90401; Mon, 11 Nov 2002 17:21:01 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 11 Nov 2002 17:21:00 +1030 From: Greg Lewis To: suken woo Cc: freebsd-java@FreeBSD.ORG Subject: Re: make jdk131_p7_2 error Message-ID: <20021111172100.A83977@misty.eyesbeyond.com> References: <3DCF418A.2090807@mail.gddsn.org.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3DCF418A.2090807@mail.gddsn.org.cn>; from wsk@ns.gddsn.org.cn on Mon, Nov 11, 2002 at 01:35:06PM +0800 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_02_03,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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