I wonder if the undefined _imp__JNI_GetCreatedJavaVMs@12 issue is GNU
binutils regression? I found a post [1] where a person also had this
problem and resolved it by upgrading binutils.
As for undefined _main, that is the fault of trying to invoke 'ld'
directly rather linking than via the gcc f
cs-win32libs likely is not at fault. Rather, one might suspect the MinGW
version. What MinGW version are you using?
Have you run the test with -ljvm placed earlier in the command, before
the test.c reference?
Finally, what happens when you try compiling and linking separately
rather than as on
The only reference to JNI_GetCreatedJavaVMs() should be coming from the
configure test fragment (conftest.c), and nothing else is being linked
against the test, so it seems unlikely that the invocation is airsing
from some other compiled content.
It may not make a difference, but what happens i
As far as I know, it should have worked.
But it didn't ... (Maybe something else is compiled before without that flag
?)
Log:
*configure:14689: checking if Java SDK is usable*
*configure:14805: gcc -o conftest.exe -I/F/PROG/Java/jdk1.6.0_23/include
-I/F/PROG/Java/jdk1.6.0_23/include/win32
-I/F/PR
Does the "undefined reference to `_imp__jni_getcreatedjava...@12'" error
in the JDK check disappear if you add "-Wl,--kill-at" to the linker
flags? If so, we may need to re-organize things a bit so that the JDK
check can make use of the --kill-at check performed elsewhere by configure.
-- ES
Damn you're right, I forgot that.
I just added the *-L/F/PROG/Java/jdk1.6.0_23/lib* directive (where the
jvm.lib is), but nothing change : I get the same error.
2011/1/6 res
> On 06.01.2011 20:00, Sp4M wrote:
> > - If "jvm.dll" (under windows) file isn't correctly located, we get a
> > normal "
On 06.01.2011 20:00, Sp4M wrote:
> - If "jvm.dll" (under windows) file isn't correctly located, we get a
> normal "cannot find -ljvm ..." error. I located mine by adding
> the /-L/F/PROG/Java///jdk1.6.0_23/jre/bin/client /directive. Note that
> if I use the "/jdk1.6.0_23/jre/bin/server/jvm.dll" /in
Hi !
- The log extract was probably too short sorry, here is a longuest version.
- The 'java' command was already found by the shell (and JAVA_HOME is set),
no problem here.
- All the paths in the -L directives (and -I ones) are correct.
- If "jvm.dll" (under windows) file isn't correctly located,
On 12/30/2010 9:34 PM, Sp4M wrote:
> I followed your suggestions and installed MSYS/MinGW.
> Quite everything looks fine when I ./configure, but the java SDK usability.
> *Problem 1)*
> Extract of the config.log
> /configure:14689: checking if Java SDK is usable/
> /configure:14802: gcc -o
Hi again.
I began to write such a complete tutorial to compile and use java bindings
from scratch, but I'm stucked and need your help again.
I followed your suggestions and installed MSYS/MinGW.
Quite everything looks fine when I ./configure, but the java SDK usability.
*Problem 1)*
Extract of th
On 12/29/2010 8:32 PM, Sp4M wrote:
> Nice IRC people has suggested me to come there and ask for eric, hehe.
It has been several years since I looked at the Java bindings, and even
then my involvement primarily was fixing a number of reported problems
and writing some needed documentation for the
Hi there,
Nice IRC people has suggested me to come there and ask for eric, hehe.
I'm quite new on the crystalspace world, but i'm already quite stucked.
My question is about Java Bindings ... Apparently there is a really few
people using it (nobody ?), so it's quite difficult to find answers on t
12 matches
Mail list logo