> Date: Thu, 17 Jul 2014 20:27:27 +0100
> From: [email protected] (akhiezer)
> To: LFS Support List <[email protected]>
> Subject: Re: [lfs-support] fatal error: cstring: No such file or directory -
>  Chapter 5 of 2 pass gcc
>
        .
        .
> > > > >
> > > > >  make [2]: Leaving directory `/
> > > > >> mnt/lfs-BusyBox-2014-07-16/sources/gcc-build/libdecnumber '
> > > > >> make [2]: Entering directory `/
> > > > >> mnt/lfs-BusyBox-2014-07-16/sources/gcc-build/gcc '
> > > > >> TARGET_CPU_DEFAULT = "" \
> > > > >> HEADERS = "auto-host.h ansidecl.h" DEFINES = "" \
> > > > >> / bin / sh .. / config.h ../gcc-4.9.0/gcc/mkconfig.sh
> > > > >> TARGET_CPU_DEFAULT = "" \
> > > > >> HEADERS = "options.h insn-constants.h config / vxworks-dummy.h
> > > > >> config/i386/biarch64.h config/i386/i386.h config/i386/unix.h
> > > > >> config/i386/att.h config / dbxelf. h config / elfos.h config /
> > > gnu-user.h
> > > > >> config / glibc-stdint.h config/i386/x86-64.h
> > > config/i386/gnu-user-common.h
> > > > >> config/i386/gnu-user64.h config / linux.h config / linux-android.h
> > > > >> config/i386/linux-common.h config/i386/linux64.h config /
> > > initfini-array.h
> > > > >> defaults.h "DEFINES =" LIBC_GLIBC LIBC_UCLIBC = 1 = 2 = 3 LIBC_BIONIC
> > > > >> DEFAULT_LIBC = LIBC_GLIBC ANDROID_DEFAULT = 0 "\
> > > > >> / bin / sh .. / ../gcc-4.9.0/gcc/mkconfig.sh tm.h
> > > > >> TARGET_CPU_DEFAULT = "" \
> > > > >> HEADERS = "config/i386/i386-protos.h config / linux-tm-protos.h
> > > preds.h"
> > > > >> DEFINES = "" \
> > > > >> / bin / sh .. / ../gcc-4.9.0/gcc/mkconfig.sh tm_p.h
> > > > >> TARGET_CPU_DEFAULT = "" \
> > > > >> HEADERS = "auto-host.h ansidecl.h" DEFINES = "" \
> > > > >> / bin / sh .. / ../gcc-4.9.0/gcc/mkconfig.sh bconfig.h
> > > > >> x86_64-lfs-linux-gnu-g +
> > > > >>
> > > +-c-g-O2-DIN_GCC-fno-exceptions-fno-rtti-fasynchronous-unwind-tables-W-
> > > > >> Wall-Wno-narrowing-Wwrite-strings-Wcast-qual-Wmissing-
> > > > >> format-attribute-pedantic-Wno-long-long-Wno-variadic-macros-
> > > > >> Wno-overlength-strings-DHAVE_CONFIG_H-I-DGENERATOR_FILE.
> > > > >> Ibuild--I../../gcc-4.9.0/gcc -I../../gcc-4.9.0/gcc/build
> > > > >> -I../../gcc-4.9.0/gcc / .. / include
> > > > >> -I../../gcc-4.9.0/gcc/../libcpp/include \
> > > > >> -o build / genmddeps.o .. / ../gcc-4.9.0/gcc/genmddeps.c
> > > > >> In file included from .. / ../gcc-4.9.0/gcc/genmddeps.c: 19:0:
> > > > >> ../../gcc-4.9.0/gcc/system.h: 205:20: fatal error: cstring: No such
> > > file
> > > > >> or
> > > > >> directory
> > > > >>    # Include <cstring>
> > > > >>                       ^
> > > > >> compilation terminated.
> > > > >> make [2]: *** [build / genmddeps.o] Error 1
> > > > >> make [2]: Leaving directory `/
> > > > >> mnt/lfs-BusyBox-2014-07-16/sources/gcc-build/gcc '
> > > > >> make [1]: *** [all-gcc] Error 2
> > > > >> make [1]: Leaving directory `/ mnt/lfs-BusyBox-2014-07-16/
> > > > >> sources/gcc-build
> > > > >> '
> > > > >> make: *** [all] Error 2
> > > > >>
> > > > >>
> > > > >> I checked and the compilation of libstdc + + -4.9.0 seems to be fair,
> > > at
> > > > >> every stage of compilation gate source and build folders.
> > > > >> The same error occurs on the last stable version of LFS with gcc 
> > > > >> 4.8.2
> > > > >> Is there anyone who can give me a hand to solve the problem?
> > > > >>


Did you definitely do the 'make install' part for libstc++... ?

Ref:
--
* 
http://www.linuxquestions.org/questions/linux-from-scratch-13/gcc-error-building-tools-on-7-4-rc1-chapter-5-10-gcc-4-8-1-pass-2-a-4175475181/
* 
http://www.linuxfromscratch.org/pipermail/lfs-support/2013-September/045623.html
--


akh


> > > > >>
        .
        .
> > > > >>


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

Reply via email to