zlib, harsh compiler warnings and configure test

前端 未结 3 1548
北海茫月
北海茫月 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.

    0 讨论(0)
  • 2021-01-18 11:33

    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.

    0 讨论(0)
  • 2021-01-18 11:46

    mine was failing because it tried to use cc (non existent) instead of gcc

    0 讨论(0)
提交回复
热议问题