Not sure as to what your problem is from your description, but I think
your glibc configure parameters are not as per the book. Section 5.7.1
of the book 
(http://www.linuxfromscratch.org/lfs/view/stable/chapter05/glibc.html)
says:

../glibc-2.13/configure --prefix=/tools \
   --host=$LFS_TGT --build=$(../glibc-2.13/scripts/config.guess) \
   --disable-profile --enable-add-ons \
   --enable-kernel=2.6.22.5 --with-headers=/tools/include \
   libc_cv_forced_unwind=yes libc_cv_c_cleanup=yes

making the prefix to be /usr will replace the existing headers in the
host system.

2011/7/11 名扬剑仙 <[email protected]>:
> Good day, everyone.
>        I am a LFS newbie, and a English newbie. To make my words short, I 
> sorted some essential information below:
>
>
> Book:           Linux From Scratch - Version 6.8
> Chapenter:      6.9. Glibc-2.13
> Step:           Inputing:
>                        ../glibc-2.13/configure --prefix=/usr \
>                            --disable-profile --enable-add-ons \
>                            --enable-kernel=2.6.22.5 
> --libexecdir=/usr/lib/glibc
> Output:         checking whether __attribute__((visivility())) is 
> supported...          ../glibc-2.13/configure: line 6087: /tools/bin/grep:No 
> such file or directory
>                no
>                configure: error: compiler support for visibility attribute is 
> required
> Current Working Directory: /soureces/glibc-build
> Measure Taken:
>                exit to real root, recompile grep, back to chroot environment
>                exit to real root, give 777 to the grep file, back to chroot 
> environment
>                restart, prepare overall environment (like export $LFS), chroot
> Measure Failed:
>                exit to real root, recompile grep, back to chroot environment
>                exit to real root, give 777 to the grep file, back to chroot 
> environment
>                restart, prepare overall environment (like export $LFS), chroot
> Related Infomation:
>                root:/sources/glibc-build# dir /tools/bin/*grep*
>                /tools/bin/bzegrep      /tools/bin/fgrep        
> /tools/bin/lzgrep       /tools/bin/xzgrep
>                /tools/bin/bzfgrep      /tools/bin/grep /tools/bin/msggrep     
>  /tools/bin/zegrep
>                /tools/bin/bzgrep       /tools/bin/lzegrep      
> /tools/bin/xzegrep      /tools/bin/zfgrep
>                /tools/bin/egrep        /tools/bin/lzfgrep      
> /tools/bin/xzfgrep      /tools/bin/zgrep
> Additional Hope:
>                Avoid recompiling from the start of the book, as far as 
> possible.
> Overall Building Infomation:
>                I wrote a .txt list of what I was expected to input, and 
> inputed it with Autohotkey, and then I go to school, so it would not stop 
> when a error occured.
>                Generally speaking, there would not be any mistakes in the 
> input list. But if you would like to, you can still reach the list at  
> http://the.tslmy.tk/view.php?name=LFS_build_list.txt  .
>
>
>
>
> Could anyone possibily give a honourable hand to helpless me?
>
>
>                                                --tslmy
>                                                  (Li Mingyang)
> --
> 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

Reply via email to