GCC in chroot failing to build, unable to find headers
Hi,
I am having a problem building GCC under the chroot environment (Chapter 6.12), similar to errors mentioned in two previous posts:- http://www.linuxquestions.org/questi...d.php?t=444805 http://www.linuxquestions.org/questi...d.php?t=397346 The error, which occurs during the "make" step:- Code:
In file included from ../../gcc-4.0.3/gcc/crtstuff.c:64: So far I performed all the tests and the sanity checks that came before this step and they've been successful. Oh, I also checked /usr/include and the headers seem to be there... Any help would be appreciated :) Cheers, /Fuad |
I think I figured out what the problem was. For the GCC source files I used the same as in building the second pass of GCC under section 5.11. In that section, Patch gcc-4.0.3-specs-1.patch was applied to remove /usr/include from GCC's search path.
When I came to 6.12 I just deleted the old build directory but used the same sources directory, with the applied patch. I deleted the old sources directory, and re-extracted it and and it's working fine now. Anyway, just wanted to say that this book is great - thanks for all the hard work that went into writing it :) Cheers, /Fuad |
Thanks mate, you solved my problem!
|
thanks, solved my problem too
|
It didnt solve mine...
I just installed linux for the first time again since ages. Kubuntu 7.04 and out of the box every configure or make that I tried failed with something like stdio.h : no such file or directory.
I last used linux at the times of Mandrake, and then I used to know how to find an rpm that contained what I needed, what do i do in case of Kubuntu? Mandrake is no more right? :confused: |
All times are GMT -5. The time now is 05:11 PM. |