On Jan 15, 2008 5:15 PM, Lee McCafferty <[EMAIL PROTECTED]> wrote: > Okay, I'm trying to install lfs onto an Ext3 partition on a dual core > intel x86, with ubuntu 7.10 as my base system. In chapter 5.5 Linux API > Headers I get this error after running make headers_check > > [EMAIL PROTECTED]:/mnt/lfs/sources/linux-2.6.22.5$ make mrproper > CLEAN include/linux/version.h > [EMAIL PROTECTED]:/mnt/lfs/sources/linux-2.6.22.5$ make headers_check > CHK include/linux/version.h > UPD include/linux/version.h > HOSTCC scripts/basic/fixdep > /tools/bin/ld: unrecognized option '--hash-style=both' > /tools/bin/ld: use the --help option for usage information > collect2: ld returned 1 exit status > make[1]: *** [scripts/basic/fixdep] Error 1 > make: *** [scripts_basic] Error 2 > > I've searched for an answer on the list archives but could not find > anything that described my problem. Any enlightenment would be greatly > appreciated.
It appears you're still using your host's gcc instead of the one at /tools/bin/gcc. Perhaps you missed the /tools/bin/cc -> gcc symlink? Maybe /tools/bin is not at the beginning of your PATH? What's the output of `which cc' and `which gcc'? -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page