LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 01-10-2012, 09:22 AM   #1
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 324

Rep: Reputation: 49
No rule to make target in glibc make


My build of glibc just failed with an error 2 message below.

Any ideas on how to remedy? It seems to be saying that a file's missing or a path is wrong, but I'm only guessing with that.

Thanks in advance - do say if you need more info.

Code:
/bin/sh scripts/gen-libc-abis \
		 x86_64-lfs-linux-gnu \
		 < libc-abis > /mnt/lfs/sources/glibc-build/libc-abis.hT
/bin/sh scripts/move-if-change /mnt/lfs/sources/glibc-build/libc-abis.hT /mnt/lfs/sources/glibc-build/libc-abis.h
touch /mnt/lfs/sources/glibc-build/libc-abis.stamp
make[1]: *** No rule to make target `/mnt/lfs/sources/glibc-build/Versions.all', needed by `/mnt/lfs/sources/glibc-build/abi-versions.h'.  Stop.
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1'
make: *** [all] Error 2
 
Old 01-11-2012, 02:25 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
Hi

Not sure on your errors, I dont understand the part you have "/bin/sh" and also did you make sure your host was compliant with building lfs
http://www.linuxfromscratch.org/lfs/.../hostreqs.html.
 
Old 01-11-2012, 03:47 AM   #3
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 324

Original Poster
Rep: Reputation: 49
Hi, thanks for replying.

Yep, I've been following the book very carefully.

I ran the check script and got compilation OK at the end of it, so I don't think I'm missing any tools.

I've been working through LFS on Debian Squeeze; I have an Arch installation as well and will try running it on that.
 
Old 01-11-2012, 05:24 AM   #4
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 324

Original Poster
Rep: Reputation: 49
It's compiling in Arch as I write; must've been a missing package (probably glibc) in Debian that I overlooked and therefore my mistake.

D'oh.
 
Old 01-11-2012, 05:28 AM   #5
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
Glad it,s working out now
 
  


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
NS 2 compilation error: make: *** No rule to make target ‚??VERSION‚??, needed by ‚??gen/ve Marz22 Linux - Newbie 8 11-21-2011 02:20 AM
make: *** No rule to make target `install-headers'. Stop. NightHorse Linux - Newbie 9 06-21-2009 05:16 AM
Belkin Wirless G RTL8185L make[1]: *** No rule to make target `Makefile'. Stop. SilverRock Linux - Wireless Networking 2 02-11-2007 07:25 AM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 11:19 AM


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