On Wed, Feb 20, 2013 at 6:15 AM, Rubin Saifi <rubinsa...@live.com> wrote:
> here is the error that i am getting
> ------------------------------------------------------------------------------------------------------------------
> checking for __gmpz_init in -lgmp... yes
> checking for MPFR... no
> configure: error: libmpfr not found or uses a different ABI (including
> static vs shared).
> make[1]: *** [configure-mpc] Error 1
> make[1]: Leaving directory `/lfs/sources/build-gcc'
> make: *** [all] Error 2
> ------------------------------------------------------------------------------------------------------------------
>
> i don't know how to get it done .... i have done all of the steps that are
> mentioned in the LFS-7.2 guide Book
>
> please Provide the solution for it
>

Did you untar gcc-4.7.1

Did you

cd gcc-4.7.1

before doing this below?

Did you do this section carefully? Including reading the note?

5.5.1. Installation of Cross GCC

GCC now requires the GMP, MPFR and MPC packages. As these packages may
not be included in your host distribution, they will be built with
GCC. Unpack each package into the GCC source directory and rename the
resulting directories so the GCC build procedures will automatically
use them:

Note

There are frequent misunderstandings about this chapter. The
procedures are the same as every other chapter as explained earlier
(Package build instructions). First extract the gcc tarball from the
sources directory and then change to the directory created. Only then
should you proceed with the instructions below.

tar -Jxf ../mpfr-3.1.1.tar.xz
mv -v mpfr-3.1.1 mpfr
tar -Jxf ../gmp-5.0.5.tar.xz
mv -v gmp-5.0.5 gmp
tar -zxf ../mpc-1.0.tar.gz
mv -v mpc-1.0 mpc
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to