0
点赞
收藏
分享

微信扫一扫

fedora 20下使用gcc 4.8.2编译gcc-4.4.1的错误

求阙者 2022-12-13 阅读 64


In file included from /root/Downloads/gcc-4.4.1/libgcc/../gcc/unwind-dw2.c:333:
/root/Downloads/gcc-4.4.1/libgcc/../gcc/config/i386/linux-unwind.h: In function ‘x86_fallback_frame_state’:
/root/Downloads/gcc-4.4.1/libgcc/../gcc/config/i386/linux-unwind.h:138: error: field ‘info’ has incomplete type
make[3]: *** [unwind-dw2.o] Error 1
make[3]: Leaving directory `/opt/gcc_build/i686-linux/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/opt/gcc_build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/opt/gcc_build'
make: *** [all] Error 2



修改: 将

../gcc/config/i386/linux-unwind.h


文件中的 struct siginfo 改成 siginfo_t 

举报

相关推荐

0 条评论