which libjvm.so should I use ?
843829Jan 22 2002 — edited Apr 15 2003 I'm trying to link libjvm.so to get an executable that calls Java virtual machine from a C++ program, and get undefined symbols as follows:
.
.
.
/usr/java/jdk1.3.1_02/jre/lib/i386/classic/libjvm.so: undefined reference to `jdk_sem_post'
/usr/java/jdk1.3.1_02/jre/lib/i386/classic/libjvm.so: undefined reference to `jdk_pthread_sigmask'
/usr/java/jdk1.3.1_02/jre/lib/i386/classic/libjvm.so: undefined reference to `jdk_sem_wait'
/usr/java/jdk1.3.1_02/jre/lib/i386/classic/libjvm.so: undefined reference to `jdk_sem_init'
collect2: ld returned 1 exit status
make: *** [usr/server/mcs-gnu/mcserver] Error 1
This programs works fine importing jvm.dll in WNT enviroment and the problem appears trying to link the excutable from RH 6.2 Linux operative system.
Could anyone help me ?
Am I using the right libjvm.so file ?
Thanks in advance, Ignasi Villagrasa.