[LLVMdev] LLVM build failure when using CMake
Wesley Peck
peckw at wesleypeck.com
Wed Nov 17 14:42:33 PST 2010
Recently I have been getting a build failure while trying to link lli when performing a cmake based build. The failure is:
Undefined symbols:
"_LLVMLinkInMCJIT", referenced from:
(anonymous namespace)::ForceMCJITLinking::ForceMCJITLinking()in lli.cpp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [bin/lli] Error 1
I have fixed this with the attached patch. It anybody else getting this error? Should I commit the patch?
--
Wesley Peck
University of Kansas
SLDG Laboratory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101117/d9e12381/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mcjit.patch
Type: application/octet-stream
Size: 878 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101117/d9e12381/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101117/d9e12381/attachment-0001.html>
More information about the llvm-dev
mailing list