<span dir="ltr" id=":2go">Clang 3.2 complains following but the system has the stdlib.h in /usr/include.<br><br>What could be the reason? is clang specifically looking for cstdlib?<br><br>/home/govind/CodeSpace/pegasus/src/Pegasus/Common/Config.h:133:10: fatal error: 'cstdlib' file not found<br>
<span style="background-color:rgb(51,204,0)">>>>>>>#include <cstdlib> <<<<<<<<<</span><br>         ^<br>1 error generated.<br><br>[govind@localhost pegasus]$ locate stdlib.h<br>
<span style="background-color:rgb(0,153,0)">>>>>/usr/include/st</span><span style="background-color:rgb(0,153,0)">dlib.h <<<<<<<<<<</span><br>/usr/include/bits/stdlib.h<br>/usr/include/boost/cstdlib.hpp<br>
/usr/include/c++/4.5.1/tr1/stdlib.h<br>/usr/include/freetype2/freetype/config/ftstdlib.h<br>/usr/share/man/man0p/stdlib.h.0p.gz<br><br>and Following command also shows the <br><br></span> <span class="kn" title="panduru.govind.rao@gmail.com"></span><span dir="ltr" id=":2gn">[govind@localhost pegasus]$ echo | `gcc -print-prog-name=cc1` -v<br>
ignoring nonexistent directory "/usr/lib/gcc/i686-redhat-linux/4.5.1/include-fixed"<br>ignoring nonexistent directory "/usr/lib/gcc/i686-redhat-linux/4.5.1/../../../../i686-redhat-linux/include"<br>#include "..." search starts here:<br>
#include <...> search starts here:<br> /usr/local/include<br> /usr/lib/gcc/i686-redhat-linux/4.5.1/include<br> <span style="background-color:rgb(51,204,0)">>>>>>>>> /usr/include <<<<<<<<</span><br>
End of search list.<br><br>Analyzing compilation unit<br>Performing interprocedural optimizations<br> <*free_lang_data> <visibility> <early_local_cleanups> <whole-program> <inline>Assembling functions</span><br clear="all">
<br>-- <br>Warm Regards<br>--Dev<br>OpenPegasus Developer<br>"It's Always better to try and fail instead of not doing/trying anything"<br>