<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><div><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr">Hi All, <br><br>I am trying to compile the cloud9, when the application try to compile the LLVM it gives me error like this :<br><br>COMPILE:   clang_linux/full-i386/i386: /home/krishan/cloud9/src/third_party/llvm/projects/compiler-rt/lib/enable_execute_stack.c<br>  COMPILE:   clang_linux/full-i386/i386: /home/krishan/cloud9/src/third_party/llvm/projects/compiler-rt/lib/ffsdi2.c<br>In file included from /home/krishan/cloud9/src/third_party/llvm/projects/compiler-rt/lib/enable_execute_stack.c:13:<br>/usr/include/x86_64-linux-gnu/sys/mman.h:23:10: fatal error: 'features.h' file not found<br>#include <features.h><br>         ^<br>1 error generated.<br>make[5]: *** [/home/krishan/cloud9/src/third_party/llvm-build/tools/clang/runtime/compiler-rt/clang_linux/full-i386/i386/SubDir.lib/enable_execute_stack.o] Error 1<br>make[5]: *** Waiting for unfinished jobs....<br>make[5]: Leaving directory `/home/krishan/cloud9/src/third_party/llvm/projects/compiler-rt'<br>make[4]: *** [BuildRuntimeLibraries] Error 2<br>rm /home/krishan/cloud9/src/third_party/llvm-build/Release+Asserts/lib/clang/3.1/lib/linux/.dir<br>make[4]: Leaving directory `/home/krishan/cloud9/src/third_party/llvm-build/tools/clang/runtime/compiler-rt'<br>make[3]: *** [compiler-rt/.makeall] Error 2<br>make[3]: Leaving directory `/home/krishan/cloud9/src/third_party/llvm-build/tools/clang/runtime'<br>make[2]: *** [all] Error 1<br>make[2]: Leaving directory `/home/krishan/cloud9/src/third_party/llvm-build/tools/clang'<br>make[1]: *** [clang/.makeall] Error 2<br>make[1]: Leaving directory `/home/krishan/cloud9/src/third_party/llvm-build/tools'<br>make: *** [all] Error 1<br>Error: Command src/build/download_llvm.sh returned non-zero exit status 2 in /home/krishan/cloud9<br>Hook 'src/build/download_llvm.sh' took 11.25 secs<br>krishan@ubuntu:~/cloud9$ <br><br><br><br><br>Please help me to solve this problem. Since it's using gclient to perform the auto compiling, I cannot change anything. Does any have installed cloud9 ?<br><br>PS : The features.h file is in the /usr/include directory, but why the compiler couldn't get it ? is that my library path got screwed it up?<br> <br><br>Thank-you<br><br>Krish<br>                                          </div></div>                                        </div></body>
</html>