LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 11-29-2004, 08:02 AM   #1
EPM_Students
LQ Newbie
 
Registered: Nov 2004
Posts: 9

Rep: Reputation: 0
Unhappy Binutils 2.14 loop trouble


We're having trouble with the binutils make configure-host command. The system keeps looping the following lines:


lfs@linux:/mnt/lfs/sources/binutils-build> make configure-host
make: Warning: File `../binutils-2.14/Makefile.in' has modification time 1e+08 s
in the future
/bin/sh ./config.status --recheck
running /bin/sh ../binutils-2.14/configure --prefix=/tools --disable-nls--no-c
reate --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 i686-pc-linux-gnu-ar... no
checking for ar... (cached) ar
checking for i686-pc-linux-gnu-as... no
checking for as... (cached) as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... (cached) dlltool
checking for i686-pc-linux-gnu-ld...(cached)/usr/lib/gcc-lib/i586-suse-linux/3
.3.3/../../../../i586-suse-linux/bin/ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... (cached) nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... (cached) ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... (cached) windres
checking for i686-pc-linux-gnu-objcopy... no
checking for objcopy... (cached) objcopy
checking for i686-pc-linux-gnu-objdump... no
checking for objdump... (cached) objdump
checking for i686-pc-linux-gnu-ar... no
checking for ar... (cached) ar
checking for i686-pc-linux-gnu-as... no
checking for as... (cached) as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... (cached) dlltool
checking for i686-pc-linux-gnu-ld... no
checking for ld... (cached) ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... (cached) nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... (cached) ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... (cached) windres
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.14/Makefile.in' has modification time 1e+08 s in the future



We're kind of desperate as this is a school project, so we need possible solutions ASAP.

Any advice or solution is welcome.

Thanks in advance,

2 linux newbies.
 
Old 11-30-2004, 01:06 PM   #2
tvburger
LQ Newbie
 
Registered: Nov 2004
Location: the Netherlands
Distribution: gentoo/ubuntu
Posts: 11

Rep: Reputation: 0
What was the output of your configure? What options did you pass. Did that find your as, ar, nm, ld, etc..?
 
Old 12-12-2004, 10:04 AM   #3
EPM_Students
LQ Newbie
 
Registered: Nov 2004
Posts: 9

Original Poster
Rep: Reputation: 0
here's the configure output:

lfs@linux:/mnt/lfs/sources/binutils-build> time { ../binutils-2.14/configure --prefix=/tools --disable-nls && make configure-host && make LDFLAGS="-all-static" && make install; }
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 i686-pc-linux-gnu-ar... no
checking for ar... (cached) ar
checking for i686-pc-linux-gnu-as... no
checking for as... (cached) as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... (cached) dlltool
checking for i686-pc-linux-gnu-ld... (cached) /usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... (cached) nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... (cached) ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... (cached) windres
checking for i686-pc-linux-gnu-objcopy... no
checking for objcopy... (cached) objcopy
checking for i686-pc-linux-gnu-objdump... no
checking for objdump... (cached) objdump
checking for i686-pc-linux-gnu-ar... no
checking for ar... (cached) ar
checking for i686-pc-linux-gnu-as... no
checking for as... (cached) as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... (cached) dlltool
checking for i686-pc-linux-gnu-ld... no
checking for ld... (cached) ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... (cached) nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... (cached) ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... (cached) windres
checking whether to enable maintainer-specific portions of Makefiles... no
creating ./config.status
creating Makefile
make: Warning: File `../binutils-2.14/Makefile.in' has modification time 1e+08 s in the future
/bin/sh ./config.status --recheck
running /bin/sh ../binutils-2.14/configure --prefix=/tools --disable-nls --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 i686-pc-linux-gnu-ar... no
checking for ar... (cached) ar
checking for i686-pc-linux-gnu-as... no
checking for as... (cached) as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... (cached) dlltool
checking for i686-pc-linux-gnu-ld... (cached) /usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... (cached) nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... (cached) ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... (cached) windres
checking for i686-pc-linux-gnu-objcopy... no
checking for objcopy... (cached) objcopy
checking for i686-pc-linux-gnu-objdump... no
checking for objdump... (cached) objdump
checking for i686-pc-linux-gnu-ar... no
checking for ar... (cached) ar
checking for i686-pc-linux-gnu-as... no
checking for as... (cached) as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... (cached) dlltool
checking for i686-pc-linux-gnu-ld... no
checking for ld... (cached) ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... (cached) nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... (cached) ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... (cached) windres
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.14/Makefile.in' has modification time 1e+08 s in the future
/bin/sh ./config.status --recheck
running /bin/sh ../binutils-2.14/configure --prefix=/tools --disable-nls --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
 
Old 12-20-2004, 06:09 PM   #4
VillageIdiot
LQ Newbie
 
Registered: Dec 2004
Posts: 5

Rep: Reputation: 0
I am having the same issue. I have tried a couple different distro's thinking it was just a "redhat-ism" or "mandrake-ism" no such luck on either.
 
Old 12-20-2004, 06:28 PM   #5
mdh
Member
 
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122

Rep: Reputation: 16
check your timezone settings, system clock and hardware clock are correct.

> make: Warning: File `../binutils-2.14/Makefile.in' has modification time 1e+08 s in the future

Make uses file modification times to determine when things have been updated, your Makefile.in has a timestamp roughly
7 hours ahead of the Makefile you are generating.

So it will loop until the timestamp for the Makefile exceeds the timestamp for Makefile.in

A quick and dirty workaround (you SHOULD set your system/hw clocks and TZ settings correctly) is to touch every file in the source tree.

ie
cd ../binutils-2.14
find . -type f -exec touch {} \;

Then try again...

HTH
[R]
 
Old 12-20-2004, 07:48 PM   #6
VillageIdiot
LQ Newbie
 
Registered: Dec 2004
Posts: 5

Rep: Reputation: 0
hmmm nm. thats not the same error im having. It is looping but not with that error. I'll create another post.
 
Old 01-02-2005, 11:30 PM   #7
EPM_Students
LQ Newbie
 
Registered: Nov 2004
Posts: 9

Original Poster
Rep: Reputation: 0
we just set the correct date and time and it worked
thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
having trouble with the do while loop in program mshinska Programming 2 10-08-2005 10:18 PM
Binutils 2.14 loop trouble (different issue) VillageIdiot Linux From Scratch 5 12-26-2004 03:41 PM
Installation of binutils....can't mkdir...../binutils-build hmonster Linux From Scratch 6 08-22-2004 04:07 AM
binutils ccool Linux From Scratch 2 10-10-2002 05:59 PM
help with binutils!!!!! AtomiCTheGr8 Linux - Software 3 07-27-2002 11:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration