Your answer is in your logs

error: elf.h: No such file or directory

it looks like all your definitions will lie in that header.


On Mon, Apr 29, 2013 at 7:57 PM, XPFirst <nanjizhi...@gmail.com> wrote:

> download url :  git clone https://android.googlesource.com/kernel/msm.git
>
> $make msm8960_defconfig
> $make
>
> error:
>
>   HOSTCC  scripts/mod/mk_elfconfig
> scripts/mod/mk_elfconfig.c:4:17: error: elf.h: No such file or directory
> scripts/mod/mk_elfconfig.c: In function ‘main’:
> scripts/mod/mk_elfconfig.c:9: error: ‘EI_NIDENT’ undeclared (first use in
> this function)
> scripts/mod/mk_elfconfig.c:9: error: (Each undeclared identifier is
> reported only once
> scripts/mod/mk_elfconfig.c:9: error: for each function it appears in.)
> scripts/mod/mk_elfconfig.c:16: error: ‘ELFMAG’ undeclared (first use in
> this function)
> scripts/mod/mk_elfconfig.c:16: error: ‘SELFMAG’ undeclared (first use in
> this function)
> scripts/mod/mk_elfconfig.c:20: error: ‘EI_CLASS’ undeclared (first use in
> this function)
> scripts/mod/mk_elfconfig.c:21: error: ‘ELFCLASS32’ undeclared (first use
> in this function)
> scripts/mod/mk_elfconfig.c:24: error: ‘ELFCLASS64’ undeclared (first use
> in this function)
> scripts/mod/mk_elfconfig.c:30: error: ‘EI_DATA’ undeclared (first use in
> this function)
> scripts/mod/mk_elfconfig.c:31: error: ‘ELFDATA2LSB’ undeclared (first use
> in this function)
> scripts/mod/mk_elfconfig.c:34: error: ‘ELFDATA2MSB’ undeclared (first use
> in this function)
> scripts/mod/mk_elfconfig.c:9: warning: unused variable ‘ei’
> make[2]: *** [scripts/mod/mk_elfconfig] Error 1
> make[1]: *** [scripts/mod] Error 2
> make: *** [scripts] Error 2
>
> who help? thinks
>
> --
> --
> unsubscribe: android-kernel+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-kernel
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Linux Kernel Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-kernel+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-kernel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to