On 10/14/2018 02:28 PM, rhubarbpieguy via blfs-support wrote:

In file included from /usr/include/c++/8.2.0/ext/string_conversions.h:41,
                  from /usr/include/c++/8.2.0/bits/basic_string.h:6391,
                  from /usr/include/c++/8.2.0/string:52,
                  from /sources/poppler-0.67.0/goo/GooString.h:42,
                  from /sources/poppler-0.67.0/poppler/Object.h:45,
                  from /sources/poppler-0.67.0/poppler/GfxState.h:43,
                  from /sources/poppler-0.67.0/splash/SplashBitmap.h:39,
                  from /sources/poppler-0.67.0/test/gtk-test.cc:9:
/usr/include/c++/8.2.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
  #include_next <stdlib.h>
                ^~~~~~~~~~
compilation terminated.

I have seen this before, but in LFS. This type of error seems to be an issue with the glibc or gcc build from LFS Chapter 6. I have never been able to pin down exactly what build error causes this, but my solution for students is to go back and restart Chapter 6.

I know you do not want to hear this, but you have a problem with your tool chain. At a minimum, you should have:

/usr/include/bits/stdlib.h
/usr/include/c++/8.2.0/tr1/stdlib.h
/usr/include/c++/8.2.0/stdlib.h
/usr/include/stdlib.h

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to