Re: [lfs-support] LFS 8.0 Chapter 5.10 GCC-6.3.0 - Pass 2
2017-03-23 2:56 GMT+01:00 Owen Cook : > > == > > Hi people, I can't compile with make in this pass, It return me this: > > ... > i686-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 -Woverloaded-virtual -pedantic > -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings > -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../gcc > -I../../gcc/build -I../../gcc/../include -I../../gcc/../libcpp/include \ > -o build/genmddeps.o ../../gcc/genmddeps.c > In file included from ../../gcc/genmddeps.c:19:0: > ../../gcc/system.h:221:22: fatal error: algorithm: No such file or > directory > # include > ^ > compilation terminated. > Makefile:2495: recipe for target 'build/genmddeps.o' failed > make[2]: *** [build/genmddeps.o] Error 1 > make[2]: Leaving directory '/mnt/lfs/sources/gcc-6.3.0/build/gcc' > Makefile:4146: recipe for target 'all-gcc' failed > make[1]: *** [all-gcc] Error 2 > make[1]: Leaving directory '/mnt/lfs/sources/gcc-6.3.0/build' > Makefile:886: recipe for target 'all' failed > make: *** [all] Error 2 > > > Does anyone know where the error can come from? > > IIRC > > The first pass uses gmp etc. > > You need to delete that first pass directory and build the second pass as > per instructions. > > Thanks for your reply. I have restarted the installation with more attention and this error does not occur anymore. Thanks. > > > > Owen > -- > 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 > -- 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
Re: [lfs-support] LFS 8.0 Chapter 5.10 GCC-6.3.0 - Pass 2
Yes Bruce, I removed the extracted gcc directory after gcc-pass1. I remove and try another time and the same error is repeated every time. Regards, @santimoreno 2017-03-22 17:07 GMT+01:00 Bruce Dubbs : > Santi Moreno wrote: > >> Hi people, I can't compile with make in this pass, It return me this: >> >> ... >> i686-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 -Woverloaded-virtual -pedantic >> -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings >> -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../gcc >> -I../../gcc/build -I../../gcc/../include -I../../gcc/../libcpp/include \ >> -o build/genmddeps.o ../../gcc/genmddeps.c >> In file included from ../../gcc/genmddeps.c:19:0: >> ../../gcc/system.h:221:22: fatal error: algorithm: No such file or >> directory >> # include >>^ >> compilation terminated. >> Makefile:2495: recipe for target 'build/genmddeps.o' failed >> make[2]: *** [build/genmddeps.o] Error 1 >> make[2]: Leaving directory '/mnt/lfs/sources/gcc-6.3.0/build/gcc' >> Makefile:4146: recipe for target 'all-gcc' failed >> make[1]: *** [all-gcc] Error 2 >> make[1]: Leaving directory '/mnt/lfs/sources/gcc-6.3.0/build' >> Makefile:886: recipe for target 'all' failed >> make: *** [all] Error 2 >> >> Doesanyone know where the error can come from? >> > > I don't recall the exact reason for this, but I suspect you did not remove > the extracted gcc directory after gcc-pass1. Try removing the gcc-6.3.0 > directory, re-extracting the tarball, and rebuilding. > > Reference: http://www.linuxfromscratch.org/lfs/view/stable/chapter05/ge > neralinstructions.html > > Second note labeled "Important". > > -- Bruce > -- > 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 > -- 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
[lfs-support] LFS 8.0 Chapter 5.10 GCC-6.3.0 - Pass 2
Hi people, I can't compile with make in this pass, It return me this: ... i686-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 -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../gcc -I../../gcc/build -I../../gcc/../include -I../../gcc/../libcpp/include \ -o build/genmddeps.o ../../gcc/genmddeps.c In file included from ../../gcc/genmddeps.c:19:0: ../../gcc/system.h:221:22: fatal error: algorithm: No such file or directory # include ^ compilation terminated. Makefile:2495: recipe for target 'build/genmddeps.o' failed make[2]: *** [build/genmddeps.o] Error 1 make[2]: Leaving directory '/mnt/lfs/sources/gcc-6.3.0/build/gcc' Makefile:4146: recipe for target 'all-gcc' failed make[1]: *** [all-gcc] Error 2 make[1]: Leaving directory '/mnt/lfs/sources/gcc-6.3.0/build' Makefile:886: recipe for target 'all' failed make: *** [all] Error 2 Does anyone know where the error can come from? Regards, and excuse me for my poor english. @santimoreno -- 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