软件安装过程中make时发生错误,是怎么回事?信息如下:
gcc -c -O3 hbp_gen.c
gcc -c -O3 hbp_inpdb.c
hbp_inpdb.c: 在函数‘inpdb_file’中:
hbp_inpdb.c:2375: 警告: 忽略声明有 warn_unused_result 属性的‘fgets’的返回值
在函数‘fgets’中,
内联自‘inpdb_file’于 hbp_inpdb.c:2205:
/usr/include/bits/stdio2.h:253: 警告: 调用‘__fgets_chk_warn’,声明有警告属性:fgets called with bigger size than length of destination buffer
gcc -c -O3 hbp_findh.c
gcc -c -O3 hbp_hhb.c
gcc -c -O3 hbp_qnh.c
hbp_qnh.c: 在函数‘inasa_file’中:
hbp_qnh.c:47: 警告: 忽略声明有 warn_unused_result 属性的‘fopen’的返回值
gcc -c -O3 hbp_main.c
hbp_main.c: 在函数‘main’中:
hbp_main.c:985: 警告: 忽略声明有 warn_unused_result 属性的‘gets’的返回值
hbp_main.c:997: 警告: 忽略声明有 warn_unused_result 属性的‘gets’的返回值
gcc -O3 -o hbplus \
hbp_gen.o hbp_inpdb.o hbp_findh.o hbp_hhb.o hbp_qnh.o hbp_main.o -lm
hbp_main.o: In function `main':
hbp_main.c:(.text+0x1470): warning: the `gets' function is dangerous and should not be used.
f77 clean.f -o clean
f77: Command not found.
make: *** [clean] 错误 1
求助 f77: Command not found.
-
- 帖子: 18
- 注册时间: 2010-09-28 20:24
-
- 帖子: 178
- 注册时间: 2007-10-14 13:22
Re: 求助 f77: Command not found.
代码: 全选
sudo apt-get install fort77