Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xmake编译工程install lief报错 #8

Open
1 task
a515642 opened this issue Jun 10, 2022 · 2 comments
Open
1 task

xmake编译工程install lief报错 #8

a515642 opened this issue Jun 10, 2022 · 2 comments

Comments

@a515642
Copy link

a515642 commented Jun 10, 2022

描述问题

xmake编译工程报错

错误信息

=> 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安装报错

请问是不是我操作有问题

请提供编译和运行环境

图片
信息。

其他信息

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

@waruqi
Copy link
Member

waruqi commented Jun 10, 2022

不要 root 下操作

@waruqi
Copy link
Member

waruqi commented Jun 28, 2023

再试下

xrepo update-repo
xrepo remove --all -y libxmake
xmake f -c
xmake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants