On Thu, 2005-09-15 at 15:59 +0100, Matthew Burgess wrote:
> Brian Burch wrote:
> 
> > root:/sources/linux-2.6.11.12# make menuconfig
> >   HOSTCC  scripts/basic/fixdep
> > collect2: cannot find `ld'
> 
> Hmm, `ld' should have been installed in both /tools (by chapter 5 
> instructions) and later in /usr (by chapter 6 instructions).  I'm 
> surprised you've got as far as chapter 8 without it.  What does `type 
> -pa ld` show?  The only other thing I can think of is that you're not in 
> your chrooted environment any longer (but then you'd still need 'ld' on 
> the host for early chapter 5 instructions to work).  In short, I can't 
> think of an immediate fix, sorry.
> 
Thanks for the input. Tried your suggestion; below are the results:

[EMAIL PROTECTED] ~]# echo $LFS

[EMAIL PROTECTED] ~]# export LFS=/mnt/lfs
[EMAIL PROTECTED] ~]# chroot "$LFS" /usr/bin/env -i \
> HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
> PATH=/bin:/usr/bin:/sbin:/usr/sbin \
> /bin/bash --login
root:/# ls
bin   dev  home  media  opt   root  sources  sys  usr
boot  etc  lib   mnt    proc  sbin  srv      tmp  var
root:/# type -pa ld
/usr/bin/ld
root:/#

> > make[1]: *** [scripts/basic/fixdep] Error 1
> > make: *** [scripts_basic] Error 2
> > root:/sources/linux-2.6.11.12# make
> 
> Just for future reference - don't try to continue with instructions if 
> the previous command didn't work, unlike Windows the problem isn't going 
> to magically disappear :)
> 
> Regards,
> 
> Matt.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to