<div dir="ltr">Yeah, sounds like perhaps (as others mentioned on the Stack Overflow thread) you're trying to build the examples from the source control/head version of the examples, against the last release of LLVM - generally LLVM is too frequently changed for that to work.<br><br>Best to either use the examples that came with the pre-built distribution of LLVM you're using (if they came with the examples) or to build them against the source distribution you've got rather than the mismatched installed distribution.<br><br>- Dave<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 14, 2019 at 6:31 PM Chak-Pong Chung via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi LLVM community!</div><div><br></div><div>I am trying to compile for this tutorial document:</div><div><br></div><div><a href="https://llvm.org/docs/tutorial/LangImpl04.html" target="_blank">https://llvm.org/docs/tutorial/LangImpl04.html</a><br></div><div><br></div><div>The issue is documented in the following question:</div><div><br></div><div><a href="https://stackoverflow.com/questions/54175916/what-is-the-right-way-to-compile-the-llvm-example-code" target="_blank">https://stackoverflow.com/questions/54175916/what-is-the-right-way-to-compile-the-llvm-example-code</a></div><div><br></div><div>does one know about this? Is the tutorial out of date already or there is a better place to start?</div><div><br></div><div>Regards,</div><div>Chak-Pong</div></div></div></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div>