LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 08-20-2012, 10:44 AM   #1
xerofoify
LQ Newbie
 
Registered: Jul 2012
Posts: 17

Rep: Reputation: Disabled
Glibc giving Errors on Make Check in LFS 7.1


Here are the make check errors and I would be very glad if anybody knew how to fix the problem.
Here are the error messages.
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/sources/glibc-2.14.1'
make: *** [check] Error 2
root:/sources/glibc-build# grep Error glibc-check-log
make[2]: *** [/sources/glibc-build/dlfcn/bug-atexit3.out] Error 1
make[1]: *** [dlfcn/tests] Error 2
make[2]: *** [/sources/glibc-build/posix/bug-regex32.out] Error 1
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[1]: *** [posix/tests] Error 2
make[2]: *** [/sources/glibc-build/misc/tst-writev.out] Error 1
make[1]: *** [misc/tests] Error 2
make[2]: *** [/sources/glibc-build/nptl/tst-attr3.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cancel24.out] Error 127
make[1]: *** [nptl/tests] Error 2
make[2]: *** [/sources/glibc-build/debug/tst-chk1.out] Error 1
make[2]: *** [/sources/glibc-build/debug/tst-chk2.out] Error 1
make[2]: *** [/sources/glibc-build/debug/tst-chk3.out] Error 1
make[2]: *** [/sources/glibc-build/debug/tst-lfschk1.out] Error 1
make[2]: *** [/sources/glibc-build/debug/tst-lfschk2.out] Error 1
make[2]: *** [/sources/glibc-build/debug/tst-lfschk3.out] Error 1
make[2]: *** [/sources/glibc-build/debug/tst-chk4.out] Error 127
make[2]: *** [/sources/glibc-build/debug/tst-chk5.out] Error 127
make[2]: *** [/sources/glibc-build/debug/tst-chk6.out] Error 127
make[2]: *** [/sources/glibc-build/debug/tst-lfschk4.out] Error 127
make[2]: *** [/sources/glibc-build/debug/tst-lfschk5.out] Error 127
make[2]: *** [/sources/glibc-build/debug/tst-lfschk6.out] Error 127
make[1]: *** [debug/tests] Error 2
make[1]: *** [/sources/glibc-build/c++-types-check.out] Error 1
make: *** [check] Error 2
 
Old 08-21-2012, 04:11 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,455

Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
What chapter of the book are you in? Chapter 5, I'd keep going; Chapter 6, I'd wipe.
Error 2 is 'file/directory not found' Is it finding stuff?
Clean up with a 'make clean', and go again from the top in glibc-build/
run make check > check.out 2>&1. When it barfs, find the first occurrence of Error, as the context of that tells us what's going on.
 
Old 08-21-2012, 09:12 AM   #3
xerofoify
LQ Newbie
 
Registered: Jul 2012
Posts: 17

Original Poster
Rep: Reputation: Disabled
make[2]: *** No rule to make target `/sources/glibc-build/iconv/stamp.o', needed by `/sources/glibc-build/libc.a'. Stop.
make[2]: Leaving directory `/sources/glibc-2.14.1/csu'
make[1]: *** [csu/tests] Error 2
make[1]: Leaving directory `/sources/glibc-2.14.1'
make: *** [check] Error 2
Here are the error messages about I redid Chapter 6.
 
Old 08-21-2012, 11:02 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,455

Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
Quote:
Originally Posted by xerofoify View Post
make[2]: *** No rule to make target `/sources/glibc-build/iconv/stamp.o', needed by `/sources/glibc-build/libc.a'. Stop.
make[2]: Leaving directory `/sources/glibc-2.14.1/csu'
make[1]: *** [csu/tests] Error 2
make[1]: Leaving directory `/sources/glibc-2.14.1'
make: *** [check] Error 2
Here are the error messages about I redid Chapter 6.

No rule to make target usually is no Makefile, or else configure crapped out

Remove glibc-2.14.1 and start at the top of that page. It's been 10 years, but IIRC, the process was after untarring the archive was

Code:
mkdir glibc-build
cd glibc-build
../configure <stuff>
In other words you ran ~/sources/glibc-2.14.1/configure, make, make test & make install from ~/sources/glibc-build, so glibc-build ended up with the object files, and I don't see enough of glibc-build in those errors.
 
  


Reply



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
make errors while compiling glibc-2.10.1 in LFS - 6.5 _Linux_Learner Linux From Scratch 7 03-29-2011 02:30 AM
LFS 6.7 Chapter 6 Glibc Make -k errors karm Linux From Scratch 3 11-10-2010 11:13 AM
make check error 6.9.1 glibc lfs 6.5 aahiqmir Linux From Scratch 1 12-06-2009 07:49 PM
Glibc-2.5.1 is giving errors installing on Live cd with LFS 6.3 version shanth Linux - Newbie 2 09-25-2008 12:12 AM
LFS 6, chapter 6.11; Glibc 'make check' error Zamochit Linux From Scratch 5 05-31-2005 12:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:35 PM.

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