From owner-freebsd-java Mon Nov 11 11:22:14 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 9936037B401 for ; Mon, 11 Nov 2002 11:22:12 -0800 (PST) Received: from adsl-64-173-196-78.dsl.renocs.nvbell.net (adsl-64-173-196-78.dsl.renocs.nvbell.net [64.173.196.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id D267443E4A for ; Mon, 11 Nov 2002 11:22:06 -0800 (PST) (envelope-from spaul@wellserv.com) Received: from vaio.wellserv.com ([172.16.42.130]) by sinister.nvbell.net with Microsoft SMTPSVC(5.0.2195.5329); Mon, 11 Nov 2002 11:04:51 -0800 To: freebsd-java@freebsd.org Subject: Re: make jdk131_p7_2 error References: <3DCF418A.2090807@mail.gddsn.org.cn> <20021111172100.A83977@misty.eyesbeyond.com> From: "Paul F. Wells" In-Reply-To: <20021111172100.A83977@misty.eyesbeyond.com> Date: 11 Nov 2002 11:04:47 -0800 Message-ID: Lines: 51 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Military Intelligence (RC5 Windows)) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 11 Nov 2002 19:04:51.0085 (UTC) FILETIME=[362DC3D0:01C289B5] 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 Greg Lewis writes: > 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. > Does this help any? All I've done is downloaded the .bin and started the build..... g++ -Wall -Wno-unused -Wconversion -c -I/usr/local/include -O -D_GNU_SOURCE -DXP_UNIX -DVERSION="\ \"1.3.1-p7-root-021111-10:43\"" -DDATE="\"Nov-11-2002\"" -DARCH="\"i386\"" -DRAPTOR_API -DNEW_STREA\ MING_API -I../../oji-plugin/include/solaris/navig4/nspr -I../../oji-plugin/include/solaris/navig4/x\ pcom -I../../oji-plugin/include/solaris/navig4/caps -I../../oji-plugin/include/solaris/navig4/js -I\ ../../oji-plugin/include/solaris/navig4/raptor -I../../tmp/bsd/i386/CClassHeaders -I../../oji-plugi\ n/include/solaris/navig4/oji -I../../oji-plugin/include/solaris/navig4/plugin -I../../oji-plugin/sr\ c/motif/common -I../../oji-plugin/src/motif/navig4 -I/usr/X11R6/include -I../../oji-plugin/src/moti\ f/badapter -I../../../../src/share/javavm/export -I../../../../src/solaris/javavm/export -I/usr/X11\ R6/include -o ../../tmp/bsd/i386/GetFactory.o ../../oji-plugin/src/motif/common/GetFactory.cpp^M In file included from ../../oji-plugin/include/solaris/navig4/oji/nsIJVMPlugin.h:34,^M from ../../oji-plugin/src/motif/common/JavaPluginFactory.h:34,^M from ../../oji-plugin/src/motif/common/GetFactory.cpp:55:^M /usr/local/include/jni.h:17: gcj/libgcj-config.h: No such file or directory^M gmake[1]: *** [../../tmp/bsd/i386/GetFactory.o] Error 1^M gmake[1]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/build/solaris'^M gmake: *** [plugin-all] Error 1^M *** Error code 2^M Thanks very much, Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message