Bhishma wrote:
This is my first lfs install, and i am experiencing some problems.
What version are you trying to build?
I am trying to compile gcc (second pass) and it cannot found the gnu/stub.h file.
That file doesn't exist on my machine, maybe it would help if you copied and pasted the exact error you are getting?
I have looked and it is not in the /tools/include directory. However, my host system does have it. Can i simply copy it over or does this mess my toolchain.
No, you should never copy anything across from your host system, such steps should never be required.
My other problem was that gcc could not find libc.so.6 and ld-linux.so.2. I simply created symbolic links to the /tools/lib/libc-2.3.4.so and /tools/lib/ld-2.3.4.so. I am just wondering if i am the only one having that problem, as i could not find any mention of that in the manual.
Those links are correct, but you shouldn't have had to create them manually. This sounds like your glibc install didn't complete correctly.
Regards, Matt. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page