Make error with GCC-4.4.1
Hello,
Just started today with the LFS book 6.5. It's my first LFS installation and I've got everything prepared, host system has all it needs on board and the installation of the first package (binutils) ran perfectly. The second however GCC-4.4.1 - Pass 1, compiles without any errors but when I issue the make command I get the following error: Code:
checking for i686-lfs-linux-gnu-gcc... /mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/i686-lfs-linux-gnu/bin/ -B/tools/i686-lfs-linux-gnu/lib/ -isystem /tools/i686-lfs-linux-gnu/include -isystem /tools/i686-lfs-linux-gnu/sys-include I hope someone can help me out on this one. I followed the book to the letter so I assume it's something I'm missing in my host system but cannot find it. Kind regards, Eric |
Hi Eric,
Could you please post the content of 'config.log' ? thanks |
Hi kbp,
Thanks for the quick reply. Attached you'll find my config.log. Had to rename it to txt file. I hope that it's a lot clearer than it is to me :scratch: Kind regards, Eric |
Hey Eric,
Looks like you're missing g++ .. could you please install and retry ? thnx |
Hi kbp,
Just installed g++, although it was not in the prerequisite list, but get the same result when I run the make command. It gives me exactly the same error. Any idea? Kind regards, Eric |
New 'config.log' ?
|
Of course :cool: Just realized that I had forgotten something. Brain is working half-time (Sunday mode). New log is attached.
Kind regards, Eric |
Hi Eric,
There only seems to be a couple of problems : conftest.c:12:19: error: ppl_c.h: No such file or directory and conftest.c:12:25: error: cloog/cloog.h: No such file or directory The prereqs for gcc as per: http://gcc.gnu.org/install/prerequisites.html show: - Parma Polyhedra Library (PPL) - CLooG-PPL I guess these are not present.. kbp |
Quote:
Kind regards, Eric |
No such luck
Hello,
Just finished make command again and with the same error. I've attached the latest log file. I'd appreciate if someone could indicate me what I'm missing or why make is failing. Kind regards, Eric EDIT: Forgot attachment. |
Got it fixed!
Hello,
I got my problem fixed. I started the computer from the LFS LiveCD and when compiling and making the package I got the same error which in my opinion shouldn't happen at all. So I consulted my very best friend (Google) again and came across a post in the archives of LFS stating that when recompiling you have to start from scratch. So I completely deleted the 'build' directory and started over; and this time it worked without any problems. Thank you very much for helping out kbp. You got me started in the right direction. Kind regards, Eric |
All times are GMT -5. The time now is 10:17 AM. |