Error using imagebuilder zlib


I'm try to compile for the first time a image but im getting the following error. I've installed zlib version 1.2.11 so thats fine but still get this error. Does someone have a solution?

checking for zlib installation... /usr
configure: error: The installed zlib version may contain a security bug. Please upgrade to 1.2.2 or later: You can omit this check with --disable-zlib-vcheck but DO NOT REPORT any stability issues then!
Makefile:119: recipe for target '/home/jeffrey/source/build_dir/target-mips_24kc_musl-1.1.16/clamav-0.98.7/.configured_yyyyyy' failed
make[3]: *** [/home/jeffrey/source/build_dir/target-mips_24kc_musl-1.1.16/clamav-0.98.7/.configured_yyyyyy] Error 1
make[3]: Leaving directory '/home/jeffrey/source/feeds/packages/net/clamav'
package/Makefile:105: recipe for target 'package/feeds/packages/clamav/compile' failed
make[2]: *** [package/feeds/packages/clamav/compile] Error 2
make[2]: Leaving directory '/home/jeffrey/source'
package/Makefile:101: recipe for target '/home/jeffrey/source/staging_dir/target-mips_24kc_musl-1.1.16/stamp/.package_compile' failed
make[1]: *** [/home/jeffrey/source/staging_dir/target-mips_24kc_musl-1.1.16/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/jeffrey/source'

someone please?