Hi everyone, trying to build a LFS system for the first time, followed the
handbook up to the point of GCC, running the "make" and getting this:
...
...
...
else \
set -e; for ml in `cat fixinc_list`; do \
sysroot_headers_suffix=`echo ${ml} | sed -e 's/;.*$//'`; \
multi_dir=`echo ${ml} | sed -e 's/^[^;]*;//'`; \
fix_dir=include-fixed${multi_dir}; \
if ! true && test ! -d `echo
/mnt/lfs${sysroot_headers_suffix}/mnt=/lfs/tools/include | sed -e :a -e
's,[^/]*/\.\.\/,,' -e ta`; then \
echo The directory that should contain system headers does not exist: >&2
; \
echo " `echo /mnt/lfs${sysroot_headers_suffix}/mnt=/lfs/tools/include |
sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`" >&2 ; \
tooldir_sysinc=`echo
"/mnt/lfs/tools/lib/gcc/x86_64-lfs-linux-gnu/6.3.0/../../../../x86_64-lfs-linux-gnu/sys-include"
| sed -e :a -e "s,[^/]*/\.\.\/,," -e ta`; \
if test "x`echo /mnt/lfs${sysroot_headers_suffix}/mnt=/lfs/tools/include
| sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`" = "x${tooldir_sysinc}"; \
then sleep 1; else exit 1; fi; \
fi; \
/bin/sh ../../gcc/../mkinstalldirs ${fix_dir}; \
chmod a+rx ${fix_dir} || true; \
(TARGET_MACHINE='x86_64-lfs-linux-gnu'; srcdir=`cd ../../gcc;
${PWDCMD-pwd}`; \
SHELL='/bin/sh'; MACRO_LIST=`${PWDCMD-pwd}`/macro_list ; \
gcc_dir=`${PWDCMD-pwd}` ; \
export TARGET_MACHINE srcdir SHELL MACRO_LIST && \
cd ../build-x86_64-pc-linux-gnu/fixincludes && \
/bin/sh ./fixinc.sh "${gcc_dir}/${fix_dir}" \
`echo /mnt/lfs${sysroot_headers_suffix}/mnt=/lfs/tools/include | sed -e
:a -e 's,[^/]*/\.\.\/,,' -e ta` ); \
rm -f ${fix_dir}/syslimits.h; \
if [ -f ${fix_dir}/limits.h ]; then \
mv ${fix_dir}/limits.h ${fix_dir}/syslimits.h; \
else \
cp ../../gcc/gsyslimits.h ${fix_dir}/syslimits.h; \
fi; \
chmod a+r ${fix_dir}/syslimits.h; \
done; \
fi
make[3]: Entering directory '/mnt/lfs/sources/gcc-6.3.0/build/prev-gcc'
make[3]: *** No rule to make target 'real-install-headers-tar'. Stop.
make[3]: Leaving directory '/mnt/lfs/sources/gcc-6.3.0/build/prev-gcc'
make[2]: *** [Makefile:2909: stmp-fixinc] Error 2
make[2]: Leaving directory '/mnt/lfs/sources/gcc-6.3.0/build/gcc'
make[1]: *** [Makefile:4119: all-gcc] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/gcc-6.3.0/build'
make: *** [Makefile:864: all] Error 2
Googling doesn't help with any possible resolutions and I've tried this a few
times by changing the ./configure parameters and it hasn't made any
difference... can anyone assist?
Thanks!
Phil.
(If it helps, I'm using Gentoo as the host Linux environment to build the LFS.)
--
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