Error while doing make check in installing linux apis for LFS 6.5

Michael Tsang miklcct at gmail.com
Tue Dec 15 03:27:58 PST 2009


On Tuesday 15 December 2009 16:22:57 Akshay Patil wrote:
> I am getting an error
> 
> root:/sources/linux-2.6.30.2# make mrproper
>   CLEAN   include/linux/version.h
> root:/sources/linux-2.6.30.2# make headers_check
>   CHK     include/linux/version.h
>   UPD     include/linux/version.h
>   HOSTCC  scripts/basic/fixdep
> scripts/basic/fixdep.c: In function 'traps':
> scripts/basic/fixdep.c:377: warning: dereferencing type-punned pointer will
> break strict-aliasing rules
> scripts/basic/fixdep.c:379: warning: dereferencing type-punned pointer will
> break strict-aliasing rules
> /tools/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../../i686-pc-linux-gnu/bin/ld
> : crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> make[1]: *** [scripts/basic/fixdep] Error 1
> make: *** [scripts_basic] Error 2
> 
> Prior to this i had went properly upto installing glibc but then i couldnt
> install binutils so i thought of starting the process of
> building the real system again
> Except tools and sources directory and ofcourse the files in it ,i deleted
> everything
> and began from the this relative link of lfs 6.5 which is
> LFS-BOOK-6.5-HTML/chapter06/introduction.html
> 
> But as you have observed earlier i am getting this error
> 
> Can anyone fix this or has encountered such an error ????
> 

The tools directory cannot be used again once you have adjusted your toolchain 
after installing glibc. You have to build the toolchain again.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20091215/9547b0ca/attachment.sig>


More information about the lfs-support mailing list