"make" error, of significance?
mullinrobert at gmail.com
Wed Nov 24 16:21:14 PST 2010
make yields the following message ... should I be concerned?
../../gcc-4.5.1/gcc/tree.h:5459: error: 'LANG_TYPE' undeclared (first
use in this function)
../../gcc-4.5.1/gcc/tree.h:5459: warning: comparison is always true due
to limited range of data type
make: *** [build/gencondmd.o] Error 1
make: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2
Bruce Dubbs wrote:
> robert wrote:
>> Arrived at step 5.5.1, Installation of Cross GCC.
>> I am using "LFS-BOOK-6.7-HTML/chapter05/gcc-pass1.html"
>> I have unpacked the mpfr, gmp, and mpc tarballs and renamed the
>> resulting directories as instructed
> What was your directory location when you unpacked the tarballs?
> It should have been /mnt/lfs/sources/gcc-4.5.1.
> -- Bruce
>> I created /mnt/lfs/sources/gcc-build directory
>> then, cd /mnt/lfs/sources/gcc-build
>> I issued the "prepare for compilation" configure command (copy and paste)
>> when I issue "make" command, I receive the following error message:
>> checking for the correct version of gmp.h... no
>> configure: error: Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC
>> 0.8.0+. Try the --with-gmp, --with-mpfr and/or --with-mpc options to
>> specify their locations.
>> I don't understand the syntax of --with-gmp ...
>> Thanks in advance for your help.
More information about the lfs-support