[LLVMdev] vmkit build failure of lots of "undefined reference"

Gaël Thomas gael.thomas00 at gmail.com
Mon Mar 31 08:32:11 PDT 2014


Hi!

The readme is probably outdated, you should use the instructions on the web
page.

Gaël
Le 31 mars 2014 14:16, "xym" <xia_yimin at 163.com> a écrit :

>  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?
>
>
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140331/39acbd54/attachment.html>


More information about the llvm-dev mailing list