On Tue, 18 Oct 2011 19:50:05 -0700
Don Burns <[email protected]> wrote:

> Hello lfs'ers,
> 
> I've just joined the list and, though I've seen this question asked in the
> archives, I did not find an answer that I could turn into a fix.  I'm
> building with Version 7.0-rc2, I've gotten to step 6.7, and followed,
> carefully, all steps, verbatim, leading to this (three times - just in
> case).
> 
> root:/sources/linux-3.0.4# make headers_check
>   CHK     include/linux/version.h
>   HOSTCC  scripts/basic/fixdep
> /tools/lib/gcc/i686-pc-linux-gnu/4.6.1/../../../../i686-pc-linux-gnu/bin/ld:
> warning: cannot find entry symbol _start; defaulting to 080486e0
> Usage: fixdep <depfile> <target> <cmdline>
> make[1]: *** [scripts/basic/fixdep] Error 1
> make: *** [scripts_basic] Error 2
> 
> 
> Insights would be very much appreciated.
> 

Installing the kernel headers is the first thing that you do in chroot
that uses the programs installed in chapter 5. If something has gone
wrong it is the first time it might show up. From your error above it
looks like /tools/lib/i686-pc-linux-gnu/bin/ld is broken.
What does ldd /tools/lib/i686-pc-linux-gnu/bin/ld say? If it lists
libraries from /usr then it was compiled linked to libraries on your
host system that are not available in chroot and it will need to be
reinstalled along with anything else linked to your host system.

Andy
-- 
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