[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Kernel Compilation error with CLFS 1.1.0



Ben Ward wrote:
> Hi there,
> 
> I'm currently building CLFS 1.1.0, and it's gone flawlessly up until
> now. I am trying to compile the kernel for my first boot.
> 
> The first time I compiled it, I managed to compile SATA support as a
> module, so I couldn't boot. I booted back into Ubuntu 8.10 (my host
> system), and set about recompiling it. Now, whatever I do, the
> compilation hits an error:
> 
> root@moose2:/mnt/clfs/sources/linux-2.6.24.7# make ARCH=x86_64
> CROSS_COMPILE=${CLFS_TARGET}-
> /tools/bin/x86_64-unknown-linux-gnu-gcc: 1: ELF: not found
> /tools/bin/x86_64-unknown-linux-gnu-gcc: 1: Syntax error: Unterminated
> quoted string
>   HOSTLD  scripts/kconfig/conf
> scripts/kconfig/conf -s arch/x86/Kconfig
> /tools/bin/x86_64-unknown-linux-gnu-gcc: 1: ELF: not found
> /tools/bin/x86_64-unknown-linux-gnu-gcc: 1: Syntax error: Unterminated
> quoted string
>   CHK     include/linux/version.h
>   UPD     include/linux/version.h
>   CHK     include/linux/utsrelease.h
>   UPD     include/linux/utsrelease.h
>   SYMLINK include/asm -> include/asm-x86
>   CC      arch/x86/kernel/asm-offsets.s
> /tools/bin/x86_64-unknown-linux-gnu-gcc: 1: ELF: not found
> /tools/bin/x86_64-unknown-linux-gnu-gcc: 1: Syntax error: Unterminated
> quoted string
> make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 2
> make: *** [prepare0] Error 2
> 
> I'm baffled as to what's going on here - it worked the first time! Any
> help would be appreciated - I'm loath to start the whole thing all
> over again.
> 
> Thanks,
Perhaps you should try reinstalling/recompiling the
cross-compiler/toolchain, since you seem to have affected it somehow.
--
Happy Hacking!

_______________________________________________
Sheffield Linux User's Group
http://sheflug.org.uk/mailman/listinfo/sheflug_sheflug.org.uk
FAQ at: http://www.sheflug.org.uk/mailfaq.html

GNU - The Choice of a Complete Generation