Problem in compiling kernel
Daniel Baluta
daniel.baluta at gmail.com
Mon Jun 27 13:23:35 EDT 2011
On Mon, Jun 27, 2011 at 7:21 PM, Ponkumaran Annadurai
<aspkumaran at gmail.com> wrote:
> Hello,
>
> I encountered the following error while compiling the kernel version
> linux-2.6.39.1. So I am giving here what I got on my screen.
>
> root at rocker:/usr/src/linux-2.6.39.1# make
> CHK include/linux/version.h
> CHK include/generated/utsrelease.h
> CC kernel/bounds.s
> GEN include/generated/bounds.h
> CC arch/x86/kernel/asm-offsets.s
> GEN include/generated/asm-offsets.h
> CALL scripts/checksyscalls.sh
> HOSTCC scripts/genksyms/genksyms.o
> SHIPPED scripts/genksyms/lex.c
> SHIPPED scripts/genksyms/parse.h
> SHIPPED scripts/genksyms/keywords.c
> HOSTCC scripts/genksyms/lex.o
> SHIPPED scripts/genksyms/parse.c
> HOSTCC scripts/genksyms/parse.o
> HOSTLD scripts/genksyms/genksyms
> CC scripts/mod/empty.o
> /bin/sh: Yobjdump: not found
> HOSTCC scripts/mod/mk_elfconfig
> MKELF scripts/mod/elfconfig.h
> HOSTCC scripts/mod/file2alias.o
> HOSTCC scripts/mod/modpost.o
> HOSTCC scripts/mod/sumversion.o
> HOSTLD scripts/mod/modpost
> HOSTCC scripts/selinux/genheaders/genheaders
> HOSTCC scripts/selinux/mdp/mdp
> HOSTCC scripts/kallsyms
> HOSTCC scripts/conmakehash
> HOSTCC scripts/recordmcount
> CC init/main.o
> /bin/sh: Yobjdump: not found
> CHK include/generated/compile.h
> UPD include/generated/compile.h
> CC init/version.o
> /bin/sh: Yobjdump: not found
> CC init/do_mounts.o
> /bin/sh: Yobjdump: not found
> CC init/do_mounts_rd.o
> /bin/sh: Yobjdump: not found
> CC init/do_mounts_initrd.o
> /bin/sh: Yobjdump: not found
> CC init/do_mounts_md.o
> /bin/sh: Yobjdump: not found
> LD init/mounts.o
> /bin/sh: Yld: not found
> make[1]: *** [init/mounts.o] Error 127
> make: *** [init] Error 2
Have you tried to setup some sort of cross-compilation environment?
Could you check CROSS_COMPILE env variable?
thanks,
Daniel.
More information about the Kernelnewbies
mailing list