Re: gcc-4.3.2 fails to compile in chapter 6.14

2009-08-10 Thread Chris Staub
On 08/10/2009 03:20 AM, mahesh kumar wrote: > sorry. I didn't remove and even i had built the package in other > directory. Like, i had build gcc in three diretories for every pass. The > only reason i did it because of any crash occurs to the system... > > please, help me... > > -- > mahesh kumar

Re: gcc-4.3.2 fails to compile in chapter 6.14

2009-08-10 Thread mahesh kumar
>Ah yes, I forgot about the other possibility...another typical reason >for missing headers is reusing GCC source. Did you remember to remove >all build and source dirs after every package installation in Chapter 5? sorry. I didn't remove and even i had built the package in other directory. Like,

Re: gcc-4.3.2 fails to compile in chapter 6.14

2009-08-09 Thread Chris Staub
On 08/09/2009 11:51 PM, mahesh kumar wrote: > > > i have the same problem, but when i tried this one, its not working. I'm > getting the error as follows > > ../../../gcc-4.3.2/libgcc/../gcc/tsystem.h:111:18: error: time.h: No > such file or directory > make[2]: *** [_muldi3.o] Error 1 > make[2]: L

Re: gcc-4.3.2 fails to compile in chapter 6.14

2009-08-09 Thread mahesh kumar
>Solution: >Before you install gcc: >ln -s /tools/bin/cpp /lib >After you install gcc: >ln -sf /usr/bin/cpp /lib i have the same problem, but when i tried this one, its not working. I'm getting the error as follows ../../../gcc-4.3.2/libgcc/../gcc/tsystem.h:111:18: error: time.h: No such file

Re: gcc-4.3.2 fails to compile in chapter 6.14

2009-08-06 Thread Cornelia Böttge
Am Donnerstag 06 August 2009 07:08:51 schrieb Chris Staub: > On 08/05/2009 11:01 PM, Michael Tsang wrote: > > Uh, no. The /lib/cpp symlink is only created *after* GCC is installed, > and keep in mind many, many people build LFS and do not have problems > with its nonexistence up to this point. You

Re: gcc-4.3.2 fails to compile in chapter 6.14

2009-08-05 Thread Chris Staub
On 08/05/2009 11:01 PM, Michael Tsang wrote: >> >> configure:3233: error: C preprocessor "/lib/cpp" fails sanity check >> See `config.log' for more details. > > The error is obvious now. You need a /lib/cpp > Uh, no. The /lib/cpp symlink is only created *after* GCC is installed, and keep in mind

Re: gcc-4.3.2 fails to compile in chapter 6.14

2009-08-05 Thread Cornelia Böttge
Am Donnerstag 06 August 2009 05:01:52 schrieb Michael Tsang: > > > > configure:3233: error: C preprocessor "/lib/cpp" fails sanity check > > See `config.log' for more details. > > The error is obvious now. You need a /lib/cpp But cpp is supposed to be installed only in this chapter? Did I miss som

Re: gcc-4.3.2 fails to compile in chapter 6.14

2009-08-05 Thread Michael Tsang
> configure:3051: /lib/cpp conftest.c > /sources/gcc-4.3.2/libgcc/configure: line 3052: /lib/cpp: No such file or > directory > configure:3057: $? = 127 > > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "GNU C Runtime Library" > | #define PACKAGE_TARNAME "libgc

Re: gcc-4.3.2 fails to compile in chapter 6.14

2009-08-05 Thread Cornelia Böttge
Am Mittwoch 05 August 2009 17:36:07 schrieb Chris Staub: l > > This is not necessary - /lib/cpp is not yet supposed to exist at this > point anyway. The error message is probably due to something completely > unrelated. You said you provided the contents of config.log, but you > didn't say exactly

Re: gcc-4.3.2 fails to compile in chapter 6.14

2009-08-05 Thread Chris Staub
On 08/05/2009 04:43 AM, Michael Tsang wrote: > On Wednesday 05 August 2009 12:40:05 Cornelia Böttge wrote: >> Am Mittwoch 05 August 2009 04:23:59 schrieb Michael Tsang: >>> >>> Have you a /lib/cpp ? >> >> root:/# dir /lib/cpp >> dir: cannot access /lib/cpp: No such file or directory > > Solution: >

Re: gcc-4.3.2 fails to compile in chapter 6.14

2009-08-05 Thread Michael Tsang
On Wednesday 05 August 2009 12:40:05 Cornelia Böttge wrote: > Am Mittwoch 05 August 2009 04:23:59 schrieb Michael Tsang: > > On Wednesday 05 August 2009 03:50:05 Cornelia Böttge wrote: > > > My host-system is Debian etch. > > > Until chapter 6.14 all went well, including the tests. > > > But now du

Re: gcc-4.3.2 fails to compile in chapter 6.14

2009-08-04 Thread Cornelia Böttge
Am Mittwoch 05 August 2009 04:23:59 schrieb Michael Tsang: > On Wednesday 05 August 2009 03:50:05 Cornelia Böttge wrote: > > My host-system is Debian etch. > > Until chapter 6.14 all went well, including the tests. > > But now during the compilation of gcc, I got the error "lib/cpp fails > > sanit

Re: gcc-4.3.2 fails to compile in chapter 6.14

2009-08-04 Thread Michael Tsang
On Wednesday 05 August 2009 03:50:05 Cornelia Böttge wrote: > Hi all, > > this is my first try to build lfs, I use the current version of the book, > and did all according to the book (at least, I think I did). > My host-system is Debian etch. > Until chapter 6.14 all went well, including the tests

gcc-4.3.2 fails to compile in chapter 6.14

2009-08-04 Thread Cornelia Böttge
Hi all, this is my first try to build lfs, I use the current version of the book, and did all according to the book (at least, I think I did). My host-system is Debian etch. Until chapter 6.14 all went well, including the tests. But now during the compilation of gcc, I got the error "lib/cpp fail