<div dir="ltr">Hi,<br>
<br>
I see that now vmkit2 contains the last revisions of the project, so I follow these instructions to compile vmkit : <a href="http://vmkit2.gforge.inria.fr/start.php">http://vmkit2.gforge.inria.fr/start.php</a><br>
<br>
I download and compile LLVM without errors. I have tested with and without optimizations but this is the same for the errors. <br>
My configuration for LLVM is just : ./configure; make<br>
<br>
Apparently we can build vmkit with OpenJDK instead of GNU Classpath, so I configured vmkit with :<br>
<br>
./configure --with-llvm-config-path=/home/julien/vm/llvm-3.2.src/Release+Asserts/bin/llvm-config --with-classpath-impl=openjdk --with-openjdk-path=/usr/lib64/jvm/java-1.7.0-openjdk<br>
<br>
But when I compile vmkit I have this error :<br>
<br>
[vmkit ./lib/j3/ClassLib/OpenJDK]: Compiling 'JavaUpcalls.cpp'<br>
In file included from JavaUpcalls.cpp:1048:<br>
/home/julien/vm/vmkit2/lib/j3/ClassLib/Unsafe.inc:499:35: error: no member named 'vmdataVMThread' in 'j3::Classpath'<br>
JavaField* field = vm->upcalls->vmdataVMThread;<br>
~~~~~~~~~~~ ^<br>
/home/julien/vm/vmkit2/lib/j3/ClassLib/Unsafe.inc:500:36: error: no member named 'vmThread' in 'j3::Classpath'<br>
JavaField* field2 = vm->upcalls->vmThread; <br>
~~~~~~~~~~~ ^<br>
2 errors generated.<br>
make[4]: *** [/home/julien/vm/vmkit2/lib/j3/ClassLib/OpenJDK/Release+Asserts/JavaUpcalls.bc] Erreur 1<br>
[vmkit ./lib/j3/ClassLib]: abort with error in ./lib/j3/ClassLib/OpenJDK<br>
make[3]: *** [all] Erreur 1<br>
[vmkit ./lib/j3]: abort with error in ./lib/j3/ClassLib<br>
make[2]: *** [all] Erreur 1<br>
[vmkit ./lib]: abort with error in ./lib/j3<br>
make[1]: *** [all] Erreur 1<br>
[vmkit .]: abort with error in ./lib<br>
make: *** [all] Erreur 1<br>
<br>
This is the first time I work with vmkit. So, did I do something wrong (maybe in configure...) ?<br>
<br>
Thanks,<br>
<br>
Julien <br></div>