![]() |
Part II Chapter 6 Section 6.16 GCC-4.5.2 make error
Hi there, sorry to post here (again lol) but this time I'm stumped. I'm trying to build GCC-4.5.2 and when I run make, I get an odd error.
I will iterate: Code:
checking how to run the C preprocessor... /lib/cppI'm running Ubuntu Natty. |
Hi,
Quote:
My guess for now: You haven't (correctly) build c++ (this was done in chapter 5.10 GCC-4.5.2 - Pass 2). If my assumption is correct fixing this isn't as easy as the previous perl problem you had. You already adjusted the toolchain (6.10) so going back to chapter 5, (re)installing gcc and continuing with 6.16 is probably not possible. You can, of course, try. I do hope you followed the advise given at the bottom of chapter 5.34. In that case you don't have to start from scratch again but can remove all and restore the backup. At this point you can redo 5.10 and all of chapter 6. But do have a look at the config.log first! Hope this helps. |
Well, I went back and reinstalled gcc, tried compiling gcc and got an error about not being able to find zlib.h. So I went back and reinstalled zlib, got the same error, so I decided I'm just going to restart compiling lfs, as I didn't make a backup like you pointed out (I guess I just didn't see that part). Ah well, thanks anyway :)
|
Hi,
Although I figured as much, you did already do the re-adjusting the toolchain part, it is too bad you couldn't fix it by going back to chapter 5. About making a backup after finishing chapter 5: - Make sure you are root user, - Make sure $LFS is still mounted, - Then: Code:
# making the backup |
| All times are GMT -5. The time now is 10:13 PM. |