From owner-freebsd-java Sun Oct 31 16:45:53 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (ns.mt.sri.com [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 6ECD814C24 for ; Sun, 31 Oct 1999 16:45:50 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.9.3/8.9.3) with SMTP id RAA07361; Sun, 31 Oct 1999 17:45:49 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id RAA13238; Sun, 31 Oct 1999 17:45:48 -0700 Date: Sun, 31 Oct 1999 17:45:48 -0700 Message-Id: <199911010045.RAA13238@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: dave howard Cc: nate@mt.sri.com (Nate Williams), freebsd-java@FreeBSD.ORG Subject: Re: JNI error involving mmap In-Reply-To: <19991101003226.VJYK19495.mta02@onebox.com> References: <19991101003226.VJYK19495.mta02@onebox.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@mt.sri.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > thanks for the tip. i had not been compiling with the PIC option as > you suggest, however doing it that way seems to have no effect on the > error i'm getting. any other ideas? You also need to give the linker a bunch of flags to build a correctly functioning shlib, but as I said before, someone else may know the magic incantation. I'm 99% positive you shared library is in-correct, and -pic as well as a number of other options must be used to get a correctly function shlib. You might look in the archives to see if someone posted instructions. I seem to remember an example of this somewhere in the archive... Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message