2011/7/10 名扬剑仙 <[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)


/tools/bin/grep may be linked to /lib/ld-linux.so.2 instead of
/tools/lib/ld-linux.so.2

On the host, type in ldd /tools/bin/grep to find out what libraries it
is linked to.


-- 
Nathan Coulson (conathan)
------
Location: British Columbia, Canada
Timezone: PST (-8)
Webpage: http://www.nathancoulson.com
-- 
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