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.
My problem was:
cc1: error while loading shared libraries: libimf.so: cannot open shared object file: No such file or directory
Search for details in configure.log
.
mine was failing because it tried to use cc (non existent) instead of gcc