Stdlib.h not found while building pytorch from source code

username: studyself
cooked: <p><strong>Hi, I got these errors while building pytorch from source code.</strong><br>
/usr/include/c++/7/cstdlib:75:15: fatal error: stdlib.h: No such file or directory</p>
<p><strong>By following:</strong></p><aside class="onebox stackexchange" data-onebox-src="https://stackoverflow.com/questions/40262928/error-compiling-opencv-fatal-error-stdlib-h-no-such-file-or-directory">
  <header class="source">

      <a href="https://stackoverflow.com/questions/40262928/error-compiling-opencv-fatal-error-stdlib-h-no-such-file-or-directory" target="_blank" rel="noopener nofollow ugc">stackoverflow.com</a>
  </header>

  <article class="onebox-body">
      <a href="https://stackoverflow.com/users/408195/diogo-melo" target="_blank" rel="noopener nofollow ugc">
    <img alt="Diogo Melo" src="https://i.stack.imgur.com/ioWa0.jpg?s=256&amp;g=1" class="thumbnail onebox-avatar" width="256" height="256">
  </a>

<h4>
  <a href="https://stackoverflow.com/questions/40262928/error-compiling-opencv-fatal-error-stdlib-h-no-such-file-or-directory" target="_blank" rel="noopener nofollow ugc">Error compiling OpenCV, fatal error: stdlib.h: No such file or directory</a>
</h4>

<div class="tags">
  <strong>opencv, gcc, cmake</strong>
</div>

<div class="date">
  asked by
  
  <a href="https://stackoverflow.com/users/408195/diogo-melo" target="_blank" rel="noopener nofollow ugc">
    Diogo Melo
  </a>
  on <a href="https://stackoverflow.com/questions/40262928/error-compiling-opencv-fatal-error-stdlib-h-no-such-file-or-directory" target="_blank" rel="noopener nofollow ugc">12:56PM - 26 Oct 16 UTC</a>
</div>

  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>
<aside class="onebox stackexchange" data-onebox-src="https://stackoverflow.com/questions/52532936/usr-include-c-7-cstdlib7515-fatal-error-stdlib-h-no-such-file-or-directo">
  <header class="source">

      <a href="https://stackoverflow.com/questions/52532936/usr-include-c-7-cstdlib7515-fatal-error-stdlib-h-no-such-file-or-directo" target="_blank" rel="noopener nofollow ugc">stackoverflow.com</a>
  </header>

  <article class="onebox-body">
      <a href="https://stackoverflow.com/users/9364386/n-m" target="_blank" rel="noopener nofollow ugc">
    <img alt="n.m" src="https://www.gravatar.com/avatar/e0693c0fdeefa459fc74ebbd2b2ef36e?s=256&amp;d=identicon&amp;r=PG&amp;f=y&amp;so-version=2" class="thumbnail onebox-avatar" width="256" height="256">
  </a>

<h4>
  <a href="https://stackoverflow.com/questions/52532936/usr-include-c-7-cstdlib7515-fatal-error-stdlib-h-no-such-file-or-directo" target="_blank" rel="noopener nofollow ugc">/usr/include/c++/7/cstdlib:75:15: fatal error: stdlib.h: No such file or directory #include_next &lt;stdlib.h&gt;</a>
</h4>

<div class="tags">
  <strong>c++, opengl, qt-creator, cgal</strong>
</div>

<div class="date">
  asked by
  
  <a href="https://stackoverflow.com/users/9364386/n-m" target="_blank" rel="noopener nofollow ugc">
    n.m
  </a>
  on <a href="https://stackoverflow.com/questions/52532936/usr-include-c-7-cstdlib7515-fatal-error-stdlib-h-no-such-file-or-directo" target="_blank" rel="noopener nofollow ugc">08:46AM - 27 Sep 18 UTC</a>
</div>

  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>
