LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 07-18-2004, 09:37 PM   #1
AdamS
LQ Newbie
 
Registered: Jul 2004
Posts: 12

Rep: Reputation: 0
Error in Binutils Pass2


when I did binutils pass1, it says mkdir binutils-build and not remove build dir and source dir
then come to binutils pass 2, it also says mkdir binutils-build. BUT there is ALREADY a binutils-build!!
should i remove it and build a new one?? or just configure in it??

I configured directly in it, and then got error:
./libtool: line 1: cd: ../libiberty/pic: No such file or directory
libtool: link: cannot determine absolute directory name of `../libiberty/pic'
make[3]: *** [libbfd.la] Error 1
make[3]: Leaving directory `/mnt/lfs/tools/binutils-build/bfd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/lfs/tools/binutils-build/bfd'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/mnt/lfs/tools/binutils-build/bfd'
make: *** [all-bfd] Error 2



Anyone can help me??
THX!
 
Old 07-18-2004, 11:44 PM   #2
slyman
Member
 
Registered: Jun 2004
Location: Sydney, Australia
Distribution: FC3, Linux From Scratch, Knoppix
Posts: 99

Rep: Reputation: 15
You need the binutils from binutils-pass1 only for Adjusting the tool chain.

"Now that the adjusted linker is installed, you have to remove the Binutils build and source directories." On the same page.

So you need to remove the binutils installed during binutils-pass1 after Adjusting The Toolchain and then reinstall binutils for binutils-pass2...

If that makes sense?

Seriously, you have to read the chapter completely and understand it before doing anything or something may break a few pages (and more importantly hours or days) later.

Tedious and not alwasy the easiest thing to do, I know that, believe me! But once you have done it once... enter ALFS
 
Old 07-18-2004, 11:50 PM   #3
AdamS
LQ Newbie
 
Registered: Jul 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Thank you!!!

but now I have come to the second time GCC, after that or before that remove binulits-build, does it make any harm?
 
Old 07-20-2004, 01:39 AM   #4
slyman
Member
 
Registered: Jun 2004
Location: Sydney, Australia
Distribution: FC3, Linux From Scratch, Knoppix
Posts: 99

Rep: Reputation: 15
It should not cause any harm when you delete it as long as it is before binutils-pass2.

Basically, you need to have a freshly unpacked source package for binutils-pass2.
 
Old 07-21-2004, 09:55 PM   #5
AdamS
LQ Newbie
 
Registered: Jul 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Thank you.

It passed and I have come to Ch.6^_^
 
  


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
Binutils Check Error LinuxLuvr Linux From Scratch 1 07-21-2005 04:07 PM
Binutils Error hell_carnage Linux From Scratch 1 06-26-2005 08:33 AM
Error in binutils Macky Linux From Scratch 1 04-29-2005 05:39 PM
Binutils Error! chakkaradeepcc Linux From Scratch 2 04-28-2005 04:53 AM
binutils error lordtweety Linux From Scratch 5 12-01-2004 08:37 AM


All times are GMT -5. The time now is 12:25 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration