我试图用arm- to eabi-g++编译代码。但是,它第一次失败时出现了以下错误消息
/usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/bin/ld: cannot find -lstdc++
为了解决这个问题,我确保了与libstdc++.a的链接是可能的。一旦修复了这个问题,它就失败了,并出现了以下错误:
/usr/lib/gcc/arm-none-eabi/4.8.2//libgcc.a(unwind-arm.o): In function `get_eit_entry':
/build/buildd/gcc-ar
我正在为Eclipse中的自动工具插件和我下载的一些C++项目而苦苦挣扎。
我的目标是在arm处理器上进行交叉编译,因此该项目已经配置为使用自动工具,但是当我尝试交叉编译时,我遇到了以下问题
In file included from /usr/include/c++/4.6/bits/stl_algo.h:61:0,
from /usr/include/c++/4.6/algorithm:63,
from dtntracepath.cpp:17:
/usr/include/c++/4.6/cstdlib:119:11: er
我有,并关闭它,因为我认为它是有效的。其实我还是有问题的。所以我发布了一条新的帖子。我的CMake总是为Visual 2010构建的。我是交叉编译Raspberry PI和我的工具链文件如下。
SET(CMAKE_SYSTEM_NAME Linux) # this one is important
SET(CMAKE_SYSTEM_VERSION 1) # this one not so much
SET(CMAKE_C_COMPILER C:/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnuea
我试图在linux x86_64机器上交叉编译一个arm目标的项目,我使用的是gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf。
我在编译过程中遇到的错误是:
/home/zoist/workspace/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/7.4.1/libgcc.a(_dvmd_lnx.o): In function `__aeabi_idiv0':
/home/tcwg-buildslave/
当我在CLion和yocto SDK一起使用时,我有一个坏了的C编译器,但是它在eclipse Oxygen上工作得很好。这是编译器中的错误:
CMake Error at /home/developer/yocto_SDK2/toolchain2/sysroots/x86_64-pokysdk-linux/usr/share/cmake-3.7/Modules/CMakeTestCCompiler.cmake:51 (message):
The C compiler
"/home/developer/yocto_SDK2/toolchain2/sysr
以下是我的编译结果的一部分:
===============================================================================
You are ready to build VLC and its contribs
make: '.gas' is up to date.
[info] Building contrib for iOS in '/Users/nikhil.t/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/iPhoneOS-arm64'
[
我在Intel机器上使用arm交叉编译器,并面临以下问题。使用yocto构建系统。
| In file included from gpufiles.h:12:0,
| from gpufiles.cpp:7:
poky/build/tmp-glibc/sysroots/x86_64-linux/usr/lib/arm-oemllib32-linux-gnueabi/gcc/arm-oemllib32-linux-gnueabi/4.9.3/include/arm_neon.h:31:2: error: #error You must
构建ARM体系结构的程序盒
面对错误的:
> In file included from include/libbb.h:13:0,
> from include/busybox.h:8,
> from applets/applets.c:9: include/platform.h:157:11: fatal error: byteswap.h: No such file or directory # include
> <byteswap.h>
> ^~~~~
我正在尝试使用uClibc和openwrt工具链为ARM设备构建Snort2.9.9.0。
我经常有汇编问题,包括:
·libtool attempting to link library **/usr/lib/libdnet** rather than $TOOLCHAIN_DIR/usr/lib/libdnet
我怀疑我的问题来自于自动工具,因为所有必需的库都已经就绪,我的配置脚本在修改后运行,以防止交叉编译错误(“不能在交叉编译时进行配置”)。
我的问题是:
在此snort交叉编译上下文中使用自动工具进行交叉编译的正确方法是什么?
配置脚本试图执行已编译的程序并引发交叉编译错误,
这是我输入的命令和它吐出的东西:不幸的是,谷歌没有太大的帮助,但我已经尝试了几件事情(根据我非常初级的知识),但我无法解决它。
C:\Users\Z\workspace\TEST\src>gcc main.c
c:/program files (x86)/gnu tools arm embedded/4.7 2013q1/bin/../lib/gcc/arm-none
-eabi/4.7.3/../../../../arm-none-eabi/lib\libc.a(lib_a-exit.o): In function `exit':
exit.c:(.text.exit+0x2
嗨,伙计们,我正在使用教程来构建鬼脚本-9.19,以便能够在我的安卓应用程序中将eps文档转换为pdf。它在配置时失败。这是原木
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for gcc... arm-linux-androideabi-gcc --
sysroot=/<path>/android-ndk-
r11c/platforms/android-17/arch-arm/
checking whether the C compiler work