Skip to content

xmake编译工程install lief报错 #8

@a515642

Description

@a515642

描述问题

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

请问是不是我操作有问题

请提供编译和运行环境

图片
信息。

其他信息

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions