I have a problem. The following is the building log:
tagore@tagore-desktop:~/mydroid$ make
build/core/
product_config.mk:229: WARNING: adding test OTA key
host C: libneo_cgi <= external/clearsilver/cgi/cgi.c
external/clearsilver/cgi/cgi.c:22:18: error: zlib.h: No such file or
directory
external/clearsilver/cgi/cgi.c: In function ‘cgi_compress’:
external/clearsilver/cgi/cgi.c:885: error: ‘z_stream’ undeclared
(first use in this function)
external/clearsilver/cgi/cgi.c:885: error: (Each undeclared identifier
is reported only once
external/clearsilver/cgi/cgi.c:885: error: for each function it
appears in.)
external/clearsilver/cgi/cgi.c:885: error: expected ‘;’ before
‘stream’
external/clearsilver/cgi/cgi.c:888: error: ‘stream’ undeclared (first
use in this function)
external/clearsilver/cgi/cgi.c:888: error: ‘Bytef’ undeclared (first
use in this function)
external/clearsilver/cgi/cgi.c:888: error: expected expression before
‘)’ token
external/clearsilver/cgi/cgi.c:889: error: ‘uInt’ undeclared (first
use in this function)
external/clearsilver/cgi/cgi.c:889: error: expected ‘;’ before ‘str’
external/clearsilver/cgi/cgi.c:890: error: expected expression before
‘)’ token
external/clearsilver/cgi/cgi.c:892: error: ‘uLong’ undeclared (first
use in this function)
external/clearsilver/cgi/cgi.c:892: error: expected ‘)’ before
‘stream’
external/clearsilver/cgi/cgi.c:895: error: ‘alloc_func’ undeclared
(first use in this function)
external/clearsilver/cgi/cgi.c:895: error: expected ‘;’ before numeric
constant
external/clearsilver/cgi/cgi.c:896: error: ‘free_func’ undeclared
(first use in this function)
external/clearsilver/cgi/cgi.c:896: error: expected ‘;’ before numeric
constant
external/clearsilver/cgi/cgi.c:897: error: ‘voidpf’ undeclared (first
use in this function)
external/clearsilver/cgi/cgi.c:897: error: expected ‘;’ before numeric
constant
external/clearsilver/cgi/cgi.c:900: error: ‘Z_DEFAULT_COMPRESSION’
undeclared (first use in this function)
external/clearsilver/cgi/cgi.c:900: error: ‘Z_DEFLATED’ undeclared
(first use in this function)
external/clearsilver/cgi/cgi.c:900: error: ‘MAX_WBITS’ undeclared
(first use in this function)
external/clearsilver/cgi/cgi.c:900: error: ‘Z_DEFAULT_STRATEGY’
undeclared (first use in this function)
external/clearsilver/cgi/cgi.c:901: error: ‘Z_OK’ undeclared (first
use in this function)
external/clearsilver/cgi/cgi.c:904: error: ‘Z_FINISH’ undeclared
(first use in this function)
external/clearsilver/cgi/cgi.c:905: error: ‘Z_STREAM_END’ undeclared
(first use in this function)
external/clearsilver/cgi/cgi.c: In function ‘cgi_output’:
external/clearsilver/cgi/cgi.c:1200: error: ‘Z_NULL’ undeclared (first
use in this function)
external/clearsilver/cgi/cgi.c:1201: error: expected ‘)’ before
‘Bytef’
external/clearsilver/cgi/cgi.c:1218: error: ‘Z_DEFLATED’ undeclared
(first use in this function)
make: *** [out/host/linux-x86/obj/SHARED_LIBRARIES/
libneo_cgi_intermediates/cgi.o] Error 1
Please tell me what the matter is. How to resolve it?
Thanks!
Tagore
On Oct 25, 12:53 am, Troy Bennett <
troy.benn...@gmail.com> wrote:
> Reposted fromhttp://
forum.xda-developers.com/showthread.php?t=396782&page=127
> $ curlhttp://
android.git.kernel.org/repo>~/bin/repo