On Sun, Sep 4, 2011 at 12:06 PM, LFS Trac <[email protected]> wrote:
> #2922: Error 1 and 2 while make Process in gcc Pass 1
> --------------------+-------------------------------------------------------
>  Reporter:  BeanMe  |       Owner:  lfs-book@…
>     Type:  task    |      Status:  new
>  Priority:  normal  |   Milestone:  6.9
> Component:  Book    |     Version:  SVN
>  Severity:  normal  |    Keywords:  gcc error 1 2
> --------------------+-------------------------------------------------------
>  !!Note: I am using version 6.8 of the LFS book!!
>  If I compile GCC (make command), the following Error occours:
>
>  (...)
>  checking for gmp.h... no
>  configure: error: gmp.h can't be found, or is unusable
>  make[2]: *** [configure-stage1-mpfr] Error 1
>  make[2]: Leaving directory `/mnt/lfs/sources/build-gcc'
>  make[1]: *** [stage1-bubble] Error 2
>  make[1]: Leaving directory `/mnt/lfs/sources/build-gcc'
>  make: *** [all] Error 2
>
>  I think the error is in the first line. I have done as written in the
>  book... Can you help me?
>
> --
> Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2922>
> LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
> Linux From Scratch: Your Distro, Your Rules.
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-book
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page

We prefer to use lfs-support to handle support problems, leaving the
ticket system for bug reports.

From what I am seeing, it is failing to find gmp.h.  We have 3
different parts in the book this could be,

Chapter 5, GCC Pass 1, or GCC Pass 2
- Ensure that gmp is extracted into the gcc-4.6.1 folder.

Chapter 6,
- Ensure that gmp was compiled at this point.  gmp comes after
binutils, but before mpfr.

The Error 1, and Error 2 messages are not the actual error, that just
means one of the Makefiles had an error.  the actual error was
"configure: error: gmp.h can't be found, or is unusable".  If there
are further problems, just post to [email protected]
and indicate what chapter you are in.

Hope that helps, and welcome to LFS.


-- 
Nathan Coulson (conathan)
------
Location: British Columbia, Canada
Timezone: PST (-8)
Webpage: http://www.nathancoulson.com
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to