Finally SOLVED this problem!
I just change directory to /mnt/lfs/sources/glibc-build and run `make
clean && make && make install` and all things OK!
Although a little WEIRD ...

2014-07-03 10:57 GMT+08:00 樱木洋葱 <[email protected]>:
> New progess: I find these three files using locate:
> /mnt/lfs/sources/glibc-build/csu/crt1.o
> /mnt/lfs/sources/glibc-build/csu/crti.o
> /mnt/lfs/sources/glibc-build/csu/crti.o.d
> /mnt/lfs/sources/glibc-build/csu/crtn.o
> /mnt/lfs/sources/glibc-build/csu/crtn.o.d
> /mnt/lfs/sources/glibc-build/csu/gcrt1.o
> /mnt/lfs/sources/glibc-build/nptl/crti.o
> /mnt/lfs/sources/glibc-build/nptl/crtn.o
> /mnt/lfs/sources/glibc-build/nptl/crtn.o.d
> /mnt/lfs/sources/glibc-build/nptl/pt-crti.o
> /mnt/lfs/sources/glibc-build/nptl/pt-crti.o.d
>
> But from the gcc log I can see them aren't in lib path. Should I add
> them to lib path?
>
> 2014-07-03 10:30 GMT+08:00 樱木洋葱 <[email protected]>:
>> Oh, I tried this command just after I installed the glibc in chapter 5.7.
>> I found these .o files in the host system and should I copy them into
>> my LFS project?
>>
>> 2014-07-02 20:11 GMT+08:00 Armin K. <[email protected]>:
>>> On 07/02/2014 11:05 AM, 樱木洋葱 wrote:
>>>> Hi,
>>>>
>>>> Me again.
>>>> The problem I encountered
>>>> (http://lists.linuxfromscratch.org/pipermail/lfs-support/2014-July/047206.html)
>>>> has been conquered. And I meet with a new problem.
>>>>
>>>> When I follow the instructions
>>>> (http://www.linuxfromscratch.org/lfs/view/stable/chapter05/glibc.html)
>>>> , I tried the $LFS-TGT-gcc -v dummy.c and I got the error message as
>>>> following:
>>>>
>>>
>>> The cross compiler is useless before you build chapter 5 glibc. If you
>>> ran the command before installing glibc in chapter 5, then it's expected
>>> that you get such errors.
>>>
>>> --
>>> Note: My last name is not Krejzi.
>>> --
>>> http://lists.linuxfromscratch.org/listinfo/lfs-support
>>> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
>>> Unsubscribe: See the above information page



-- 
刘洋

果壳网Python开发攻城师

tel:18911634706
email:[email protected]
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to