luject icon indicating copy to clipboard operation
luject copied to clipboard

xmake编译工程install lief报错

Open a515642 opened this issue 3 years ago • 2 comments

描述问题

xmake编译工程报错

  • [ ] @ #1. ### [期待的结果](### 请尽量清晰精准地描述你所期待的结果。

错误信息

=> install lief 0.11.5 .. failed

/root/.xmake/cache/packages/2206/l/lief/0.11.5/source/LIEF-0.11.5/build_5fd114f4/mbed_tls/src/lief_mbed_tls/library/aesni.c: In function ‘mbedtls_aesni_crypt_ecb’: /root/.xmake/cache/packages/2206/l/lief/0.11.5/source/LIEF-0.11.5/build_5fd114f4/mbed_tls/src/lief_mbed_tls/library/aesni.c:100:43: warning: C++ style comments are not allowed in ISO C90 [enabled by default] asm( "movdqu (%3), %xmm0 \n\t" // load input ^ /root/.xmake/cache/packages/2206/l/lief/0.11.5/source/LIEF-0.11.5/build_5fd114f4/mbed_tls/src/lief_mbed_tls/library/aesni.c:100:43: warning: (this will be reported only once per input file) [enabled by default] /root/.xmake/cache/packages/2206/l/lief/0.11.5/source/LIEF-0.11.5/build_5fd114f4/mbed_tls/src/lief_mbed_tls/library/aes.c: In function ‘mbedtls_aes_crypt_ecb’: /root/.xmake/cache/packages/2206/l/lief/0.11.5/source/LIEF-0.11.5/build_5fd114f4/mbed_tls/src/lief_mbed_tls/library/aes.c:1031:9: warning: C++ style comments are not allowed in ISO C90 [enabled by default] // If padlock data misaligned, we just fall back to ^ /root/.xmake/cache/packages/2206/l/lief/0.11.5/source/LIEF-0.11.5/build_5fd114f4/mbed_tls/src/lief_mbed_tls/library/aes.c:1031:9: warning: (this will be reported only once per input file) [enabled by default] /root/.xmake/cache/packages/2206/l/lief/0.11.5/source/LIEF-0.11.5/build_5fd114f4/mbed_tls/src/lief_mbed_tls/library/aesni.c: At top level: cc1: warning: unrecognized command line option "-Wno-expansion-to-defined" [enabled by default] /root/.xmake/cache/packages/2206/l/lief/0.11.5/source/LIEF-0.11.5/build_5fd114f4/mbed_tls/src/lief_mbed_tls/library/aria.c:205:37: warning: C++ style comments are not allowed in ISO C90 [enabled by default] ta = *b; // 4567 ^ /root/.xmake/cache/packages/2206/l/lief/0.11.5/source/LIEF-0.11.5/build_5fd114f4/mbed_tls/src/lief_mbed_tls/library/aria.c:205:37: warning: (this will be reported only once per input file) [enabled by default] cc1: warning: unrecognized command line option "-Wno-expansion-to-defined" [enabled by default] if you want to get more verbose errors, please see: -> /root/.xmake/cache/packages/2206/l/lief/0.11.5/installdir.failed/logs/install.txt error: install failed!

相关环境

ubuntu3.6.2 x86_64 xmake按照示例安装的2.5.9 xmake-v2.5.9.gz.run 安装完成后 cd ./luject-master 目录进行 xmake 工程编译

win系统也试过,也是执行到lief安装报错

请问是不是我操作有问题

请提供编译和运行环境

图片 信息。

其他信息

请提供其他附加信息帮助我们诊断问题。

a515642 avatar Jun 10 '22 01:06 a515642

不要 root 下操作

waruqi avatar Jun 10 '22 02:06 waruqi