小事儿儿 2016-06-14 08:30 采纳率: 0%
浏览 9863

Ubuntu 16 64位安装gcc4.4.0 make失败,求大神解救

../.././gcc/gimple.h:67:54: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic]
gimple_check_failed (__gs, FILE, LINE, FUNCTION, \
^
../.././gcc/gimple.h:4280:3: note: in expansion of macro ‘GIMPLE_CHECK’
GIMPLE_CHECK (gs, GIMPLE_PREDICT);
^
../.././gcc/gimple.h:68:17: warning: enum conversion when passing argument 6 of ‘gimple_check_failed’ is invalid in C++ -Wc++-compat, 0); \
^
../.././gcc/gimple.h:4280:3: note: in expansion of macro ‘GIMPLE_CHECK’
GIMPLE_CHECK (gs, GIMPLE_PREDICT);
^
../.././gcc/gimple.h:59:13: note: expected ‘enum tree_code’ but argument is of type ‘int’
extern void gimple_check_failed (const_gimple, const char , int, \
^
../.././gcc/toplev.c: At top level:
../.././gcc/toplev.c:536:1: error: redefinition of ‘floor_log2’
floor_log2 (unsigned HOST_WIDE_INT x)
^
In file included from ../.././gcc/toplev.c:58:0:
../.././gcc/toplev.h:190:1: note: previous definition of ‘floor_log2’ was here
floor_log2 (unsigned HOST_WIDE_INT x)
^
../.././gcc/toplev.c:571:1: error: redefinition of ‘exact_log2’
exact_log2 (unsigned HOST_WIDE_INT x)
^
In file included from ../.././gcc/toplev.c:58:0:
../.././gcc/toplev.h:196:1: note: previous definition of ‘exact_log2’ was here
exact_log2 (unsigned HOST_WIDE_INT x)
^
../.././gcc/toplev.c: In function ‘print_to_asm_out_file’:
../.././gcc/toplev.c:1185:7: warning: format not a string literal and no format arguments [-Wformat-security]
fprintf (asm_out_file, text);
^
../.././gcc/toplev.c: In function ‘print_to_stderr’:
../.././gcc/toplev.c:1214:7: warning: format not a string literal and no format arguments [-Wformat-security]
fprintf (stderr, text);
^
Makefile:2470: recipe for target 'toplev.o' failed
make[3]: *
* [toplev.o] Error 1
make[3]: Leaving directory '/home/zsj/下载/related/gcc-4.4.0/host-x86_64-unknown-linux-gnu/gcc'
Makefile:5144: recipe for target 'all-stage1-gcc' failed
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory '/home/zsj/下载/related/gcc-4.4.0'
Makefile:19883: recipe for target 'stage1-bubble' failed
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory '/home/zsj/下载/related/gcc-4.4.0'
Makefile:741: recipe for target 'all' failed
make: *** [all] Error 2

  • 写回答

3条回答 默认 最新

  • oyljerry 2016-06-14 08:40
    关注

    你Ubuntu16自带的GCC版本应该起码gcc5了吧,你再编译gcc4.4的源码可能有一些语法警告错误。

    评论

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器