From owner-freebsd-java Mon May 10 19:21:31 1999 Delivered-To: freebsd-java@freebsd.org Received: from ftp.apunix.com (ftp.apunix.com [206.217.243.200]) by hub.freebsd.org (Postfix) with SMTP id 6490D14C0C for ; Mon, 10 May 1999 19:21:24 -0700 (PDT) (envelope-from ravi@apunix.com) Received: from apunix.com (apunix.apunix.com [192.58.123.10]) by ftp.apunix.com (8.6.9/8.6.9) with ESMTP id TAA04723 for ; Mon, 10 May 1999 19:13:08 -0700 Received: from wyoming.apunix.com by apunix.com (SMI-8.6/SMI-SVR4) id TAA14381; Mon, 10 May 1999 19:19:31 -0700 Received: from wyoming by wyoming.apunix.com (SMI-8.6/SMI-SVR4) id TAA25948; Mon, 10 May 1999 19:19:05 -0700 Message-Id: <199905110219.TAA25948@wyoming.apunix.com> Date: Mon, 10 May 1999 19:19:05 -0700 (PDT) From: Ravi Manthena Reply-To: Ravi Manthena To: freebsd-java@FreeBSD.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: PZ5fGO+QHrJs4NeaU6pNvw== X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 sun4u sparc Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I have a question about JNI. I would appreciate your help or suggestion. I am currently trying to System.Load a c library in to my freebsd JDK. when i try to run the java app i get Bad magic number. I did a file command on my lib and this is what I get. ELF 32-bit LSB shared object, intel 80386, version1(FreeBSD),not stripped I was wondering if you know the gcc flags that can be set. So that the native library can be loded into my FreeBSD VM. Which accepts FreeBSD/i386 Compact demand pager shared library not stripped. Thank You, Ravi Manthena Java Programmer. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message