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