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

来源:互联网 发布:多进程 python windows 编辑:程序博客网 时间:2024/05/21 16:55

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 typemake[3]: *** [unwind-dw2.o] Error 1make[3]: Leaving directory `/opt/gcc_build/i686-linux/libgcc'make[2]: *** [all-stage1-target-libgcc] Error 2make[2]: Leaving directory `/opt/gcc_build'make[1]: *** [stage1-bubble] Error 2make[1]: Leaving directory `/opt/gcc_build'make: *** [all] Error 2


修改: 将

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

文件中的 struct siginfo 改成 siginfo_t 

0 0
原创粉丝点击