Re: [lfs-support] PROBLEM IN GCC-4.7.1 PASS 1 COMPILATION

2013-02-20 Thread stosss
On Wed, Feb 20, 2013 at 6:15 AM, Rubin Saifi  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


Re: [lfs-support] PROBLEM IN GCC-4.7.1 PASS 1 COMPILATION

2013-02-20 Thread Nicholas McCurdy
The compile is not finding MPFR as your error log states.


There's not enough of the log presented in this email for me to much more than 
guess at your problem, but I would look at where you extracted the mpfr and gmp 
tarballs.  If this happens to be just a symptom of a more elusive error, 
there's not enough information to reveal any clues that I can detect.


Hoping that it's a simple fix: Be sure that you are in the gcc-4.4.1 source 
directory for that extraction process before changing to the gcc-build 
directory for the configure process.


I am only guessing, but I would expect your particular error if a) the two 
steps were somehow reversed, or b) the extraction of mpfr and gmp was done from 
the /mnt/lfs/sources/ level instead of /mnt/lfs/sources/gcc-4.4.1/...


I hope I'm contributing positively to your efforts.  I feel that most of the 
seasoned active responders on this list are a few timezones behind me...  
perhaps better ideas are on their way.




Nicholas McCurdy
mindwarpstud...@aim.com




-Original Message-
From: Rubin Saifi 
To: lfs-support 
Sent: Wed, Feb 20, 2013 12:15 pm
Subject: [lfs-support] PROBLEM IN GCC-4.7.1 PASS 1 COMPILATION


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

Thanks
  
 
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

 
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page