[lfs-support] Binutils compiling error

Baho Utot baho-utot at columbus.rr.com
Wed Aug 29 14:44:43 PDT 2012


On 08/29/2012 04:55 PM, Bruce Dubbs wrote:
> Aydın Demirel wrote:
>> Hi;
>>
>> 29-08-2012 23:14 tarihinde, Bruce Dubbs yazdı:
>>> Aydın Demirel wrote:
>>>> Hi;
>>>>
>>>> I try to compiling lfs stable version (7.1). Currently, binutils package
>>>> gives an error while compiling:
>>>>
>>>>>    checking for gmp.h... no
>>>>>    configure: error: gmp.h can't be found, or is unusable
>>>>>    make[2]:***** [configure-stage1-mpfr] Error 1
>>>>>    make[2]: Leaving directory `/mnt/lfs/sources/build-gcc'
>>>>>    make[1]:***** [stage1-bubble] Error 2
>>>>>    make[1]: Leaving directory `/mnt/lfs/sources/build-gcc'
>>>>>    make:***** [all] Error 2
>>> If you have a problem with binutils, why are you in the build-gcc
>>> directory?
>> Yes, you are right. I sent another error (wrong copy :) ) Actual error
>> is following:
>>
>> checking for gmp.h... no
>> configure: error: gmp.h can't be found, or is unusable.
>> make[1]: *** [configure-mpfr] Error 1
>> make[1]: Leaving directory `/mnt/lfs/binutils-build'
>> make: *** [all] Error 2
>>
>>> If you are trying to build gcc, follow the instructions explicitly.
>>>
>>>
>>> In LFS, you build both binutils and gcc three times.  You need to
>>> specify which part of the book that is giving you problems.
>> Can you re-evaluates accordingly?
> Not really.  binutils does not use gmp.
>
>     -- Bruce
>
>
>

Did you unpack mpfr into the binutils directory?

If so that's not right





More information about the lfs-support mailing list