LFS6.1 Section6.13 - Binutils : Error on "make tooldir=/usr"
Like I said in the subject I am having trouble on section 6.13 of LFS6.1 "Installation of Binutils".
The "expect -c "spawn ls"" check works fine, but I'm having problems configuring and making. Make tooldir=/usr results in the following error, Code:
make[3]: *** [arlex.o] Error 1 Code:
configure:2241: gcc -c -g -02 conftest.c 1>&5 I have followed the instructions word for word. If anyone can give me advice on how to proceed I will be very grateful. Thanks EDIT:: Apologies. Subject should read section 6.13, and NOT 3.13:o |
UPDATE:
I searched /mnt/lfs for gmp.h and found two instances of it -- one in sources/glibc-2.3.4/include/ and another in sources/glibc-2.3.4/stdlib/. Funnily enough the two versions of gmp.h are different sizes!! The one in ...../include is 789bytes and the one in ...../stdlib is 23K. What's going on here?? Should these folders be in my PATH?? Should I cp one of these into /mnt/ls/usr/include/?? I would be very grateful if someone could provide a pointer or two to get me back on the right path. Many thanks. |
UPDATE2:
I downloaded gmp from http://www.swox.com/gmp/#DOWNLOAD and then moved it to /mnt/lfs/sources and installed it with Code:
./configure --prefix=/usr I've pretty much run out of ideas, and REALLY don't want to get stuck here. All help is greatly appreciated!! |
Quote:
2. Whats printed before (about 20 lines): make[3]: *** [arlex.o] Error 1 Cheers, GH |
Thanks for your reply freegianghu.
I am SO confused. I re-ran the make tooldir=..... command so I could get the information to answer your question, and now the bloody thing works!!! With no failures. And "make check" worked fine as well. I'm sorry to have wasted your time, but thanks for reading my posts. *confused* |
All times are GMT -5. The time now is 05:38 AM. |