i got error in 6.12-GCC-4.0.3 of LFS-Book-6.2
Hi,
i didn't remove the gcc-build and gcc-4.0.3 directories but i have successfully compile and install the gcc pass2.
first i have done the bellow steps:
i have "cd" to the "gcc-4.0.3" directory and the i have applied the "sed" commands.
==============================================================
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
==============================================================
==============================================================
sed -i 's/^XCFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in
==============================================================
============================================================
sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
============================================================
============================================================
sed -i 's/@have_mktemp_command@/yes/' gcc/gccbug.in
============================================================
and the Configuration is
============================================================
../gcc-4.0.3/configure --prefix=/usr \
--libexecdir=/usr/lib --enable-shared \
--enable-threads=posix --enable-__cxa_atexit \
--enable-clocale=gnu --enable-languages=c,c++
============================================================
and I'm getting error after " make" the error is something like this
========================================
warning: 'flex' not found
========================================
but the the Book in section 6.12 said that,
********************
Test the results, but do not stop at errors:
_____________
make -k check
_____________
********************
Now , please tell me what i have to do now, how to get rid from this error...
THANX in Advance...
|