LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-02-2021, 04:58 PM   #1
D3VBG
LQ Newbie
 
Registered: May 2021
Posts: 2

Rep: Reputation: Disabled
Why i am getting error when i type "make check" when i try to install GCC (10.2.0) when i try to make LFS


Making check in mpn
make[4]: Entering directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/mpn'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/mpn'
Making check in mpz
make[4]: Entering directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/mpz'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/mpz'
Making check in mpq
make[4]: Entering directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/mpq'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/mpq'
Making check in mpf
make[4]: Entering directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/mpf'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/mpf'
Making check in printf
make[4]: Entering directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/printf'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/printf'
Making check in scanf
make[4]: Entering directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/scanf'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/scanf'
Making check in rand
make[4]: Entering directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/rand'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/rand'
Making check in cxx
make[4]: Entering directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/cxx'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/cxx'
Making check in demos
make[4]: Entering directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/demos'
Making check in calc
make[5]: Entering directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/demos/calc'
make check-am
make[6]: Entering directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/demos/calc'
make[6]: Nothing to be done for 'check-am'.
make[6]: Leaving directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/demos/calc'
make[5]: Leaving directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/demos/calc'
Making check in expr
make[5]: Entering directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/demos/expr'
make[5]: Nothing to be done for 'check'.
make[5]: Leaving directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/demos/expr'
make[5]: Entering directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/demos'
make[5]: Nothing to be done for 'check-am'.
make[5]: Leaving directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/demos'
make[4]: Leaving directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/demos'
Making check in tune
make[4]: Entering directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/tune'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/tune'
Making check in doc
make[4]: Entering directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/doc'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp/doc'
make[4]: Entering directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp'
make[4]: Leaving directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp'
make[3]: Leaving directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp'
make[2]: Leaving directory '/mnt/bulgarianos/sources/gcc-10.2.0/build/gmp'
make[1]: Leaving directory '/mnt/bulgarianos/sources/gcc-10.2.0/build'
make: *** [Makefile:2334: do-check] Error 2
 
Old 05-03-2021, 01:32 PM   #2
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Do you see an error reported in any of those directories?
Make check is telling you it did nothing.
 
Old 05-03-2021, 03:55 PM   #3
D3VBG
LQ Newbie
 
Registered: May 2021
Posts: 2

Original Poster
Rep: Reputation: Disabled
cc1: error: no include path in which to search for stdc-predef.h
 
Old 05-04-2021, 01:59 AM   #4
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
So this is the first pass. Then you should install Glibc headers for your host distribution. Depending on distribution, they may be in package libc6-dev, or glibc-headers, or something else.

See 2.2. Host System Requirements:
Quote:
Also note that many distributions will place software headers into separate packages, often in the form of “<package-name>-devel” or “<package-name>-dev”. Be sure to install those if your distribution provides them.
 
  


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
[SOLVED] make check error in chapter 6.20 GCC of LFS sissyphus32768 Linux From Scratch 12 08-22-2018 02:15 PM
[SOLVED] LFS: Error during GCC-4.7.1-Pass 1 (LFS 7.2, Section 5.5) erkant Linux From Scratch 7 11-28-2012 06:03 AM
error using lfs while compiling lfs book's 6.12 (gcc-4.1.2) section aditya_gpch Linux From Scratch 3 04-24-2008 04:23 PM
gcc-3.3.1 make -k check - make [check] Error 2 BarryM45 Linux From Scratch 1 02-05-2004 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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