I\'m trying to compile zlib from the command line, and I\'m getting this message when using -Wall -Wextra -Wconversion
(full cross-compile script is below):
I had the exact same problem on a newly built machine, and I found the cause was that I didn't actually have the appropriate GNU C compilers installed (reference). Therefore it's complaining that the compiler is too harsh simply because there is no compiler.
Try running:
sudo apt-get install build-essential
and then try running your ./configure
again.