[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-java
Subject:    JNI and i386
From:       Valerio Ferrucci <valfer () flashnet ! it>
Date:       2001-06-28 17:14:57
[Download RAW message or body]

Hi,
I installed the jdk and jre 1.3.0 on a i386 (RedHat 7.0). The 
installation seems to be ok, I tried the
"Hello" class example and all seems ok.

I have some problem loading the JVM in my C app (jni). When I call 
dlopen on libjvm.so (in classic) I get an error: undefined symbol 
pthread_sig_mask.

Calling ldd on libjvm.so I see that it doesn't link with pthreads.

So I download the 1.2.2 of jdk, this time I see (with ldd) that 
libjvm.so links with pthread, so I try again, but I get a 
segmentation fault inside CreateJavaVM.

The same C code works well on my ppc machine (with jdk 1.3)

Any Idea?
-- 
============================================
Valerio Ferrucci		Tabasoft Sas
valfer@flashnet.it		http://www.tabasoft.it
                                 taba@flashnet.it


----------------------------------------------------------------------
To UNSUBSCRIBE, email to java-linux-request@java.blackdown.org
with a subject of "unsubscribe". Trouble? Contact karl@blackdown.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic