LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial 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
 
LinkBack Search this Thread
Old 07-14-2008, 02:11 PM   #1
http://
Member
 
Registered: Mar 2008
Posts: 73

Rep: Reputation: 15
5.6.1. 'make' error


hello,

have had this error twice now:

make[2]:*** [tools/include/linux/errno.h] Error 1

make[2]:*** Leaving directory '/mnt/lfs/tools/glibc-2.5.1/iconv'

make[1]:*** [iconv/subdir_lib] Error 2
make[1]:*** Leaving directory '/mnt/lfs/tools/glibc-2.5.1'
make:*** [all] Error 2

any tips?

thank you for your time,

mikel
 
Old 07-14-2008, 02:28 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware, Cross Linux from Scratch, Gentoo
Posts: 2,544
Blog Entries: 1

Rep: Reputation: 144Reputation: 144
Did you read this section of the book?
 
Old 07-14-2008, 03:25 PM   #3
http://
Member
 
Registered: Mar 2008
Posts: 73

Original Poster
Rep: Reputation: 15
hello,

thanks. i apologize.

make -r PARALLELMFLAGS="" CVSOPTS="" -C /mnt/lfs/tools/glibc-2.5.1 objdir=`pwd` all
make[1]: Entering directory `/mnt/lfs/tools/glibc-2.5.1'
make subdir=csu -C csu ..=../ subdir_lib
make[2]: Entering directory `/mnt/lfs/tools/glibc-2.5.1/csu'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/mnt/lfs/tools/glibc-2.5.1/csu'
make subdir=iconv -C iconv ..=../ subdir_lib
make[2]: Entering directory `/mnt/lfs/tools/glibc-2.5.1/iconv'
/usr/bin/install -c -m 644 /mnt/lfs/tools/glibc-build/../include/linux/limits.h /tools/include/linux/limits.h
/usr/bin/install -c -m 644 /mnt/lfs/tools/glibc-build/../include/linux/errno.h /tools/include/linux/errno.h
make[2]: Leaving directory `/mnt/lfs/tools/glibc-2.5.1/iconv'
make[1]: Leaving directory `/mnt/lfs/tools/glibc-2.5.1'
make:*** [all] Error 2

EDIT: using 6.3, LiveCD,

Last edited by http://; 07-14-2008 at 03:31 PM.
 
Old 07-14-2008, 03:34 PM   #4
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: OpenSUSE 12.1 CentOS 6.2
Posts: 8,445

Rep: Reputation: 1154Reputation: 1154Reputation: 1154Reputation: 1154Reputation: 1154Reputation: 1154Reputation: 1154Reputation: 1154Reputation: 1154
This still does not tell anything about the error. Also, it would be useful to know what you're trying to compile.
 
Old 07-14-2008, 04:38 PM   #5
http://
Member
 
Registered: Mar 2008
Posts: 73

Original Poster
Rep: Reputation: 15
hello,

i was trying to install glibc-2.5.1 . when i ran 'make' i had that output. what could have i done wrong?

mikel
 
Old 07-15-2008, 10:54 AM   #6
gerald_M2B
Member
 
Registered: Oct 2007
Posts: 34

Rep: Reputation: 15
It seems to me there is inconsistency in the directory that you are using for the source work.
make[1]: Entering directory `/mnt/lfs/tools/glibc-2.5.1'
-- should have entered /mnt/lfs/tools/glibc-build -- ??

-- the commands are coming from the source directory, but the configured directory is /mnt/lfs/tools/glibc-build -- ??
make[2]: Entering directory `/mnt/lfs/tools/glibc-2.5.1/iconv'
/usr/bin/install -c -m 644 /mnt/lfs/tools/glibc-build/../include/linux/limits.h /tools/include/linux/limits.h

are you consistent in issuing the commands from glibc-build directory?
I would suggest removing the glibc-build directory and start over with the glibc-2.5.1 section in the book. The /usr/bin/install above looks suspicious to me at the point where /../ but I may not be adapting to how you have done your configuration and build.

Gerald
 
Old 07-15-2008, 12:11 PM   #7
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware, Cross Linux from Scratch, Gentoo
Posts: 2,544
Blog Entries: 1

Rep: Reputation: 144Reputation: 144
Quote:
Originally Posted by http:// View Post
i was trying to install glibc-2.5.1 . when i ran 'make' i had that output. what could have i done wrong?
Many things. Please give us enough information to help you. Provide more output from the failed make (you may need to paste 30-40 lines, maybe more). Just as the section I originally referred you to says, we need to know what make was trying to do when it failed. Also tell us which section you are working on. Glibc is built more than once. Finally, tell us ALL the things you've done to deviate from the instructions in the book (I know you haven't followed the instructions because you are building in /mnt/lfs/tools).
 
Old 07-15-2008, 01:26 PM   #8
http://
Member
 
Registered: Mar 2008
Posts: 73

Original Poster
Rep: Reputation: 15
hello,

yeah. i realized my mistake a couple of minutes after i posted the message (the output i posted was when i tried to run make again without deleting the glibc* and glibc-folder and starting it over once again, thus having the correct output message of the make, not some condensed one or few last lines(if i'm not mistaken))

since it was around 4AM here and i was moments from being asleep at that time i just didn't have the energy to post something to this effect, as i SHOULD(!) have,since you guys took the time and effort to help me on my problem.

i'm planning to start all over again, taking good care that i follow the book to the letter . but unfortunately not right now, maybe in a day or two.

well, thats all for now, i would like to thank you guys for responding to my post. i really appreciate the gesture. i apologize for not taking the time to read the Help section of the book as weibullguy pointed out to me(and embarrassingly, posting another mistake after he did so).

i'm really excited about installing and studying LFS. and i'm most assuredly comming back in a day or two to pester you guys with really silly questions , for that i hope you will forgive.

my appreciation.

thank you for your time,

mikel
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
make won't run: make[2]: *** [udunits] Error 1 dourk Linux - Software 3 04-13-2007 07:14 AM
RH9 make menuconfig error: make[1]: *** [lxdialog] Error 1 rrochele Linux - Kernel 3 02-07-2007 04:39 PM
make bzImage failure: make[1]: *** [init/version.o] Error 1 nmainak Linux - Kernel 2 07-16-2006 06:06 PM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 12:19 PM
make: cc: command not found make: *** [gzip.o]error 127 zyjk Linux - Newbie 5 02-08-2002 10:58 AM


All times are GMT -5. The time now is 07:12 AM.

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
Open Source Consulting | Domain Registration