Stuck on Page 43 (chapter 5.8 Toolchain)

Marcus Wanner marcusw at cox.net
Sun Oct 11 06:01:34 PDT 2009


On 10/11/2009 8:20 AM, Ken Turner wrote:
> Thanks Justin for the reply. 
>
> I have done as you have said and I do have the file under /usr/lib. But the error remains. 
>
> Thanks David 
>
>
>
> ----- Original Message ----- 
> From: "Justin P. Mattock" <justinmattock at gmail.com> 
> To: "LFS Support List" <lfs-support at linuxfromscratch.org> 
> Sent: Saturday, October 10, 2009 6:30:24 PM GMT -06:00 US/Canada Central 
> Subject: Re: Stuck on Page 43 (chapter 5.8 Toolchain) 
>
> Ken Turner wrote: 
>   
>> I am trying to the following and getting the subsequent error: 
>>
>>
>> lfs:/mnt/lfs/sources$ $LFS_TGT-gcc -B/tools/lib 
>> dummy.c/mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.3.2/../../../../i686-lfs-linux-gnu/bin/ld: 
>> crt1.o: No such file: No such file or directory 
>> collect2: ld returned 1 exit status 
>>
>>
>> Can anyone point me the right direction. I tried google but the 
>> threads are pretty vague.... 
>>
>>
>> Thanks David 
>>     
> your missing the object files in /usr/lib 
> ls -l /usr/lib/*.o 
> /usr/lib/Mcrt1.o 
> /usr/lib/Scrt1.o 
> /usr/lib/crt1.o 
> /usr/lib/crti.o 
> /usr/lib/crtn.o 
> /usr/lib/gcrt1.o 
>
> Justin P. Mattock 
>   
You need to copy those to the /mnt/lfs/tools/usr/lib directory.

Marcus



More information about the lfs-support mailing list