在suse10下构建gcc4.9某些变量未声明

在suse10下构建gcc4.9某些变量未声明,suse,Suse,我使用以下步骤构建gcc4.9 wget tar-zxvf gcc-4.9.0.tar.gz cd gcc-4.9.0 ./contrib/download\u先决条件 cd mkdir gcc-build-4.9.0 cd gcc-build-4.9.0 …/GC-C-4.90/Objto-启用检查=释放-使能语言= C,C++ -禁用多个LI/< make-j4 它将显示错误消息: ../../../../gcc-4.9.0/libsanitizer/sanitizer_common/san

我使用以下步骤构建gcc4.9

  • wget
  • tar-zxvf gcc-4.9.0.tar.gz
  • cd gcc-4.9.0
  • ./contrib/download\u先决条件
  • cd
  • mkdir gcc-build-4.9.0
  • cd gcc-build-4.9.0
  • …/GC-C-4.90/Objto-启用检查=释放-使能语言= C,C++ -禁用多个LI/<
  • make-j4
  • 它将显示错误消息:

    ../../../../gcc-4.9.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:232:27: error: ‘PTRACE_GETSIGINFO’ was not declared in this scope
       int ptrace_getsiginfo = PTRACE_GETSIGINFO;
                               ^
    ../../../../gcc-4.9.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:233:27: error: ‘PTRACE_SETSIGINFO’ was not declared in this scope
       int ptrace_setsiginfo = PTRACE_SETSIGINFO;
                               ^
    ../../../../gcc-4.9.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:390:30: error: ‘EVIOCGREP’ was not declared in this scope
       unsigned IOCTL_EVIOCGREP = EVIOCGREP;
                                  ^
    ../../../../gcc-4.9.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:399:30: error: ‘EVIOCSREP’ was not declared in this scope
       unsigned IOCTL_EVIOCSREP = EVIOCSREP;
                                  ^
    ../../../../gcc-4.9.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:682:36: error: ‘FS_IOC_GETFLAGS’ was not declared in this scope
       unsigned IOCTL_FS_IOC_GETFLAGS = FS_IOC_GETFLAGS;
                                        ^
    ../../../../gcc-4.9.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:683:38: error: ‘FS_IOC_GETVERSION’ was not declared in this scope
       unsigned IOCTL_FS_IOC_GETVERSION = FS_IOC_GETVERSION;
                                          ^
    ../../../../gcc-4.9.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:684:36: error: ‘FS_IOC_SETFLAGS’ was not declared in this scope
       unsigned IOCTL_FS_IOC_SETFLAGS = FS_IOC_SETFLAGS;
                                        ^
    ../../../../gcc-4.9.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:685:38: error: ‘FS_IOC_SETVERSION’ was not declared in this scope
       unsigned IOCTL_FS_IOC_SETVERSION = FS_IOC_SETVERSION;
                                          ^
    make[4]: *** [sanitizer_platform_limits_posix.lo] Error 1
    
    我试图重建,但它再次显示错误