make errors while compiling glibc-2.10.1 in LFS - 6.5
Hi all
I am trying to compile glibc-2.10.1 as per the procedure given in LFS book version 6.5. The configure step goes well but there are errors in the make step.... Code:
make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.10.1 objdir=`pwd` all please help....... Regards _Linux_Learner |
Quote:
check the host system requirements again: http://archive.linuxfromscratch.org/.../hostreqs.html You need to have gawk installed. Mawk will not do. |
Yes I got it work...
Now I am not understanding that what the following command is doing... Code:
SPECS=`dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/specs Thanks in advance... Regards _Linux_Learner |
Hi,
The default delimiter (the /) can be just about anything you want in sed, which is handy when you need to parse a directory path for example. Instead of escaping all the forward slashes in the directory path you can change the delimiter. The following two are the same, the second one is easier to read: sed 's/\/some\/dir\//\/another\/directory\//' file sed 's@/some/dir/@/another/directory/@' file Hope this helps. |
Hi all
Thanks for your help and I got the doubts cleared upto here... Now new problem creep in.... I am getting errors while compiling binutils-2.19.1-pass 2... Code:
make[1]: Entering directory `/mnt/lfs/sources/binutils-build' please help..... Thanks in advance Regards _Linux_Learner |
Hi,
It looks like you did not remove the previous source and/or build directory. You need to start every build with a clean sheet. Remove the source and binutils-build directory, untar the binutils package and start again. There is a small possibility that the source isn't clean to begin with (although I did not run into this when building LFS 6.5). If, after cleanly starting, you still get this message you could try the suggestion in the error message: configure: error: run `make distclean' and/or `rm ./config.cache' and start over. But like I stated before, I doubt this is the problem. Hope this helps. |
Hi drunna thanks for your valuable help. I got the things work.
Now can someone please tell me waht the following code is doing in the second pass of binutils-2.19.1... Code:
CC="$LFS_TGT-gcc -B/tools/lib/" \ Thanks in advance Regards _Linux_Learner |
hey _Linux_Learner I am currently on the exact same step and found the answer to the not removing previous install bit...
anyway to answer your question... the meaning is given below the command in the book... in short [and from my limited understanding] we are now setting the cross-compiler and tools to use the new system we are building and not the host system.... [only sort of makes seance to me 2....] so we should now have 2 versions of binutils one for the host and one for the new system... [I think... some one please correct me if I am wrong!!!] Quote:
|
All times are GMT -5. The time now is 12:43 AM. |