[lfs] error compiling gcc in Pass 1

2009-06-12 Thread Ankur Sinha
hi, I've just picked up lfs 6.4 and am getting stuck at chapter 5 itself. May be doing something really silly but I just can't correct it. The first pass of GCC isn't building. It can't find mpfr.h Here's the relevant info.. - -

Re: [lfs] error compiling gcc in Pass 1

2009-06-12 Thread Aditya Bankar
:23:16 PM Subject: [lfs] error compiling gcc in Pass 1 hi, I've just picked up lfs 6.4 and am getting stuck at chapter 5 itself. May be doing something really silly but I just can't correct it. The first pass of GCC isn't building. It can't find mpfr.h Here's the relevant info

Re: [lfs] error compiling gcc in Pass 1

2009-06-12 Thread Ankur Sinha
On Fri, 2009-06-12 at 13:42 +0530, Aditya Bankar wrote: Hi Ankur, It seems that you have got confused with the instructions related to the mpfr library in gcc's compilation article. You can read this in section 5.5.1: tar -jxf ../mpfr-2.3.2.tar.bz2 mv mpfr-2.3.2 mpfr tar -jxf

Re: [lfs] error compiling gcc in Pass 1

2009-06-12 Thread Aditya Bankar
Message From: Ankur Sinha sanjay.an...@gmail.com To: LFS Support List lfs-support@linuxfromscratch.org Sent: Friday, 12 June, 2009 1:56:59 PM Subject: Re: [lfs] error compiling gcc in Pass 1 On Fri, 2009-06-12 at 13:42 +0530, Aditya Bankar wrote: Hi Ankur, It seems that you have got confused

Re: [lfs] error compiling gcc in Pass 1

2009-06-12 Thread Philippe Delavalade
Le vendredi 12 juin à 10:26, Ankur Sinha a écrit : On Fri, 2009-06-12 at 13:42 +0530, Aditya Bankar wrote: Hi Ankur, It seems that you have got confused with the instructions related to the mpfr library in gcc's compilation article. You can read this in section 5.5.1: tar -jxf

Re: [lfs] error compiling gcc in Pass 1

2009-06-12 Thread Justin Mattock
On Fri, Jun 12, 2009 at 2:16 AM, Philippe Delavaladephilippe.delaval...@club-internet.fr wrote: Le vendredi 12 juin à 10:26, Ankur Sinha a écrit : On Fri, 2009-06-12 at 13:42 +0530, Aditya Bankar wrote: Hi Ankur, It seems that you have got confused with the instructions related to the

Re: [lfs] error compiling gcc in Pass 1

2009-06-12 Thread Mike McCarty
Ankur Sinha wrote: On Fri, 2009-06-12 at 13:42 +0530, Aditya Bankar wrote: [...] This has to be done inside the gcc's source directory. If you have unzipped it outside the gcc's source directory then mpfr would not be found. I had done the same thing. The general instructions provide the

Re: [lfs] error compiling gcc in Pass 1

2009-06-12 Thread Justin Mattock
On Fri, Jun 12, 2009 at 7:13 AM, Mike McCartymike.mcca...@sbcglobal.net wrote: Ankur Sinha wrote: On Fri, 2009-06-12 at 13:42 +0530, Aditya Bankar wrote: [...] This has to be done inside the gcc's source directory. If you have unzipped it outside the gcc's source directory then mpfr would

Re: [lfs] error compiling gcc in Pass 1

2009-06-12 Thread Mike McCarty
Justin Mattock wrote: On Fri, Jun 12, 2009 at 7:13 AM, Mike McCartymike.mcca...@sbcglobal.net wrote: Umm, I thought the explanation was pretty clear. What is there about needing to build a compiler in order to build that needs explaining? Perhaps you mean the reason one needs to get the

Re: [lfs] error compiling gcc in Pass 1

2009-06-12 Thread Justin Mattock
On Fri, Jun 12, 2009 at 9:15 AM, Mike McCartymike.mcca...@sbcglobal.net wrote: Justin Mattock wrote: On Fri, Jun 12, 2009 at 7:13 AM, Mike McCartymike.mcca...@sbcglobal.net wrote: Umm, I thought the explanation was pretty clear. What is there about needing to build a compiler in order to

Re: [lfs] error compiling gcc in Pass 1

2009-06-12 Thread Ankur Sinha
hi, I put mpfr and gmp into the gcc-source directory.. now i get these as the last few lines of a failed make command.. make[5]: Entering directory `/media/LFS/sources/gcc-build/x86_64-unknown-linux-gnu/32/libgcc' # If this is the

Re: [lfs] error compiling gcc in Pass 1

2009-06-12 Thread William Immendorf
On Fri, Jun 12, 2009 at 3:56 PM, Ankur Sinhasanjay.an...@gmail.com wrote: In file included from /usr/include/features.h:359,                 from /usr/include/stdio.h:28,                 from ../../../../gcc-4.3.2/libgcc/../gcc/tsystem.h:90,                 from

Re: [lfs] error compiling gcc in Pass 1

2009-06-12 Thread William Immendorf
On Fri, Jun 12, 2009 at 4:34 PM, William Immendorfwill.immend...@gmail.com wrote: On Fri, Jun 12, 2009 at 3:56 PM, Ankur Sinhasanjay.an...@gmail.com wrote: /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory It seems you are missing /usr/include/gnu/stubs.h. I think

Re: [lfs] error compiling gcc in Pass 1

2009-06-12 Thread Trent Shea
On Friday 12 June 2009 14:56:55 Ankur Sinha wrote: Why do I get this error? I don't think I've missed anything this time. I'm on a fedora 10 x86_64 system. Please see the host system requirements before investing too much time into this particular build. Trent. --

Re: [lfs] error compiling gcc in Pass 1

2009-06-12 Thread Ankur Sinha
On Fri, 2009-06-12 at 16:36 -0500, William Immendorf wrote: On Fri, Jun 12, 2009 at 4:34 PM, William Immendorfwill.immend...@gmail.com wrote: On Fri, Jun 12, 2009 at 3:56 PM, Ankur Sinhasanjay.an...@gmail.com wrote: /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or