make[1]: Entering directory `/root/asterisk-1.2.17/pbx'
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declaration s -g3 -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -fomit-frame-pointer -fPIC -c -o pbx_dundi.o pbx_dundi.c
pbx_dundi.c:45:18: error: zlib.h: No such file or directory
pbx_dundi.c: In function cache_lookup_internal:
pbx_dundi.c:1158: warning: dereferencing type-punned pointer will break strict-a liasing rules
pbx_dundi.c: In function update_key:
pbx_dundi.c:1333: warning: implicit declaration of function crc32
pbx_dundi.c: In function dundi_decrypt:
pbx_dundi.c:1389: warning: implicit declaration of function uncompress
pbx_dundi.c:1389: error: Z_OK undeclared (first use in this function)
pbx_dundi.c:1389: error: (Each undeclared identifier is reported only once
pbx_dundi.c:1389: error: for each function it appears in.)
pbx_dundi.c: In function dundi_encrypt:
pbx_dundi.c:1414: warning: implicit declaration of function compress
pbx_dundi.c:1415: error: Z_OK undeclared (first use in this function)
pbx_dundi.c: In function load_password:
pbx_dundi.c:2053: warning: dereferencing type-punned pointer will break strict-a liasing rules
make[1]: *** [pbx_dundi.o] Error 1
make[1]: Leaving directory `/root/asterisk-1.2.17/pbx'
make: *** [subdirs] Error 1
asterisk1:~/asterisk-1.2.17 #