Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 1999 23:38:10 GMT
From:      "dave howard" <onedave@onebox.com>
To:        freebsd-java@freebsd.org
Subject:   JNI error involving mmap
Message-ID:  <19991031233620.VIIW19495.mta02@onebox.com>

next in thread | raw e-mail | index | archive | help
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




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