<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
That seems to do the trick. <br>
Could somebody review it?<br>
Cheers,<br>
Vassil<br>
On 5/3/13 7:27 PM, Violeta Ilieva wrote:<br>
</div>
<blockquote
cite="mid:CADt_kFp2E5cKcPP9G4453CusbGf2WJqbtd-cX2Q_RaYbKBkEcQ@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">Hello all,
<div><br>
</div>
<div style="">I have configured the llvm source code on my
machine through following the steps for Unix-like systems (<a
moz-do-not-send="true"
href="http://clang.llvm.org/get_started.html">http://clang.llvm.org/get_started.html</a>)
and am currently trying to run the sample plugin print-fns
located in llvm/tools/clang/examples. </div>
<div style=""><br>
</div>
<div style="">According to this discussion (<a
moz-do-not-send="true"
href="http://comments.gmane.org/gmane.comp.compilers.clang.user/58">http://comments.gmane.org/gmane.comp.compilers.clang.user/58</a>)
I should run "make BUILD_EXAMPLES=1 -C tools/clang" in the
build directory. When I do that, I get the following error:</div>
<div style=""><br>
</div>
<div style="">
<div>llvm[2]: Linking Debug+Asserts executable
clang-interpreter</div>
<div>Undefined symbols:</div>
<div> "llvm::ParseIR(llvm::MemoryBuffer*,
llvm::SMDiagnostic&, llvm::LLVMContext&)",
referenced from:</div>
<div> clang::CodeGenAction::ExecuteAction() in
libclangCodeGen.a(CodeGenAction.o)</div>
<div>ld: symbol(s) not found</div>
<div>collect2: ld returned 1 exit status</div>
<div>make[2]: ***
[/Users/V/build/Debug+Asserts/bin/clang-interpreter] Error 1</div>
<div>make[1]: *** [clang-interpreter/.makeall] Error 2</div>
<div>make: *** [examples/.makeall] Error 2</div>
<div><br>
</div>
<div style="">The same happens when I run "make" in the
clang/examples/PrintFunctionNames directory in effort to
compile the plugin.</div>
<div style=""><br>
</div>
<div style="">Any ideas as to why this occurs?</div>
<div style=""><br>
</div>
<div style="">Thanks,</div>
<div style="">Violeta</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
cfe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>