This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Andriod ICS Compilation issue

I am getting following errors. how to fix those issues?

host Executable: etc1tool (out/host/linux-x86/obj/EXECUTABLES/etc1tool_intermediates/etc1tool)
true
Install: out/host/linux-x86/bin/eventanalyzer
Install: out/host/linux-x86/bin/exc_dump
Install: out/host/linux-x86/bin/fastboot
true
Install: out/host/linux-x86/bin/fs_config
Install: out/host/linux-x86/bin/fs_get_stats
Install: out/host/linux-x86/bin/genext2fs
host C: gpttool <= system/core/gpttool/gpttool.c
Install: out/host/linux-x86/bin/hierarchyviewer
Install: out/host/linux-x86/bin/hierarchyviewer1
system/core/gpttool/gpttool.c: In function âmainâ:
system/core/gpttool/gpttool.c:296: warning: implicit declaration of function âioctlâ
system/core/gpttool/gpttool.c:356: warning: implicit declaration of function âcrc32â
system/core/gpttool/gpttool.c:356: error: âZ_NULLâ undeclared (first use in this function)
system/core/gpttool/gpttool.c:356: error: (Each undeclared identifier is reported only once
system/core/gpttool/gpttool.c:356: error: for each function it appears in.)
make: *** [out/host/linux-x86/obj/EXECUTABLES/gpttool_intermediates/gpttool.o] Error 1
make: *** Waiting for unfinished jobs....
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area

regards,

sreedhar