From owner-freebsd-java Mon Nov 11 9:15:46 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 EF07237B401 for ; Mon, 11 Nov 2002 09:15:44 -0800 (PST) Received: from plato.webprogrammers.net (plato.webprogrammers.net [204.221.75.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47B1343E75 for ; Mon, 11 Nov 2002 09:15:44 -0800 (PST) (envelope-from jstepka@webprogrammers.net) Received: from jstepkalaptop (heimdal.imaginet.com [206.146.4.1]) by plato.webprogrammers.net (8.12.6/8.12.6) with SMTP id gABHHqn3052456; Mon, 11 Nov 2002 11:17:53 -0600 (CST) (envelope-from jstepka@webprogrammers.net) Message-ID: <00ac01c289a5$e4ccc770$ed0310ac@mpls.imaginet.corp> From: "Justen Stepka" To: "Greg Lewis" , "suken woo" Cc: References: <3DCF418A.2090807@mail.gddsn.org.cn> <20021111172100.A83977@misty.eyesbeyond.com> Subject: Re: make jdk131_p7_2 error Date: Mon, 11 Nov 2002 11:15:05 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 Is there any way this type of problem could be avoided by having the port more updated/strict? Justen Stepka ----- Original Message ----- From: "Greg Lewis" To: "suken woo" Cc: Sent: Monday, November 11, 2002 12:51 AM Subject: Re: make jdk131_p7_2 error > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message