Click to See Complete Forum and Search --> : Problem in Invoking JVM


May 12th, 2000, 03:00 AM
Hi,
I am using JDK 1.2.1 on SCO system and want to invoke the JVM from C code.
But while compiling I am getting the following error

Undefined symbol fpgetmask in file /opt/java2-1.2.1/lib/i386/classic/libjvm.so
Undefined symbol fpsetmask in file /opt/java2-1.2.1/lib/i386/classic/libjvm.so

UX:ld: ERROR: a.out: fatal error: Symbol referencing errors. No output written to a.out
-----------

The file libjvm.so is provided by sun only, I don't know why then it is giving those errors.
May be there is some mismatch in LD_LIBRARY_PATH.

Please note that there are lot of files with same name like libjvm.so is in
/opt/java2-1.2.1/lib/i386/classic/ directory

and the same file is also in
/opt/java2-1.2.1/lib/x86at/classic directory .I am totally confused which directory to include in LD_LIBRARY_PATH.

I am very much irritated by those errors.
Could any one please give me any pointer to solve those errors.Expecting a reply.

Regards
Deepak