<p><strong>I tried</strong><br>
-DENABLE_PRECOMPILED_HEADERS=OFF<br>
CMAKE_CFLAGS_ISYSTEM=-I</p>
<p><strong>by modifying cmake.py and adding options to build_options.update</strong></p>
<p><strong>However, my building process prompts:</strong><br>
CMake Warning:<br>
Manually-specified variables were not used by the project:</p>
<pre><code>CMAKE_CFLAGS_ISYSTEM
ENABLE_PRECOMPILED_HEADERS
</code></pre>
<p><strong>How to confige and make it accept “-DENABLE_PRECOMPILED_HEADERS=OFF” ?</strong><br>
<strong>I am green for pytorch and linux. Thank you very much!</strong></p>
<p>/<em><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong>Errors from log</strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></em>***********/</p>
<blockquote>
<p>[3991/6869] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/helpers.cc.o<br>
FAILED: third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/helpers.cc.o<br>
/usr/bin/c++  -I/qssd/ptSRC/cmake/…/third_party/benchmark/include -I/qssd/ptSRC/cmake/…/third_party/cudnn_frontend/include -I/qssd/ptSRC/third_party/tensorpipe -I/qssd/ptSRC/build/third_party/tensorpipe -I/qssd/ptSRC/third_party/tensorpipe/third_party/libnop/include -I/qssd/ptSRC/third_party/tensorpipe/third_party/libuv/include -isystem /qssd/ptSRC/cmake/…/third_party/googletest/googlemock/include -isystem /qssd/ptSRC/cmake/…/third_party/googletest/googletest/include -isystem /qssd/ptSRC/third_party/protobuf/src -isystem /opt/intel/mkl/include -isystem /qssd/ptSRC/third_party/gemmlowp -isystem /qssd/ptSRC/third_party/neon2sse -isystem /qssd/ptSRC/third_party/XNNPACK/include -isystem /usr/include -isystem /qssd/ptSRC/third_party/ittapi/include -isystem /qssd/ptSRC/cmake/…/third_party/eigen -I/usr/local/cuda/include -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++14 -MD -MT third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/helpers.cc.o -MF third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/helpers.cc.o.d -o third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/helpers.cc.o -c /qssd/ptSRC/third_party/tensorpipe/tensorpipe/channel/helpers.cc<br>
In file included from /usr/include/c++/7/ext/string_conversions.h:41:0,<br>
from /usr/include/c++/7/bits/basic_string.h:6361,<br>
from /usr/include/c++/7/string:52,<br>
from /qssd/ptSRC/third_party/tensorpipe/tensorpipe/channel/helpers.h:13,<br>
from /qssd/ptSRC/third_party/tensorpipe/tensorpipe/channel/helpers.cc:9:<br>
/usr/include/c++/7/cstdlib:75:15: fatal error: stdlib.h: No such file or directory<br>
<span class="hashtag-raw">#include_next</span> &lt;stdlib.h&gt;<br>
^~~~~~~~~~<br>
compilation terminated.<br>
[3993/6869] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/error.cc.o<br>
FAILED: third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/error.cc.o<br>
/usr/bin/c++  -I/qssd/ptSRC/cmake/…/third_party/benchmark/include -I/qssd/ptSRC/cmake/…/third_party/cudnn_frontend/include -I/qssd/ptSRC/third_party/tensorpipe -I/qssd/ptSRC/build/third_party/tensorpipe -I/qssd/ptSRC/third_party/tensorpipe/third_party/libnop/include -I/qssd/ptSRC/third_party/tensorpipe/third_party/libuv/include -isystem /qssd/ptSRC/cmake/…/third_party/googletest/googlemock/include -isystem /qssd/ptSRC/cmake/…/third_party/googletest/googletest/include -isystem /qssd/ptSRC/third_party/protobuf/src -isystem /opt/intel/mkl/include -isystem /qssd/ptSRC/third_party/gemmlowp -isystem /qssd/ptSRC/third_party/neon2sse -isystem /qssd/ptSRC/third_party/XNNPACK/include -isystem /usr/include -isystem /qssd/ptSRC/third_party/ittapi/include -isystem /qssd/ptSRC/cmake/…/third_party/eigen -I/usr/local/cuda/include -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++14 -MD -MT third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/error.cc.o -MF third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/error.cc.o.d -o third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/error.cc.o -c /qssd/ptSRC/third_party/tensorpipe/tensorpipe/channel/error.cc<br>
In file included from /usr/include/c++/7/ext/string_conversions.h:41:0,<br>
from /usr/include/c++/7/bits/basic_string.h:6361,<br>
from /usr/include/c++/7/string:52,<br>
from /qssd/ptSRC/third_party/tensorpipe/tensorpipe/channel/error.h:11,<br>
from /qssd/ptSRC/third_party/tensorpipe/tensorpipe/channel/error.cc:9:<br>
/usr/include/c++/7/cstdlib:75:15: fatal error: stdlib.h: No such file or directory<br>
<span class="hashtag-raw">#include_next</span> &lt;stdlib.h&gt;<br>
^~~~~~~~~~<br>
compilation terminated.<br>
[3994/6869] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/address.cc.o<br>
FAILED: third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/address.cc.o<br>
/usr/bin/c++  -I/qssd/ptSRC/cmake/…/third_party/benchmark/include -I/qssd/ptSRC/cmake/…/third_party/cudnn_frontend/include -I/qssd/ptSRC/third_party/tensorpipe -I/qssd/ptSRC/build/third_party/tensorpipe -I/qssd/ptSRC/third_party/tensorpipe/third_party/libnop/include -I/qssd/ptSRC/third_party/tensorpipe/third_party/libuv/include -isystem /qssd/ptSRC/cmake/…/third_party/googletest/googlemock/include -isystem /qssd/ptSRC/cmake/…/third_party/googletest/googletest/include -isystem /qssd/ptSRC/third_party/protobuf/src -isystem /opt/intel/mkl/include -isystem /qssd/ptSRC/third_party/gemmlowp -isystem /qssd/ptSRC/third_party/neon2sse -isystem /qssd/ptSRC/third_party/XNNPACK/include -isystem /usr/include -isystem /qssd/ptSRC/third_party/ittapi/include -isystem /qssd/ptSRC/cmake/…/third_party/eigen -I/usr/local/cuda/include -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++14 -MD -MT third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/address.cc.o -MF third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/address.cc.o.d -o third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/address.cc.o -c /qssd/ptSRC/third_party/tensorpipe/tensorpipe/common/address.cc<br>
In file included from /usr/include/c++/7/ext/string_conversions.h:41:0,<br>
from /usr/include/c++/7/bits/basic_string.h:6361,<br>
from /usr/include/c++/7/string:52,<br>
from /qssd/ptSRC/third_party/tensorpipe/tensorpipe/common/address.h:11,<br>
from /qssd/ptSRC/third_party/tensorpipe/tensorpipe/common/address.cc:9:<br>
/usr/include/c++/7/cstdlib:75:15: fatal error: stdlib.h: No such file or directory<br>
<span class="hashtag-raw">#include_next</span> &lt;stdlib.h&gt;<br>
^~~~~~~~~~<br>
compilation terminated.<br>
[3995/6869] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/allocator.cc.o<br>
FAILED: third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/allocator.cc.o<br>
/usr/bin/c++  -I/qssd/ptSRC/cmake/…/third_party/benchmark/include -I/qssd/ptSRC/cmake/…/third_party/cudnn_frontend/include -I/qssd/ptSRC/third_party/tensorpipe -I/qssd/ptSRC/build/third_party/tensorpipe -I/qssd/ptSRC/third_party/tensorpipe/third_party/libnop/include -I/qssd/ptSRC/third_party/tensorpipe/third_party/libuv/include -isystem /qssd/ptSRC/cmake/…/third_party/googletest/googlemock/include -isystem /qssd/ptSRC/cmake/…/third_party/googletest/googletest/include -isystem /qssd/ptSRC/third_party/protobuf/src -isystem /opt/intel/mkl/include -isystem /qssd/ptSRC/third_party/gemmlowp -isystem /qssd/ptSRC/third_party/neon2sse -isystem /qssd/ptSRC/third_party/XNNPACK/include -isystem /usr/include -isystem /qssd/ptSRC/third_party/ittapi/include -isystem /qssd/ptSRC/cmake/…/third_party/eigen -I/usr/local/cuda/include -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++14 -MD -MT third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/allocator.cc.o -MF third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/allocator.cc.o.d -o third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/allocator.cc.o -c /qssd/ptSRC/third_party/tensorpipe/tensorpipe/common/allocator.cc<br>
In file included from /usr/include/c++/7/ext/string_conversions.h:41:0,<br>
from /usr/include/c++/7/bits/basic_string.h:6361,<br>
from /usr/include/c++/7/string:52,<br>
from /usr/include/c++/7/stdexcept:39,<br>
from /usr/include/c++/7/array:39,<br>
from /usr/include/c++/7/tuple:39,<br>
from /usr/include/c++/7/functional:54,<br>
from /qssd/ptSRC/third_party/tensorpipe/tensorpipe/common/allocator.h:13,<br>
from /qssd/ptSRC/third_party/tensorpipe/tensorpipe/common/allocator.cc:9:<br>
/usr/include/c++/7/cstdlib:75:15: fatal error: stdlib.h: No such file or directory<br>
<span class="hashtag-raw">#include_next</span> &lt;stdlib.h&gt;<br>
^~~~~~~~~~<br>
compilation terminated.<br>
[3996/6869] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/error.cc.o<br>
FAILED: third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/error.cc.o<br>
/usr/bin/c++  -I/qssd/ptSRC/cmake/…/third_party/benchmark/include -I/qssd/ptSRC/cmake/…/third_party/cudnn_frontend/include -I/qssd/ptSRC/third_party/tensorpipe -I/qssd/ptSRC/build/third_party/tensorpipe -I/qssd/ptSRC/third_party/tensorpipe/third_party/libnop/include -I/qssd/ptSRC/third_party/tensorpipe/third_party/libuv/include -isystem /qssd/ptSRC/cmake/…/third_party/googletest/googlemock/include -isystem /qssd/ptSRC/cmake/…/third_party/googletest/googletest/include -isystem /qssd/ptSRC/third_party/protobuf/src -isystem /opt/intel/mkl/include -isystem /qssd/ptSRC/third_party/gemmlowp -isystem /qssd/ptSRC/third_party/neon2sse -isystem /qssd/ptSRC/third_party/XNNPACK/include -isystem /usr/include -isystem /qssd/ptSRC/third_party/ittapi/include -isystem /qssd/ptSRC/cmake/…/third_party/eigen -I/usr/local/cuda/include -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++14 -MD -MT third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/error.cc.o -MF third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/error.cc.o.d -o third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/error.cc.o -c /qssd/ptSRC/third_party/tensorpipe/tensorpipe/common/error.cc<br>
In file included from /usr/include/c++/7/ext/string_conversions.h:41:0,<br>
from /usr/include/c++/7/bits/basic_string.h:6361,<br>
from /usr/include/c++/7/string:52,<br>
from /usr/include/c++/7/stdexcept:39,<br>
from /usr/include/c++/7/array:39,<br>
from /usr/include/c++/7/tuple:39,<br>
from /usr/include/c++/7/bits/unique_ptr.h:37,<br>
from /usr/include/c++/7/memory:80,<br>
from /qssd/ptSRC/third_party/tensorpipe/tensorpipe/common/error.h:11,<br>
from /qssd/ptSRC/third_party/tensorpipe/tensorpipe/common/error.cc:9:<br>
/usr/include/c++/7/cstdlib:75:15: fatal error: stdlib.h: No such file or directory<br>
<span class="hashtag-raw">#include_next</span> &lt;stdlib.h&gt;<br>
^~~~~~~~~~<br>
compilation terminated.<br>
[3997/6869] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/fd.cc.o<br>
FAILED: third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/fd.cc.o<br>
/usr/bin/c++  -I/qssd/ptSRC/cmake/…/third_party/benchmark/include -I/qssd/ptSRC/cmake/…/third_party/cudnn_frontend/include -I/qssd/ptSRC/third_party/tensorpipe -I/qssd/ptSRC/build/third_party/tensorpipe -I/qssd/ptSRC/third_party/tensorpipe/third_party/libnop/include -I/qssd/ptSRC/third_party/tensorpipe/third_party/libuv/include -isystem /qssd/ptSRC/cmake/…/third_party/googletest/googlemock/include -isystem /qssd/ptSRC/cmake/…/third_party/googletest/googletest/include -isystem /qssd/ptSRC/third_party/protobuf/src -isystem /opt/intel/mkl/include -isystem /qssd/ptSRC/third_party/gemmlowp -isystem /qssd/ptSRC/third_party/neon2sse -isystem /qssd/ptSRC/third_party/XNNPACK/include -isystem /usr/include -isystem /qssd/ptSRC/third_party/ittapi/include -isystem /qssd/ptSRC/cmake/…/third_party/eigen -I/usr/local/cuda/include -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++14 -MD -MT third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/fd.cc.o -MF third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/fd.cc.o.d -o third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/fd.cc.o -c /qssd/ptSRC/third_party/tensorpipe/tensorpipe/common/fd.cc<br>
In file included from /usr/include/c++/7/ext/string_conversions.h:41:0,<br>
from /usr/include/c++/7/bits/basic_string.h:6361,<br>
from /usr/include/c++/7/string:52,<br>
from /usr/include/c++/7/stdexcept:39,<br>
from /qssd/ptSRC/third_party/tensorpipe/tensorpipe/common/fd.h:11,<br>
from /qssd/ptSRC/third_party/tensorpipe/tensorpipe/common/fd.cc:9:<br>
/usr/include/c++/7/cstdlib:75:15: fatal error: stdlib.h: No such file or directory<br>
<span class="hashtag-raw">#include_next</span> &lt;stdlib.h&gt;<br>
^~~~~~~~~~<br>
compilation terminated.<br>
[3998/6869] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/system.cc.o<br>
FAILED: third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/system.cc.o<br>
/usr/bin/c++  -I/qssd/ptSRC/cmake/…/third_party/benchmark/include -I/qssd/ptSRC/cmake/…/third_party/cudnn_frontend/include -I/qssd/ptSRC/third_party/tensorpipe -I/qssd/ptSRC/build/third_party/tensorpipe -I/qssd/ptSRC/third_party/tensorpipe/third_party/libnop/include -I/qssd/ptSRC/third_party/tensorpipe/third_party/libuv/include -isystem /qssd/ptSRC/cmake/…/third_party/googletest/googlemock/include -isystem /qssd/ptSRC/cmake/…/third_party/googletest/googletest/include -isystem /qssd/ptSRC/third_party/protobuf/src -isystem /opt/intel/mkl/include -isystem /qssd/ptSRC/third_party/gemmlowp -isystem /qssd/ptSRC/third_party/neon2sse -isystem /qssd/ptSRC/third_party/XNNPACK/include -isystem /usr/include -isystem /qssd/ptSRC/third_party/ittapi/include -isystem /qssd/ptSRC/cmake/…/third_party/eigen -I/usr/local/cuda/include -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++14 -MD -MT third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/system.cc.o -MF third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/system.cc.o.d -o third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/system.cc.o -c /qssd/ptSRC/third_party/tensorpipe/tensorpipe/common/system.cc<br>
In file included from /usr/include/c++/7/bits/stl_algo.h:59:0,<br>
from /usr/include/c++/7/algorithm:62,<br>
from /qssd/ptSRC/third_party/tensorpipe/tensorpipe/common/system.h:11,<br>
from /qssd/ptSRC/third_party/tensorpipe/tensorpipe/common/system.cc:9:<br>
/usr/include/c++/7/cstdlib:75:15: fatal error: stdlib.h: No such file or directory<br>
<span class="hashtag-raw">#include_next</span> &lt;stdlib.h&gt;<br>
^~~~~~~~~~<br>
compilation terminated.<br>
[4001/6869] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/socket.cc.o<br>
FAILED: third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/socket.cc.o<br>
/usr/bin/c++  -I/qssd/ptSRC/cmake/…/third_party/benchmark/include -I/qssd/ptSRC/cmake/…/third_party/cudnn_frontend/include -I/qssd/ptSRC/third_party/tensorpipe -I/qssd/ptSRC/build/third_party/tensorpipe -I/qssd/ptSRC/third_party/tensorpipe/third_party/libnop/include -I/qssd/ptSRC/third_party/tensorpipe/third_party/libuv/include -isystem /qssd/ptSRC/cmake/…/third_party/googletest/googlemock/include -isystem /qssd/ptSRC/cmake/…/third_party/googletest/googletest/include -isystem /qssd/ptSRC/third_party/protobuf/src -isystem /opt/intel/mkl/include -isystem /qssd/ptSRC/third_party/gemmlowp -isystem /qssd/ptSRC/third_party/neon2sse -isystem /qssd/ptSRC/third_party/XNNPACK/include -isystem /usr/include -isystem /qssd/ptSRC/third_party/ittapi/include -isystem /qssd/ptSRC/cmake/…/third_party/eigen -I/usr/local/cuda/include -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++14 -MD -MT third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/socket.cc.o -MF third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/socket.cc.o.d -o third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/socket.cc.o -c /qssd/ptSRC/third_party/tensorpipe/tensorpipe/common/socket.cc<br>
In file included from /usr/include/c++/7/ext/string_conversions.h:41:0,<br>
from /usr/include/c++/7/bits/basic_string.h:6361,<br>
from /usr/include/c++/7/string:52,<br>
from /usr/include/c++/7/stdexcept:39,<br>
from /usr/include/c++/7/array:39,<br>
from /usr/include/c++/7/tuple:39,<br>
from /usr/include/c++/7/bits/unique_ptr.h:37,<br>
from /usr/include/c++/7/memory:80,<br>
from /qssd/ptSRC/third_party/tensorpipe/tensorpipe/common/socket.h:15,<br>
from /qssd/ptSRC/third_party/tensorpipe/tensorpipe/common/socket.cc:9:<br>
/usr/include/c++/7/cstdlib:75:15: fatal error: stdlib.h: No such file or directory<br>
<span class="hashtag-raw">#include_next</span> &lt;stdlib.h&gt;<br>
^~~~~~~~~~<br>
compilation terminated.<br>
[4003/6869] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/core/context_impl.cc.o<br>
FAILED: third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/core/context_impl.cc.o<br>
/usr/bin/c++  -I/qssd/ptSRC/cmake/…/third_party/benchmark/include -I/qssd/ptSRC/cmake/…/third_party/cudnn_frontend/include -I/qssd/ptSRC/third_party/tensorpipe -I/qssd/ptSRC/build/third_party/tensorpipe -I/qssd/ptSRC/third_party/tensorpipe/third_party/libnop/include -I/qssd/ptSRC/third_party/tensorpipe/third_party/libuv/include -isystem /qssd/ptSRC/cmake/…/third_party/googletest/googlemock/include -isystem /qssd/ptSRC/cmake/…/third_party/googletest/googletest/include -isystem /qssd/ptSRC/third_party/protobuf/src -isystem /opt/intel/mkl/include -isystem /qssd/ptSRC/third_party/gemmlowp -isystem /qssd/ptSRC/third_party/neon2sse -isystem /qssd/ptSRC/third_party/XNNPACK/include -isystem /usr/include -isystem /qssd/ptSRC/third_party/ittapi/include -isystem /qssd/ptSRC/cmake/…/third_party/eigen -I/usr/local/cuda/include -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++14 -MD -MT third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/core/context_impl.cc.o -MF third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/core/context_impl.cc.o.d -o third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/core/context_impl.cc.o -c /qssd/ptSRC/third_party/tensorpipe/tensorpipe/core/context_impl.cc<br>
In file included from /usr/include/c++/7/ext/string_conversions.h:41:0,<br>
from /usr/include/c++/7/bits/basic_string.h:6361,<br>
from /usr/include/c++/7/string:52,<br>
from /usr/include/c++/7/stdexcept:39,<br>
from /usr/include/c++/7/array:39,<br>
from /usr/include/c++/7/tuple:39,<br>
from /usr/include/c++/7/bits/stl_map.h:63,<br>
from /usr/include/c++/7/map:61,<br>
from /qssd/ptSRC/third_party/tensorpipe/tensorpipe/core/context_impl.h:12,<br>
from /qssd/ptSRC/third_party/tensorpipe/tensorpipe/core/context_impl.cc:9:<br>
/usr/include/c++/7/cstdlib:75:15: fatal error: stdlib.h: No such file or directory<br>
<span class="hashtag-raw">#include_next</span> &lt;stdlib.h&gt;<br>
^~~~~~~~~~<br>
compilation terminated.<br>
[4005/6869] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/core/context.cc.o<br>
FAILED: third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/core/context.cc.o<br>
/usr/bin/c++  -I/qssd/ptSRC/cmake/…/third_party/benchmark/include -I/qssd/ptSRC/cmake/…/third_party/cudnn_frontend/include -I/qssd/ptSRC/third_party/tensorpipe -I/qssd/ptSRC/build/third_party/tensorpipe -I/qssd/ptSRC/third_party/tensorpipe/third_party/libnop/include -I/qssd/ptSRC/third_party/tensorpipe/third_party/libuv/include -isystem /qssd/ptSRC/cmake/…/third_party/googletest/googlemock/include -isystem /qssd/ptSRC/cmake/…/third_party/googletest/googletest/include -isystem /qssd/ptSRC/third_party/protobuf/src -isystem /opt/intel/mkl/include -isystem /qssd/ptSRC/third_party/gemmlowp -isystem /qssd/ptSRC/third_party/neon2sse -isystem /qssd/ptSRC/third_party/XNNPACK/include -isystem /usr/include -isystem /qssd/ptSRC/third_party/ittapi/include -isystem /qssd/ptSRC/cmake/…/third_party/eigen -I/usr/local/cuda/include -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++14 -MD -MT third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/core/context.cc.o -MF third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/core/context.cc.o.d -o third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/core/context.cc.o -c /qssd/ptSRC/third_party/tensorpipe/tensorpipe/core/context.cc<br>
In file included from /usr/include/c++/7/ext/string_conversions.h:41:0,<br>
from /usr/include/c++/7/bits/basic_string.h:6361,<br>
from /usr/include/c++/7/string:52,<br>
from /usr/include/c++/7/stdexcept:39,<br>
from /usr/include/c++/7/array:39,<br>
from /usr/include/c++/7/tuple:39,<br>
from /usr/include/c++/7/bits/unique_ptr.h:37,<br>
from /usr/include/c++/7/memory:80,<br>
from /qssd/ptSRC/third_party/tensorpipe/tensorpipe/core/context.h:11,<br>
from /qssd/ptSRC/third_party/tensorpipe/tensorpipe/core/context.cc:9:<br>
/usr/include/c++/7/cstdlib:75:15: fatal error: stdlib.h: No such file or directory<br>
<span class="hashtag-raw">#include_next</span> &lt;stdlib.h&gt;<br>
^~~~~~~~~~<br>
compilation terminated.<br>
[4024/6869] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/FbgemmI8DepthwiseAvx2.cc.o<br>
ninja: build stopped: subcommand failed.</p>
</blockquote>