On Tue, 21 Sep 1999, Pierre Heroux wrote:

> I am using jdk1.2 Classic VM (build Linux_JDK_1.2_pre-release-v2
> glibc2.1, native threads, nojit)on RedHat 5.2.

RedHat 5.2 comes with glibc 2.0.7 and not with glibc 2.1.x.  Please get
the correct JDK release for your platform.
 
> 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 ?
Yes.

Andreas
-- 
 Andreas Jaeger   [EMAIL PROTECTED]    [EMAIL PROTECTED]
  for pgp-key finger [EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to