[LLVMdev] vmkit build failure of lots of "undefined reference"
xym
xia_yimin at 163.com
Mon Mar 31 04:55:59 PDT 2014
Hi,
I got lots of "undefined reference" when building vmkit. Anyone can help to give a solution?
I download vmkit with "svn co http://llvm.org/svn/llvm-project/vmkit/trunk/",
followed the instructions of "http://llvm.org/svn/llvm-project/vmkit/trunk/README.TXT", 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:
/home/x/llvm/source/vmkit/Release+Asserts/lib/libPrecompiled.a(Precompiled-gc.o):(.data.rel+0xbe0):undefined reference to 'java_lang_System_bytes'
/home/x/llvm/source/vmkit/Release+Asserts/lib/libPrecompiled.a(Precompiled-gc.o):(.data.rel+0xcd0):undefined reference to 'java_lang_Cloneable_bytes'
/home/x/llvm/source/vmkit/Release+Asserts/lib/libPrecompiled.a(Precompiled-gc.o):(.data.rel+0xdc0):undefined reference to 'java_lang_VMObject_bytes'
/home/x/llvm/source/vmkit/Release+Asserts/lib/libPrecompiled.a(Precompiled-gc.o):(.data.rel+0xeb0):undefined reference to 'java_lang_CloneNotSupportedException_bytes'
....
I have read "http://lists.cs.uiuc.edu/pipermail/vmkit-commits/2012-June/002655.html" which uses classpath-0.97.2 + llvm 3.2 + gcc 4.6.3, that's different with me, but it's important?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140331/9a2bee95/attachment.html>
More information about the llvm-dev
mailing list