ITPub博客

首页 > 应用开发 > > make编译出错,这是什么错误

make编译出错,这是什么错误

作者:R-B 时间:2019-08-14 15:07:23 0 删除 编辑
tt@tt-virtual-machine:~/下载/source-archive/word2vec/trunk$ make
gcc word2vec.c -o word2vec -lm -pthread -O3 -march=native -Wall -funroll-loops -Wno-unused-result
gcc word2phrase.c -o word2phrase -lm -pthread -O3 -march=native -Wall -funroll-loops -Wno-unused-result
gcc distance.c -o distance -lm -pthread -O3 -march=native -Wall -funroll-loops -Wno-unused-result
distance.c: In function ‘main’:
distance.c:31:8: warning: unused variable ‘ch’ [-Wunused-variable]
   char ch;
        ^~
gcc word-analogy.c -o word-analogy -lm -pthread -O3 -march=native -Wall -funroll-loops -Wno-unused-result
word-analogy.c: In function ‘main’:
word-analogy.c:31:8: warning: unused variable ‘ch’ [-Wunused-variable]
   char ch;
        ^~
gcc compute-accuracy.c -o compute-accuracy -lm -pthread -O3 -march=native -Wall -funroll-loops -Wno-unused-result
compute-accuracy.c: In function ‘main’:
compute-accuracy.c:29:109: warning: unused variable ‘ch’ [-Wunused-variable]
 ze], st3[max_size], st4[max_size], bestw[N][max_size], file_name[max_size], ch;
                                                                             ^~
chmod +x *.sh

不常用make。出错了。

那句chmod +x *.sh,我打了,可是还不行

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/4560/viewspace-3136553/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: java怎么学
请登录后发表评论 登录
全部评论

注册时间:2019-09-03

  • 博文量
    183
  • 访问量
    10158