Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2002 11:15:05 -0600
From:      "Justen Stepka" <jstepka@webprogrammers.net>
To:        "Greg Lewis" <glewis@eyesbeyond.com>, "suken woo" <wsk@ns.gddsn.org.cn>
Cc:        <freebsd-java@FreeBSD.ORG>
Subject:   Re: make jdk131_p7_2 error
Message-ID:  <00ac01c289a5$e4ccc770$ed0310ac@mpls.imaginet.corp>
References:  <3DCF418A.2090807@mail.gddsn.org.cn> <20021111172100.A83977@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <glewis@eyesbeyond.com>
To: "suken woo" <wsk@ns.gddsn.org.cn>
Cc: <freebsd-java@FreeBSD.ORG>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00ac01c289a5$e4ccc770$ed0310ac>