On 10/14/2018 09:23 PM, rhubarbpieguy via blfs-support wrote:

On 10/14/18 3:05 PM, Bruce Dubbs via blfs-support wrote:
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

OK, it's not that big a deal to redo LFS 8.3.  I've nuked all my log files but don't remember a problem with the output of "Adjusting the Toolchain."  Regardless, I'll go again and save that output.  I'll repost either way to this topic with the outcome.

Also, take a look at http://anduin.linuxfromscratch.org/~bdubbs/sanity.html. If you are using the -dev book (or systemd), there are probably differences, but they should be very few if checking after gcc in Chapter 6.

  -- 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