构建 libxcrypt 时出错

构建 libxcrypt 时出错

我正在libxcrypt我的上构建软件包光子发射站我收到以下错误:

[   37s] crypt_util.c:268:1: error: type defaults to 'int' in type name [-Werror=implicit-int]
[   37s] crypt_util.c:268:1: error: storage class specified for unnamed parameter
[   37s] crypt_util.c:268:41: error: unknown type name '_ufc_tables_lock'
[   37s] crypt_util.c:251:17: error: 'eperm32tab' defined but not used [-Werror=unused-variable]
[   37s] cc1: all warnings being treated as errors
[   37s] make[2]: *** [crypt_util.lo] Error 1
[   37s] make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/libxcrypt-3.0.2/src'
[   37s] make[1]: *** [all-recursive] Error 1
[   37s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/libxcrypt-3.0.2'
[   37s] make: *** [all] Error 2
[   37s] error: Bad exit status from /var/tmp/rpm-tmp.4ODqAP (%build)
[   37s] 
[   37s] RPM build errors:
[   37s]     Bad exit status from /var/tmp/rpm-tmp.4ODqAP (%build)
[   40s] [   29.214031] SysRq : Power Off
[   40s] [   29.215186] reboot: Power down`

相关内容