[lfs-support] Error building gcc pass 2 in ch.5

hans kaper spakyelj at xs4all.nl
Thu Sep 19 05:10:20 PDT 2013


Op Wed, 18 Sep 2013 22:25:30 +0200 schreef Bruce Dubbs <bruce.dubbs at gmail.com>:

> hans kaper wrote:
>> After failing to be able to use the tools from LFS 7.3 in 7.4, I
>> decided to build the tools from the book 7.4. I soon ran into another
>> problem: after building the tools up and until Binutils pass 2
>> without errors,  I got the following error building GCC, pass 2:
>>
>> ../../gcc-4.8.1/gcc/system.h:205:20: fatal error: cstring: No such
>> file or directory # include <cstring> ^ compilation terminated.
>>
>>
>> The file cstring is not found. I assume it has to be somewhere in the
>> gcc-build but I don't know why not.
>>
>> I deleted the tools and started anew, with the same result. The
>> md5sum for GCC is correct and so are the system-requirements. The
>> build-directories were deleted from /source after the pass 1-build.
>>
>> Any idea what is wrong?
>
> Did you install libstdc++-4.8.1 (section 5.8)?  Did you delete prior
> gcc-build and gcc-4.8.1 directories before reextracting gcc for each of
> GCC-4.8.1 - Pass 1,  Libstdc++-4.8.1, GCC-4.8.1 - Pass 2?
>
>    -- Bruce
>
Yes, I did all that.


Hans.



More information about the lfs-support mailing list