There is a infinite loop, when i run "make"...!!!
Hi,
Dear Friends, i'm compiling the binutils-2.17 in LFS (linux From Scratch), and when i enter the command "make", it goeas to infinite loop... i know the make command is used for compilation,, but currently it takes 2:30 hours, which is the enough time... so please tell me, that is it the error or what is it,,, why it is taking so much time...???? from Lucky email: ajaonchat@yahoo.com |
What does it say after you run the make command? How fast is the machine you are building on?
Though even a very slow machine shouldn't take 2 and a half hours to build binutils. |
make
hi
provide the steps you performed? Quote:
|
My Machine Specs...!!!
Hi,
Dear MS3FGX bellow is the machine on which I'm trying... CPU: 1.8 Ghz RAM: 1 GB and i think it is the enough specs for compiling the binutils. and have'nt got any error before and/or during the compilation... Now please tell me what i have to do, is this any error, that it take so much time...??? and |
The Steps i have performed to compile the binutils-2.17
Hi,
Dear tanushreevk i have performed the following steps... 1. first i have copy the binutils-2.17.tar.bz2 package to my source folder. 2. extract the files "tar xf binutils-2.17.tar.bz2" 3. cd binutils-2.17 4. make after the above step # 4, the compilation starts, but its seems like a infinite loops, because it takes more the 2 Hrs... Now please suggest any suitable solution for this issue... Thanx!!! from Lucky email: ajaonchat@yahoo.com |
Did you run the configure step, before running make? Can you post some lines of the make output, in particular at the point it loops. Thanks.
|
i got the Following Loop
Dear colucix i have run the ./configure before running the make.
but the "make" takes very long time more then 5 Hrs, its seems like a infinite loop... i have stopped the loop by applying CTRL+C and i have copied the part from my terminal, following is the part that i have copied from my Terminal... ========================================================== creating Makefile make: Warning: File `../binutils-2.17/Makefile.in' has modification time 2e+08 s in the future CONFIG_SHELL="/bin/sh" /bin/sh ./config.status --recheck running /bin/sh ../binutils-2.17/configure --prefix=/tools--disable-nls --disable-werror --no-create --no-recursion loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether ln works... (cached) yes checking whether ln -s works... (cached) yes checking for gcc... (cached) gcc -B/usr/bin/ checking whether the C compiler (gcc -B/usr/bin/ ) works... yes checking whether the C compiler (gcc -B/usr/bin/ ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc -B/usr/bin/ accepts -g... (cached) yes checking for gnatbind... no checking whether compiler driver understands Ada... (cached) no checking how to compare bootstrapped objects... (cached) cmp --ignore-initial=16 $$f1 $$f2 checking for correct version of gmp.h... no checking for bison... (cached) bison -y checking for bison... (cached) bison checking for gm4... (cached) m4 checking for flex... (cached) flex checking for flex... (cached) flex checking for makeinfo... (cached) makeinfo checking for expect... no checking for runtest... no checking for i686-pc-linux-gnu-ar... (cached) ar checking for i686-pc-linux-gnu-as... (cached) as checking for i686-pc-linux-gnu-dlltool... no checking for dlltool... no checking for i686-pc-linux-gnu-ld... (cached) /usr/bin/ld checking for i686-pc-linux-gnu-lipo... no checking for lipo... no checking for i686-pc-linux-gnu-nm... (cached) nm checking for i686-pc-linux-gnu-ranlib... (cached) ranlib checking for i686-pc-linux-gnu-strip... (cached) strip checking for i686-pc-linux-gnu-windres... no checking for windres... no checking for i686-pc-linux-gnu-objcopy... (cached) objcopy checking for i686-pc-linux-gnu-objdump... (cached) objdump checking for i686-pc-linux-gnu-gcj... no checking for gcj... no checking for i686-pc-linux-gnu-gfortran... no checking for gfortran... no checking for ar... no checking for as... no checking for dlltool... no checking for i686-pc-linux-gnu-dlltool... no checking for dlltool... no checking for ld... no checking for lipo... no checking for i686-pc-linux-gnu-lipo... no checking for lipo... no checking for nm... no checking for objdump... no checking for ranlib... no checking for strip... no checking for windres... no checking for i686-pc-linux-gnu-windres... no checking for windres... no checking where to find the target ar... just compiled checking where to find the target as... just compiled checking where to find the target cc... host tool checking where to find the target c++... host tool checking where to find the target c++ for libstdc++... host tool checking where to find the target dlltool... just compiled checking where to find the target gcc... host tool checking where to find the target gcj... host tool checking where to find the target gfortran... host tool checking where to find the target ld... just compiled checking where to find the target lipo... host tool checking where to find the target nm... just compiled checking where to find the target objdump... just compiled checking where to find the target ranlib... just compiled checking where to find the target strip... just compiled checking where to find the target windres... just compiled checking whether to enable maintainer-specific portions of Makefiles... no creating ./config.status CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status creating Makefile make: Warning: File `../binutils-2.17/Makefile.in' has modification time 2e+08 s in the future CONFIG_SHELL="/bin/sh" /bin/sh ./config.status --recheck running /bin/sh ../binutils-2.17/configure --prefix=/tools--disable-nls --disable-werror --no-create --no-recursion loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether ln works... (cached) yes checking whether ln -s works... (cached) yes checking for gcc... (cached) gcc -B/usr/bin/ checking whether the C compiler (gcc -B/usr/bin/ ) works... yes checking whether the C compiler (gcc -B/usr/bin/ ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc -B/usr/bin/ accepts -g... (cached) yes checking for gnatbind... no checking whether compiler driver understands Ada... (cached) no checking how to compare bootstrapped objects... (cached) cmp --ignore-initial=16 $$f1 $$f2 checking for correct version of gmp.h... no checking for bison... (cached) bison -y checking for bison... (cached) bison checking for gm4... (cached) m4 checking for flex... (cached) flex checking for flex... (cached) flex checking for makeinfo... (cached) makeinfo checking for expect... no checking for runtest... no checking for i686-pc-linux-gnu-ar... (cached) ar checking for i686-pc-linux-gnu-as... (cached) as checking for i686-pc-linux-gnu-dlltool... no checking for dlltool... no checking for i686-pc-linux-gnu-ld... (cached) /usr/bin/ld checking for i686-pc-linux-gnu-lipo... no checking for lipo... no checking for i686-pc-linux-gnu-nm... (cached) nm checking for i686-pc-linux-gnu-ranlib... (cached) ranlib checking for i686-pc-linux-gnu-strip... (cached) strip checking for i686-pc-linux-gnu-windres... no checking for windres... no checking for i686-pc-linux-gnu-objcopy... (cached) objcopy checking for i686-pc-linux-gnu-objdump... (cached) objdump checking for i686-pc-linux-gnu-gcj... no checking for gcj... no checking for i686-pc-linux-gnu-gfortran... no checking for gfortran... no checking for ar... no checking for as... no checking for dlltool... no checking for i686-pc-linux-gnu-dlltool... no checking for dlltool... no checking for ld... no checking for lipo... no checking for i686-pc-linux-gnu-lipo... no checking for lipo... no checking for nm... no checking for objdump... no checking for ranlib... no checking for strip... no checking for windres... no checking for i686-pc-linux-gnu-windres... no checking for windres... no checking where to find the target ar... just compiled checking where to find the target as... just compiled checking where to find the target cc... host tool checking where to find the target c++... host tool checking where to find the target c++ for libstdc++... host tool checking where to find the target dlltool... just compiled checking where to find the target gcc... host tool checking where to find the target gcj... host tool checking where to find the target gfortran... host tool checking where to find the target ld... just compiled checking where to find the target lipo... host tool checking where to find the target nm... just compiled checking where to find the target objdump... just compiled checking where to find the target ranlib... just compiled checking where to find the target strip... just compiled checking where to find the target windres... just compiled checking whether to enable maintainer-specific portions of Makefiles... no creating ./config.status CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status creating Makefile make: *** Deleting file `Makefile' make: *** [Makefile] Error 1 ========================================================== |
Quote:
|
I am having the same problem -- I think because my CMOS battery is dead -- do i need to change the battery to continue with the installation?
Thanks, Will |
CMOS bettery problem!!!
Yes,
you are ri8 that this is the CMOS bettery problem, and i have the same problem, and i have changed my CMOS bettery and now i have successfuly compiled the kernel. and Congrats to me that i have successfuly created my own Linux from scratch. and i have names it LMLinux. so i suggest you to change ur CMOS bettery, because time stamp this compiling have the great role. so, :cool: HAVE A NICE TIME with your LFS. :cool: from ~*Lucky*~ :D |
All times are GMT -5. The time now is 04:00 PM. |