LinuxQuestions.org
Help answer threads with 0 replies.
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 10-12-2012, 10:35 AM   #1
getanshub4u
LQ Newbie
 
Registered: Oct 2012
Posts: 19

Rep: Reputation: Disabled
binutils make error


lfs version:7.1
host OS:Linux Mint 13

Version check output:
Code:
sh version-check.sh 
bash, version 4.2.24(1)-release
/bin/sh -> /bin/dash
Binutils: (GNU Binutils for Ubuntu) 2.22
bison (GNU Bison) 2.5
/usr/bin/yacc -> /usr/bin/bison.yacc
bzip2,  Version 1.0.6, 6-Sept-2010.
Coreutils:  8.13
diff (GNU diffutils) 3.2
find (GNU findutils) 4.4.2
GNU Awk 3.1.8
/usr/bin/awk -> /usr/bin/gawk
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
(Ubuntu EGLIBC 2.15-0ubuntu10) 2.15
grep (GNU grep) 2.10
gzip 1.4
Linux version 3.2.0-23-generic (buildd@palmer) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu4) ) #36-Ubuntu SMP Tue Apr 10 20:41:14 UTC 2012
m4 (GNU M4) 1.4.16
GNU Make 3.81
patch 2.6.1
Perl version='5.14.2';
GNU sed version 4.2.1
tar (GNU tar) 1.26
Texinfo: makeinfo (GNU texinfo) 4.13
xz (XZ Utils) 5.1.0alpha
gcc compilation OK
Followed everything as mentioned in the book till i got stuck in chapter 5.4.
after configuring binutils when i execute make command i get following errors
Code:
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[1]: Nothing to be done for `all-target'.
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build'
What's the problem here?
I searched all over the internet but didn't find any solution.

Last edited by getanshub4u; 10-12-2012 at 10:37 AM.
 
Old 10-12-2012, 11:59 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,368
Blog Entries: 1

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Hi

Version check showing a problem
/bin/sh -> /bin/dash should be /bin/sh -> /bin/bash
 
1 members found this post helpful.
Old 10-12-2012, 12:55 PM   #3
getanshub4u
LQ Newbie
 
Registered: Oct 2012
Posts: 19

Original Poster
Rep: Reputation: Disabled
Thanks a lot.I can't believe my eyes skipped it.
Changed it to bash.
So i suppose i'll have to start again,right?

Last edited by getanshub4u; 10-12-2012 at 12:58 PM.
 
Old 10-12-2012, 01:13 PM   #4
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,368
Blog Entries: 1

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Hi

Yes start again and remember when you have built a package remove the old dirs just leaving the tarballs.
 
Old 10-12-2012, 01:22 PM   #5
getanshub4u
LQ Newbie
 
Registered: Oct 2012
Posts: 19

Original Poster
Rep: Reputation: Disabled
K.Thanks again.
Will mark this solved if everything works fine.
 
Old 10-12-2012, 01:25 PM   #6
getanshub4u
LQ Newbie
 
Registered: Oct 2012
Posts: 19

Original Poster
Rep: Reputation: Disabled
nope.still getting the same error.
 
Old 10-12-2012, 01:27 PM   #7
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,368
Blog Entries: 1

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Hi

What is the error???
 
Old 10-12-2012, 01:31 PM   #8
getanshub4u
LQ Newbie
 
Registered: Oct 2012
Posts: 19

Original Poster
Rep: Reputation: Disabled
with binutils
the same error that i have mentioned in the 1st post
 
Old 10-12-2012, 01:33 PM   #9
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,368
Blog Entries: 1

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Hi

make[1]: Nothing to be done for `all-target'.

This is not an error
 
Old 10-12-2012, 01:34 PM   #10
getanshub4u
LQ Newbie
 
Registered: Oct 2012
Posts: 19

Original Poster
Rep: Reputation: Disabled
and i get similar output when i do make install

make[3]: Entering directory `/mnt/lfs/sources/binutils-build/libiberty/testsuite'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/libiberty/testsuite'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/libiberty'
make[1]: Nothing to be done for `install-target'.
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build'

is this expected?
 
Old 10-12-2012, 01:39 PM   #11
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,368
Blog Entries: 1

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
yes
 
Old 10-12-2012, 01:42 PM   #12
getanshub4u
LQ Newbie
 
Registered: Oct 2012
Posts: 19

Original Poster
Rep: Reputation: Disabled
ohh!
Is there a website/blog where i can find what the successful execution of the lfs commands are expected to look like?
 
Old 10-12-2012, 01:46 PM   #13
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,368
Blog Entries: 1

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Not that I know of, Maybe someone else can point you in a direction
 
Old 10-12-2012, 01:50 PM   #14
getanshub4u
LQ Newbie
 
Registered: Oct 2012
Posts: 19

Original Poster
Rep: Reputation: Disabled
OK.
Thanks a lot.
Anything i shud keep in mind while proceeding further?
 
Old 10-12-2012, 01:54 PM   #15
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,368
Blog Entries: 1

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Just remember to remove old package dirs after each build, also if you make a mistake remove dirs before trying again follow the book
 
  


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
[SOLVED] binutils - error during make basheer Linux From Scratch 10 09-27-2010 12:47 AM
make error for binutils 2.17 uberapa Linux - Software 0 06-08-2007 10:11 AM
error in binutils make gobi_dgm Linux - Software 4 09-21-2006 10:58 AM
make error with binutils gravesb Linux From Scratch 2 10-15-2005 03:48 PM
binutils-2.16.90.0.1 make error on Slackware 10.0 CPUFreak91 Linux - Software 2 09-08-2005 09:57 AM

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

All times are GMT -5. The time now is 07:44 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration