<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">Hi Gaël Thomas, <br><pre>Thanks for quick response.</pre>I have configured and made vmkit with the commands in "http://vmkit.llvm.org/get_started.html", but the errors is still exist. In fact, I only want to convert java bytecode(.class) into llvm bitcode(.bc), can you tell me any tools to do it? <br><br>If
 I can convert java bytecode to llvm bitcode, I will analyze and 
optimize java applications with the passes of llvm. That is wonderful! <br><br>Of
 course, the best is using llvm (not sun-java) to compile java 
applications(.java), but I am afraid that would not work in some 
conditions. Maybe I am wrong?<br><pre>Regards!<br>xym<br></pre><br>在 2014-03-31 23:32:11,"Gaël Thomas" <<a href="mailto:gael.thomas00@gmail.com">gael.thomas00@gmail.com</a>> 写道:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><p dir="ltr">Hi!</p>
<p dir="ltr">The readme is probably outdated, you should use the instructions on the web page.</p>
<p dir="ltr">Gaël </p>
<div class="gmail_quote">Le 31 mars 2014 14:16, "xym" <<a href="mailto:xia_yimin@163.com">xia_yimin@163.com</a>> a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="line-height:1.7;font-size:14px;font-family:arial"> Hi,<br>  I got lots of "undefined reference" when building vmkit. Anyone can help to give a solution?<br><br>  I download vmkit with "svn co <a href="http://llvm.org/svn/llvm-project/vmkit/trunk/" target="_blank">http://llvm.org/svn/llvm-project/vmkit/trunk/</a>", <br>
followed the instructions of "<a href="http://llvm.org/svn/llvm-project/vmkit/trunk/README.TXT" target="_blank">http://llvm.org/svn/llvm-project/vmkit/trunk/README.TXT</a>", and built vmkit on ubuntu 13.10 x64 with sunjava 1.6.0_45 + llvm 3.3 + classpath 0.99 + gcc 4.8.1. Following is the information when I build vmkit:<br>
  /home/x/llvm/source/vmkit/Release+Asserts/lib/libPrecompiled.a(Precompiled-gc.o):(.data.rel+0xbe0):undefined reference to 'java_lang_System_bytes'<br>  /home/x/llvm/source/vmkit/Release+Asserts/lib/libPrecompiled.a(Precompiled-gc.o):(.data.rel+0xcd0):undefined reference to 'java_lang_Cloneable_bytes'<br>
  /home/x/llvm/source/vmkit/Release+Asserts/lib/libPrecompiled.a(Precompiled-gc.o):(.data.rel+0xdc0):undefined reference to 'java_lang_VMObject_bytes'<br>  /home/x/llvm/source/vmkit/Release+Asserts/lib/libPrecompiled.a(Precompiled-gc.o):(.data.rel+0xeb0):undefined reference to 'java_lang_CloneNotSupportedException_bytes'<br>
  ....<br><br>  I have read "<a href="http://lists.cs.uiuc.edu/pipermail/vmkit-commits/2012-June/002655.html" target="_blank">http://lists.cs.uiuc.edu/pipermail/vmkit-commits/2012-June/002655.html</a>" which uses classpath-0.97.2 + llvm 3.2 + gcc 4.6.3, that's different with me, but it's important?<br>
<br><br></div><br><br><span title="neteasefooter"><span></span></span><br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div>
</blockquote></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>