LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-2005, 10:29 AM   #1
gravesb
Member
 
Registered: May 2005
Distribution: Suse 9.3, Gentoo
Posts: 87

Rep: Reputation: 15
make error with binutils


I am conducting the first pass with bintils one. My host system is the live CD. I am wrapping the configure in a time block with make and make install. I receive the following block.

cp bfd-in3.h bfd-tmp.h
/bin/sh ./../moveif-hange bfd-tmp.h bfd.h
bfd.h is unchanged
rm-f bfd-tmp.h
touch stmp-bfd-h
make[3]:*** No rule to make target '../include/ansidecl.h', needed by 'archive.lo', stop.
make[3]: Leaving directory '/mnt/lfs/binutils-build/binutils/bfd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/mnt/lfs/binutils-build/binutils/bfd'
make[1]: ***[all] Error 2
make[1] Leaving directory '/mnt/lfs/binutils-build/binutils/bfd'
make: *** [all-bfd] Error 2

Does anyone know what causes this? Thanks.
 
Old 10-13-2005, 08:37 PM   #2
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
Re: make error with binutils

Quote:
Originally posted by gravesb

make[3]: Leaving directory '/mnt/lfs/binutils-build/binutils/bfd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/mnt/lfs/binutils-build/binutils/bfd'
make[1]: ***[all] Error 2
make[1] Leaving directory '/mnt/lfs/binutils-build/binutils/bfd'
make: *** [all-bfd] Error 2

Does anyone know what causes this?
it looks like you made the binutils-build directory and then unpacked the binutils source inside it.......the source has to be unpacked in its own directory and the binutils-build dir is to be separate..........
 
Old 10-15-2005, 02:48 PM   #3
hoes
Member
 
Registered: Sep 2005
Distribution: debian, linux from scratch
Posts: 92

Rep: Reputation: 20
Yes, freakyg is right.

Now here's what you have to do:
remove your binutils-build directory
untar binutils in a directory (so you'll get a directory like /temp/binutils-2.4 )
make binutils-build in that same directory (so you'll get /temp/binutils-build)
now run the commands the book describe

Good luck,
Hoes
 
  


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-2.16.90.0.1 make error on Slackware 10.0 CPUFreak91 Linux - Software 2 09-08-2005 08:57 AM
Binutils Pass 1 error make LDFLAGS="-all-static" Phyrexicaid Linux From Scratch 5 08-25-2005 10:43 AM
LFS6.1 Section3.13 - Binutils : Error on "make tooldir=/usr" StevePhM Linux From Scratch 4 07-21-2005 12:22 AM
make: *** [configure-libiberty] Error 1 in 5.4. Binutils-2.15.91.0.2 - Pass 1 Flash_G Linux From Scratch 3 06-30-2005 08:51 PM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM


All times are GMT -5. The time now is 09:38 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