Thanks Nicolas, Gaël<br><br>I followed your instructions and installed compatible versions of llvm, vmkit and GNU Classpath also I unzipped glibj.zip and pointed GNU Classpath lib variable to the the unzipped files during vmkit configure. That error has vanished.<br>

<br>Now when I run jnjvm or vmkit in Release/bin on any file I'm getting a new error :<br><br>" terminate called without an active exception<br> Aborted "<br><br>Any help is much appreciated,<br><br>-Nataraj.<br>

<br>
<br><br><div class="gmail_quote">On Fri, Nov 20, 2009 at 2:40 PM, Nicolas Geoffray <span dir="ltr"><<a href="mailto:nicolas.geoffray@gmail.com">nicolas.geoffray@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi Nataraj,<br>
<br>
You're using incompatible versions of vmkit and GNU Classpath. First, you should use vmkit 0.26 and llvm 2.6 (at least, -- use trunk if there are problems). Second, you should use GNU Classpath 0.97.2.<br>
<br>
Good luck!<br>
Nicolas<br>
<br>
Nataraj Sundar wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
Hi Nicolas,<br>
<br>
I'm running it on Kubuntu.<br>
<br>
Now that you mention it I did have a problem during vmkit setup. After running the ./configure file with all the options I ran the make file it was giving this error:<br>
<br>
make[3]: *** [/.automount/root/exports/transient/nataraj/Project/vmkit-0.25/lib/Mvm/Runtime/Release/EscapeAnalysis.o] Error 1<br>
"<br></div>
So I went into Makefile.common and modified GNU CLASSPATH FLAGS variable, I removed  "//../"before "include"(CLASSPATH_FLAGS = -I/transient/nataraj/CompilerD/classpath-0.98/*_//../i_nclude*/ -I/usr/include/classpath)  and made it<div class="im">

<br>
"/classpath-0.98/include" After that the make file ran smoothly.<br>
<br>
Looks like that was a mistake, What can I do to overcome the error?<br>
<br>
Thanks,<br>
<br>
-Nataraj<br>
<br>
<br>
<br>
<br>
<br></div><div class="im">
On Fri, Nov 20, 2009 at 8:56 AM, Nicolas Geoffray <<a href="mailto:nicolas.geoffray@gmail.com" target="_blank">nicolas.geoffray@gmail.com</a> <mailto:<a href="mailto:nicolas.geoffray@gmail.com" target="_blank">nicolas.geoffray@gmail.com</a>>> wrote:<br>


 > Hi Nataraj,<br>
 ><br>
 > Which platform are you running on? Did you follow all the steps on<br></div>
 > <a href="http://vmkit.llvm.org" target="_blank">vmkit.llvm.org</a> <<a href="http://vmkit.llvm.org" target="_blank">http://vmkit.llvm.org</a>> getting started page, especially for GNU Classpath?<div class="im">

<br>
 ><br>
 > Thanks!<br>
 > Nicolas<br>
 ><br>
 > Nataraj Sundar wrote:<br>
 >><br>
 >> Hi,<br>
 >><br>
 >> I intent to use VMKIT to convert java byte codes to LLVM IR<br>
 >><br>
 >> I have installed VMKIT 0.26, on running  jnjvm (as ./jnjvm<br>
 >> Hello.class) in Release/bin I get the same error irrespective of class<br>
 >> content :<br>
 >><br>
 >> jnjvm: JavaClass.cpp:469: jnjvm::JavaObject*<br>
 >> jnjvm::Class::doNew(jnjvm::Jnjvm*): Assertion `(this->isInitializing()<br>
 >> || classLoader->getCompiler()->isStaticCompiling()) && "Uninitialized<br>
 >> class when allocating."' failed.<br>
 >> Aborted<br>
 >><br>
 >> Am I doing something wrong?Any help regading how to use the VMKIT<br>
 >> tools to convert Java bytecodes to LLVM IR will be helpful<br>
 >><br>
 >> Thanks,<br>
 >><br>
 >> -Nataraj.<br>
 >> _______________________________________________<br>
 >> LLVM Developers mailing list<br></div>
 >> <a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a> <mailto:<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><div class="im">

<br>
 >> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
 ><br>
 ><br>
<br>
</div></blockquote>
<br>
</blockquote></div><br>