<br><br><div class="gmail_quote">On Wed, Nov 2, 2011 at 12:08 AM, 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 class="im">On Tue, Nov 1, 2011 at 2:14 PM, sayed israr <<a href="mailto:sd.israr@gmail.com">sd.israr@gmail.com</a>> wrote:<br>
> hello!<br>
>          i m using Embedded-book for x86 target of Mr.<br>
> AndrewBradford.following are my details:<br>
<br>
</div>Which version of the book exactly?<br>
Are you using a book from my git repo?  If so, that may not be stable<br>
as it hasn't been tested very well.  I suggest using the version of<br>
the book that can be found online at:<br>
<a href="http://cross-lfs.org/view/clfs-embedded/" target="_blank">http://cross-lfs.org/view/clfs-embedded/</a><br>
<div><div></div><div class="h5"><br>
> PC: DualCore.4GB RAM<br>
> OS: Linux-UBUNTU-10.10<br>
> target :486<br>
> upto chapter6 , alright but during the final build of GCC-4.6.1 compiler,<br>
> build fails miserably<br>
> showing the following result :<br>
> /**************************************************************************************************************************/<br>
>  CLFS_HOST="i686-cross-linux-gnu"<br>
>  CLFS_TARGET="i486-pc-linux-uclibc"<br>
>  CLFS_ARCH="i386"<br>
>  CLFS_ENDIAN="little"<br>
>  CLFS_CPU="i486"<br>
> /***************************************************************************************************************************/<br>
><br>
> AR=ar LDFLAGS="-Wl,-rpath,${CLFS}/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-tools --with-gmp=${CLFS}/cross-tools \<br>
>   --with-mpc=${CLFS}/cross-tools --disable-multilib \<br>
>   --with-arch=${CLFS_CPU}<br>
> /**********************************************************************************************************************/<br>
><br>
> make[2]: Entering directory<br>
> `/mnt/clfs/sources/gcc-build/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/./gcc/xgcc -B/mnt/clfs/sources/gcc-build/./gcc/<br>
> -B/mnt/clfs/cross-tools/i486-pc-linux-uclibc/bin/<br>
> -B/mnt/clfs/cross-tools/i486-pc-linux-uclibc/lib/ -isystem<br>
> /mnt/clfs/cross-tools/i486-pc-linux-uclibc/include -isystem<br>
> /mnt/clfs/cross-tools/i486-pc-linux-uclibc/sys-include    -g -O2 -O2  -g -O2<br>
> -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual<br>
> -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -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/../gcc -I../../../gcc-4.6.1/libgcc/../include<br>
> -I../../../gcc-4.6.1/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT<br>
> -DHAVE_CC_TLS  -DUSE_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep<br>
> -DL_muldi3 -c ../../../gcc-4.6.1/libgcc/../gcc/libgcc2.c \<br>
>       -fvisibility=hidden -DHIDE_EXPORTS<br>
> In file included from ../../../gcc-4.6.1/libgcc/../gcc/libgcc2.c:29:0:<br>
> ../../../gcc-4.6.1/libgcc/../gcc/tsystem.h:87:19: fatal error: 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/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>
<br>
</div></div>Is this error happening when you run the configure command or when you<br>
run the make command?  It's not clear.<br>
<br>
Can you provide the output of the "env" command when run as the clfs user?<br>
<br>
Thanks,<br>
Andrew<br>
_______________________________________________<br></blockquote></div>  hello andrew , <br>      thanks for reply , here are the following details : <br>this is the version of clfs-embedded book i am using:<br><h4>-> Embedded - Version
        GIT-0.0.1-20110514-x86.</h4>-> yes, book is from your repo.<br>-><b> this error is output of "make" command.<br></b>    This is the output of env command:<br>-> clfs@israr:~$ cat ~/.bash_profile<br>
-> exec<b> env -i HOME=${HOME} TERM=${TERM} PS1='\u:\w\$ ' /bin/bash</b><br>-> i have earlier used the version of <a href="http://cross-lfs.org/view/clfs-embedded/" target="_blank">http://cross-lfs.org/view/clfs-embedded/</a>.<br>
    but the error is same.<br><br>  thanks <br>  israr<br><br><br><br>