Chris J. Breisch wrote: [putolin]
> So, clearly the problem is that ld isn't looking for crt1.o where it > resides. Obviously, I've done something wrong on a preceding step, but > I'm unable to find it. > > But I don't know which step is wrong. Did make install of glibc install > it in the wrong place? Is ld looking in the wrong place? Did gcc tell ld > to look in the wrong place? I see that gcc did supply > -L/mnt/lfs/tools/lib to ld, which clearly didn't help for the .o files, > but only for libraries. > > Now, I could go on, ignoring this issue. Compiling binutils again is > next, and I'm pretty sure I can pass appropriate options to configure to > enable binutils to compile properly. But I'm worried that this will > cause problems farther down the line, so I'd prefer to fix this cleanly > now, rather than continue to jump through hoops as the build progresses. > > Any thoughts? > > Check the tools symlink ls -l /tools should output something like this: tools -> /mnt/lfs/tools/ Make sure it points to /mnt/lfs/tools, if it doesn't then you will need to fix that and redo chapter 5. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page