<div dir="ltr"><div class="gmail_extra">Hi Xavier,</div><div class="gmail_extra"><br></div><div class="gmail_extra">This is somewhat weird. Note that the error is in the system header on your machine. Is your host compiler able to compile anything that</div>
<div class="gmail_extra">includes /usr/include/linux/vt.h ?</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 17, 2014 at 6:33 AM, Xavier Robin <span dir="ltr"><<a href="mailto:robin@lindinglab.org" target="_blank">robin@lindinglab.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Dear list,<br>
<br>
I am trying to compile Clang on a SLES 11 machine with GNU Make 3.81 and GCC 4.7.<br>
<br>
I followed the instructions given on<br>
<a href="http://clang.llvm.org/get_started.html" target="_blank">http://clang.llvm.org/get_<u></u>started.html</a><br>
until step 6 and make. Then I get an error:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
  COMPILE:   clang_linux/san-x86_64/x86_64: /home/xavier/build/LLVM/llvm/<u></u>projects/compiler-rt/lib/<u></u>sanitizer_common/sanitizer_<u></u>platform_limits_posix.cc<br>
In file included from /home/xavier/build/LLVM/llvm/<u></u>projects/compiler-rt/lib/<u></u>sanitizer_common/sanitizer_<u></u>platform_limits_posix.cc:55:<br>
In file included from /usr/include/sys/vt.h:1:<br>
/usr/include/linux/vt.h:74:15: error: expected member name or ';' after declaration specifiers<br>
        unsigned int new;               /* New console (if changing) */<br>
        ~~~~~~~~~~~~ ^<br>
1 error generated.<br>
make[5]: *** [/home/xavier/build/LLVM/<u></u>build/tools/clang/runtime/<u></u>compiler-rt/clang_linux/san-<u></u>x86_64/x86_64/SubDir.lib__<u></u>sanitizer_common/sanitizer_<u></u>platform_limits_posix.o] Error 1<br>
make[5]: Leaving directory `/home/xavier/build/LLVM/llvm/<u></u>projects/compiler-rt'<br>
make[4]: *** [BuildRuntimeLibraries] Error 2<br>
make[4]: Leaving directory `/home/xavier/build/LLVM/<u></u>build/tools/clang/runtime/<u></u>compiler-rt'<br>
make[3]: *** [compiler-rt/.makeall] Error 2<br>
make[3]: Leaving directory `/home/xavier/build/LLVM/<u></u>build/tools/clang/runtime'<br>
make[2]: *** [all] Error 1<br>
make[2]: Leaving directory `/home/xavier/build/LLVM/<u></u>build/tools/clang'<br>
make[1]: *** [clang/.makeall] Error 2<br>
make[1]: Leaving directory `/home/xavier/build/LLVM/<u></u>build/tools'<br>
make: *** [all] Error 1<br>
</blockquote>
<br>
I tried to build from the 3.4 release, but got the same error.<br>
What should I do?<br>
<br>
Thanks,<br>
Xavier<br>
<br>
______________________________<u></u>_________________<br>
cfe-users mailing list<br>
<a href="mailto:cfe-users@cs.uiuc.edu" target="_blank">cfe-users@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/cfe-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Alexey Samsonov<br><a href="mailto:vonosmas@gmail.com" target="_blank">vonosmas@gmail.com</a></div>
</div></div>