zlib, harsh compiler warnings and configure test

前端 未结 3 1556
北海茫月
北海茫月 2021-01-18 11:10

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):

3条回答
  •  鱼传尺愫
    2021-01-18 11:32

    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.

提交回复
热议问题