<br><br><div class="gmail_quote">On Sun, Nov 27, 2011 at 8:19 PM, Andrew Bradford <span dir="ltr"><<a href="mailto:bradfa@gmail.com">bradfa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On 11/01/2011 09:21 PM, sayed israr wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
    /*****************************<u></u>******************************<u></u>******************************<u></u>******************************<u></u>***/<br>
     >  CLFS_HOST="i686-cross-linux-<u></u>gnu"<br>
     >  CLFS_TARGET="i486-pc-linux-<u></u>uclibc"<br>
     >  CLFS_ARCH="i386"<br>
     >  CLFS_ENDIAN="little"<br>
     >  CLFS_CPU="i486"<br>
     ><br>
    /*****************************<u></u>******************************<u></u>******************************<u></u>******************************<u></u>****/<br>
     ><br>
     > AR=ar LDFLAGS="-Wl,-rpath,${CLFS}/<u></u>cross-tools/lib" \<br>
     >   ../gcc-4.6.1/configure --prefix=${CLFS}/cross-tools \<br>
     >   --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \<br>
     >   --with-sysroot=${CLFS} --disable-nls --enable-shared \<br>
     >   --enable-languages=c --enable-c99 --enable-long-long \<br>
     >   --with-mpfr=${CLFS}/cross-<u></u>tools --with-gmp=${CLFS}/cross-tools \<br>
     >   --with-mpc=${CLFS}/cross-tools --disable-multilib \<br>
     >   --with-arch=${CLFS_CPU}<br>
     ><br>
    /*****************************<u></u>******************************<u></u>******************************<u></u>*****************************/<br>
     ><br>
     > make[2]: Entering directory<br>
     > `/mnt/clfs/sources/gcc-build/<u></u>i486-pc-linux-uclibc/libgcc'<br>
     > # If this is the top-level multilib, build all the other<br>
     > # multilibs.<br>
     > /mnt/clfs/sources/gcc-build/./<u></u>gcc/xgcc<br>
    -B/mnt/clfs/sources/gcc-build/<u></u>./gcc/<br>
     > -B/mnt/clfs/cross-tools/i486-<u></u>pc-linux-uclibc/bin/<br>
     > -B/mnt/clfs/cross-tools/i486-<u></u>pc-linux-uclibc/lib/ -isystem<br>
     > /mnt/clfs/cross-tools/i486-pc-<u></u>linux-uclibc/include -isystem<br>
     > /mnt/clfs/cross-tools/i486-pc-<u></u>linux-uclibc/sys-include    -g -O2<br>
    -O2  -g -O2<br>
     > -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings<br>
    -Wcast-qual<br>
     > -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition<br>
    -isystem<br>
     > ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2<br>
     > -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector   -I. -I. -I../.././gcc<br>
     > -I../../../gcc-4.6.1/libgcc -I../../../gcc-4.6.1/libgcc/.<br>
     > -I../../../gcc-4.6.1/libgcc/..<u></u>/gcc<br>
    -I../../../gcc-4.6.1/libgcc/..<u></u>/include<br>
     > -I../../../gcc-4.6.1/libgcc/<u></u>config/libbid -DENABLE_DECIMAL_BID_FORMAT<br>
     > -DHAVE_CC_TLS  -DUSE_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF<br>
    _muldi3.dep<br>
     > -DL_muldi3 -c ../../../gcc-4.6.1/libgcc/../<u></u>gcc/libgcc2.c \<br>
     >       -fvisibility=hidden -DHIDE_EXPORTS<br>
     > In file included from<br>
    ../../../gcc-4.6.1/libgcc/../<u></u>gcc/libgcc2.c:29:0:<br>
     > ../../../gcc-4.6.1/libgcc/../<u></u>gcc/tsystem.h:87:19: fatal error:<br>
    stdio.h: No<br>
     > such file or directory<br>
     > compilation terminated.<br>
     > make[2]: *** [_muldi3.o] Error 1<br>
     > make[2]: Leaving directory<br>
     > `/mnt/clfs/sources/gcc-build/<u></u>i486-pc-linux-uclibc/libgcc'<br>
     > make[1]: *** [all-target-libgcc] Error 2<br>
     > make[1]: Leaving directory `/mnt/clfs/sources/gcc-build'<br>
     > make: *** [all] Error 2<br>
     ><br>
    /*****************************<u></u>******************************<u></u>******************************<u></u>******************************<u></u>*****/<br></div></div>
->* this error is output of "make" command.<br>
*    This is the output of env command:<br>
</blockquote>
<br>
I finally had some free time to reproduce this issue.  This is happening because you did not successfully build and install uClibc.  Most likely your uClibc build failed because you're using uClibc 0.9.31 and Binutils 2.21.  This combo does not work for x86.<br>

<br>
You can try using uClibc 0.9.32, which should have the fix built in. I'm currently working on upgrading uClibc to 0.9.32 for the embedded book but I've not yet confirmed that all the patches required for the book work.  I'm running into some other issues that require a few patches.  It's not a simple, "upgrade to the new version and everything's peachy" kind of deal.  Sorry.<br>

<br>
If you're able to get uClibc 0.9.32 patched to work, please let me know what was required.<br>  
<br></blockquote><div>      You are right , this  an issue of uclibc-0.9.31.i m waiting for this upgrade.thanks for reply.<br>      <br></div><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Thanks,<br><font color="#888888">
Israr</font><div><div></div><div class="h5"><br>
______________________________<u></u>_________________<br>
Clfs-support mailing list<br>
<a href="mailto:Clfs-support@lists.cross-lfs.org" target="_blank">Clfs-support@lists.cross-lfs.<u></u>org</a><br>
<a href="http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org" target="_blank">http://lists.cross-lfs.org/<u></u>listinfo.cgi/clfs-support-<u></u>cross-lfs.org</a><br>
</div></div></blockquote></div><br>