Skip site navigation (1)Skip section navigation (2)
Date:      11 Nov 2002 11:04:47 -0800
From:      "Paul F. Wells" <phx1138@sbcglobal.net>
To:        freebsd-java@freebsd.org
Subject:   Re: make jdk131_p7_2 error
Message-ID:  <m3wunkq65s.fsf@vaio.wellserv.com>
In-Reply-To: <20021111172100.A83977@misty.eyesbeyond.com>
References:  <3DCF418A.2090807@mail.gddsn.org.cn> <20021111172100.A83977@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lewis <glewis@eyesbeyond.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m3wunkq65s.fsf>