工具与软件:
您好!
由于 SDK 中缺少32位库头arago-2023.10-toolchain-2023.10.sh,我们在编译应用程序时遇到了致命的构建错误。 这些错误会阻止编译过程并阻止应用程序启动。
构建错误表示不存在以下32位库标头:
bits/typesizes-32.hbits/timesize-32.hbits/long-double-32.hbits/floatn-32.hbits/endian-32.hbits/endianness-32.hbits/pthreadtypes-32.hbits/pthreadtypes-arch-32.hbits/struct_rwlock-32.hbits/setjmp-32.hbits/local_lim-32.h
/opt/arago-2023.10/sysroots/aarch64-oe-linux/usr/include/bits/typesizes.h:23:10: fatal error: bits/typesizes-32.h: No such file or directory
23 | #include <bits/typesizes-32.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
/opt/arago-2023.10/sysroots/aarch64-oe-linux/usr/include/bits/timesize.h:23:10: fatal error: bits/timesize-32.h: No such file or directory
23 | #include <bits/timesize-32.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
/opt/arago-2023.10/sysroots/aarch64-oe-linux/usr/include/bits/timesize.h:23:10: fatal error: bits/timesize-32.h: No such file or directory
23 | #include <bits/timesize-32.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
/opt/arago-2023.10/sysroots/aarch64-oe-linux/usr/include/bits/long-double.h:23:10: fatal error: bits/long-double-32.h: No such file or directory
23 | #include <bits/long-double-32.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
/opt/arago-2023.10/sysroots/aarch64-oe-linux/usr/include/bits/typesizes.h:23:10: fatal error: bits/typesizes-32.h: No such file or directory
23 | #include <bits/typesizes-32.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
/opt/arago-2023.10/sysroots/aarch64-oe-linux/usr/include/bits/floatn.h:23:10: fatal error: bits/floatn-32.h: No such file or directory
23 | #include <bits/floatn-32.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
/opt/arago-2023.10/sysroots/aarch64-oe-linux/usr/include/bits/floatn.h:23:10: fatal error: bits/floatn-32.h: No such file or directory
23 | #include <bits/floatn-32.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
/opt/arago-2023.10/sysroots/aarch64-oe-linux/usr/include/bits/endian.h:23:10: fatal error: bits/endian-32.h: No such file or directory
23 | #include <bits/endian-32.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
/opt/arago-2023.10/sysroots/aarch64-oe-linux/usr/include/bits/endianness.h:23:10: fatal error: bits/endianness-32.h: No such file or directory
23 | #include <bits/endianness-32.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
/opt/arago-2023.10/sysroots/aarch64-oe-linux/usr/include/bits/pthreadtypes.h:23:10: fatal error: bits/pthreadtypes-32.h: No such file or directory
23 | #include <bits/pthreadtypes-32.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
/opt/arago-2023.10/sysroots/aarch64-oe-linux/usr/include/bits/pthreadtypes-arch.h:23:10: fatal error: bits/pthreadtypes-arch-32.h: No such file or directory
23 | #include <bits/pthreadtypes-arch-32.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
/opt/arago-2023.10/sysroots/aarch64-oe-linux/usr/include/bits/struct_rwlock.h:23:10: fatal error: bits/struct_rwlock-32.h: No such file or directory
23 | #include <bits/struct_rwlock-32.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
/opt/arago-2023.10/sysroots/aarch64-oe-linux/usr/include/bits/setjmp.h:23:10: fatal error: bits/setjmp-32.h: No such file or directory
23 | #include <bits/setjmp-32.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
/opt/arago-2023.10/sysroots/aarch64-oe-linux/usr/include/bits/local_lim.h:23:10: fatal error: bits/local_lim-32.h: No such file or directory
23 | #include <bits/local_lim-32.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
平台详细信息:
- 架构: 64位
- 多尔蒂利布: 使能
- SDK:
arago-2023.10-toolchain-2023.10.sh
即使在我们的环境中启用了 multilib 支持、并且系统架构为64位、也会发生错误。 所需的32位库似乎缺失或未正确包含在 SDK 中。
您能否帮助我们了解这些标题缺失的原因、并提供有关如何解决此问题的指导? 如果需要额外步骤以确保64位平台的32位兼容性、请提供详细信息。