I am following LFS-systemd Book 9.0. When compiling Gcc Pass 2 I get the following fatal error:

make[2]: Entering directory '/mnt/lfs/sources/gcc-9.2.0/build/build-x86_64-pc-linux-gnu/libcpp' x86_64-lfs-linux-gnu-g++ -I../../../libcpp -I. -I../../../libcpp/../include -I../../../libcpp/include -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../../libcpp -I. -I../../../libcpp/../include -I../../../libcpp/include -c -o charset.o -MT charset.o -MMD -MP -MF .deps/charset.Tpo ../../../libcpp/charset.c
In file included from ../../../libcpp/charset.c:21:
../../../libcpp/system.h:41:10: fatal error: new: No such file or directory
   41 | #include <new>
      |          ^~~~~
compilation terminated.
make[2]: *** [Makefile:224: charset.o] Error 1
make[2]: Leaving directory '/mnt/lfs/sources/gcc-9.2.0/build/build-x86_64-pc-linux-gnu/libcpp'
make[1]: *** [Makefile:2808: all-build-libcpp] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/gcc-9.2.0/build'
make: *** [Makefile:961: all] Error 2

As far as I know I have not been deviating from the instructions in the book.
Can anyone point me to a solution?
Thanks in advance.

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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to