sanity check error

Dan Nicholson dbn.lists at gmail.com
Thu Sep 27 09:27:37 PDT 2007


On 9/27/07, reeve.r at tiscali.co.uk <reeve.r at tiscali.co.uk> wrote:
>
> Have a problem. after re-adjusting tool chain in section 6.10
> sanity check gives following error:
>
> root:/sources/glibc-build# echo 'main(){}' > dummy.c
> root:/sources/glibc-build# cc dummy.c -Wl,--verbose &> dummy.log
> root:/sources/glibc-build# readelf -l a.out | grep ': /lib'
> readelf: Error: 'a.out': No such file

Forgot to reply to this. The problem seems to be that cc can't compile
the dummy program. If you do `echo $?' after `cc dummy.c ...', it will
probably not be 0. You need to look at the end of dummy.log to see
what the error is.

--
Dan



More information about the lfs-support mailing list