<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 7/27/2017 12:32 PM, Shreyans Doshi
      via cfe-dev wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAF-VEzAjo9xoSAA1++X5_DdqYXB6PveD0U6gjUUYEAXj=gWUxQ@mail.gmail.com">
      <div dir="ltr">I'm newbie to llvm/clang development. So, I'm
        trying to follow the steps mentioned on <a
          href="https://clang.llvm.org/get_started.html"
          moz-do-not-send="true">https://clang.llvm.org/get_started.html</a>.
        I've skipped optional steps for simplicity. On step 7.4: `make`
        is to be run. On running it, upto 72% it is fine.
        <div>After that, I'm getting following error:</div>
        <div><br>
        </div>
        <div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">[ 72%] Building CXX
            object
            tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/Targets.cpp.o<br>
            In file included from
            /home/thereal/svn/llvm/tools/clang/lib/Basic/Targets.cpp:19:0:<br>
/home/thereal/svn/llvm/tools/clang/lib/Basic/Targets/ARM.h:55:34: error:
            ‘ARMV4T’ is not a member of ‘llvm::ARM::ArchKind’<br>
               llvm::ARM::ArchKind ArchKind =
            llvm::ARM::ArchKind::ARMV4T;<br>
                                              ^~~~<br>
            make[2]: ***
            [tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/Targets.cpp.o]
            Error 1<br>
            make[1]: ***
            [tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/all] Error
            2<br>
            make: *** [all] Error 2</blockquote>
        </div>
      </div>
    </blockquote>
    <br>
    It looks like you got unlucky and checked out a revision which
    doesn't build (or you have mismatched revisions of LLVM and clang);
    try updating clang and LLVM to the latest revision, and build again.<br>
    <br>
    -Eli<br>
    <pre class="moz-signature" cols="72">-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project</pre>
  </body>
</html>