LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-03-2009, 06:58 AM   #1
coolsami
LQ Newbie
 
Registered: Jul 2009
Posts: 6

Rep: Reputation: 0
make -k check error


Hello All,

I am trying to create my LFS using a host RHEL 5.0 {Full Installation and has development tools rpm included in it}.

I am following LFS book version 6.4 and i have completed package's till DejaGNU-1.4.4.

However i am getting below error message when i try to run make -k check command in section 5.12. GCC-4.3.2 - Pass 2 {thats chapter 5} Re-installation of GCC :
"
make[4]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libgomp'
make[3]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libgomp'
make[2]: *** [check-recursive] Error 1
make[2]: Target `check' not remade because of errors.
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libgomp'
make[1]: *** [check-target-libgomp] Error 2
make[1]: Target `check-target' not remade because of errors.
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [do-check] Error 2
make: Target `check' not remade because of errors.

"

I can run make and make install commands with no errors at all but make -k check errors out and when i run the sanity check provided in this section end it gives no output which according to the book is something wrong.

And as per the book i have checked the path variable symlinks and the specsfile and seems good.

Could some one help on this issue it would be really appreciated as i am stuck on this section.

Thanks
Sammy
 
Old 08-03-2009, 12:56 PM   #2
benltk
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 0
Same Errors

I think I got the same errors. Since both 'make' and 'make install' worked so I moved on and ignored those errors.
 
Old 08-03-2009, 02:16 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,285

Rep: Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350
You will find out later, if 'gcc' is OK :

When the crucial tests for 'glibc' passes ... or not.


......

Last edited by knudfl; 08-04-2009 at 02:16 AM.
 
Old 08-04-2009, 11:50 PM   #4
coolsami
LQ Newbie
 
Registered: Jul 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
You will find out later, if 'gcc' is OK :

When the crucial tests for 'glibc' passes ... or not.


......
hello friends as per ypur suggestion i ignored the error message and proceeded further and it threw an error for make check command for section 5.13. Binutils-2.18 - Pass 2 so ignored that too and went further till section 5.17. Coreutils-6.12 compilation of LFS book ver 6.4 but when i run following command it goes on forever and never comesback to a command prompt :

make RUN_EXPENSIVE_TESTS=yes check

And also make install command throws the following error :

./ginstall: /lib/libc.so.6: version `GLIBC_2.6' not found (required by ./ginstall)
make[5]: *** [cu-install-binPROGRAMS] Error 1
make[5]: Leaving directory `/mnt/lfs/sources/coreutils-6.12/src'
make[4]: *** [install-exec-am] Error 2
make[4]: Leaving directory `/mnt/lfs/sources/coreutils-6.12/src'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/mnt/lfs/sources/coreutils-6.12/src'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/mnt/lfs/sources/coreutils-6.12/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/coreutils-6.12'
make: *** [install] Error 2


Guys any idea about this i need to get this fix asap i am stuck on this for long time now.

Appreciate your support.

Thanks
Sammy
 
Old 08-06-2009, 09:20 AM   #5
benltk
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 0
I think something was not done correctly in Chapter 5 because I went through that and didn't see the problem you are seeing. I suggest you to repeat Chapter 5 from the beginning.
 
  


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: *** [check] Error 1 MrLinuxBoy Linux - Newbie 22 01-12-2008 04:36 PM
glibc-2.3.4 make check error Snowmiss Linux From Scratch 1 08-04-2006 04:44 AM
binutils make check error suzuki_babu Linux - Software 0 05-02-2006 01:47 AM
Automake: make check error _InTeNsDoWn_ Linux From Scratch 1 08-08-2005 12:56 AM
gcc-3.3.1 make -k check - make [check] Error 2 BarryM45 Linux From Scratch 1 02-05-2004 08:44 AM


All times are GMT -5. The time now is 09:34 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
Open Source Consulting | Domain Registration