I am using jdk1.2 Classic VM (build Linux_JDK_1.2_pre-release-v2
glibc2.1, native threads, nojit)on RedHat 5.2.
I compile a C++ code which invoke JavaVM.
g++ simple.cpp -I/usr/local/jdk1.2/include -ljava
I get the following message
/usr/local/jdk1.2/jre/lib/i386/native_threads/libhpi.so: undefined
reference to `sem_destroy@@GLIBC_2.0'
/usr/local/jdk1.2/jre/lib/i386/native_threads/libhpi.so: undefined
reference to `sem_post@@GLIBC_2.0'
/usr/local/jdk1.2/jre/lib/i386/native_threads/libhpi.so: undefined
reference to `sem_wait@@GLIBC_2.0'
/usr/local/jdk1.2/jre/lib/i386/native_threads/libhpi.so: undefined
reference to `sem_init@@GLIBC_2.0'
It looks like if I forgot a library but which one ?
Is it an installation problem ?
Pierre
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]