From owner-freebsd-java Sun Oct 31 15:36:34 1999 Delivered-To: freebsd-java@freebsd.org Received: from mta02.onebox.com (mta02.onebox.com [216.33.158.209]) by hub.freebsd.org (Postfix) with ESMTP id 21B4514EE0 for ; Sun, 31 Oct 1999 15:36:22 -0800 (PST) (envelope-from onedave@onebox.com) Received: from onebox.com ([216.33.158.156]) by mta02.onebox.com (InterMail v4.01.01.07 201-229-111-110) with SMTP id <19991031233620.VIIW19495.mta02@onebox.com> for ; Sun, 31 Oct 1999 15:36:20 -0800 From: "dave howard" To: freebsd-java@freebsd.org Subject: JNI error involving mmap Reply-To: dave howard Date: Sun, 31 Oct 1999 23:38:10 GMT Message-Id: <19991031233620.VIIW19495.mta02@onebox.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hi all - i am porting a java application that uses JNI to freeBSD. i get an error in System.loadLibrary( "MyLib" ) that looks like this: mmap returned wrong address: wanted 0x8048000, got 0x29274000 (libMyLib.so) which causes the load to fail and results in an UnsatisfiedLinkError. i have verified that the functions in the library work if i put a main in the lib and run it standalone... anyone seen this before or have any ideas? thanks! dave. -- dave howard __________________________________________________ FREE voicemail, email, and fax...all in one place. Sign Up Now! http://www.onebox.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message