我碰巧发现,我的macos(x86)可以为arm映像arm64v8/阿尔卑斯运行一个码头容器,但有以下警告:
docker run -it arm64v8/alpine uname -a
WARNING: The requested image's platform (linux/arm64) does not match the detected host platform (linux/amd64) and no specific platform was requested
Linux d5509c57dd24 4.19.121-linuxkit #1 SMP Tue Dec
我正在尝试重新编译Android设备的内核。该装置为Xioami Redmi 7A。它有64位处理器高通Snap巨龙439.我没有错误地编译了内核,在arch/arm64/boot/下得到了arch/arm64/boot/文件,到目前为止还不错。
我试过把它闪到设备上。首先,我下载了股票boot图像。然后,我用解压它
./unpackimg original-boot
所以现在,根据所有的教程,应该用新编译的映像替换旧的引导映像,将映像重新打包并将其闪现到设备上。
# replace the boot-img in the split-img folder
./repackimg
# now
我正在尝试对使用libcurl共享库的另一个共享库(libtheirstuff.so)交叉编译我自己的共享库(libmystuff.so),并得到以下错误:
libmystuff.so: No symbol version section for versioned symbol
'curl_global_init@@CURL_OPENSSL_3'
然后是:
final link failed: Nonrepresentable section on output.
浏览一下创建库的代码,我可以看到curl_global_init是对curl的第一个引用。
在目标平台(arm
我有,并关闭它,因为我认为它是有效的。其实我还是有问题的。所以我发布了一条新的帖子。我的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
构建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>
> ^~~~~
我正在尝试用工具集构建zlib。作为构建过程的一部分,源文件应该被编译成带有arm-linux-gnu-eabi-gcc -c的对象,然后用libtool组合成一个归档文件,但是libtool失败了,并抱怨每个.o文件都传递给它is not an object file (not allowed in a library)。
经过检查,我发现arm-linux-gnu-eabi-gcc -c正在生成ELF文件,而不是对象文件,这是我以前从未见过的。当我将-c -v传递给编译器时,我可以看到链接器没有被调用。那么为什么是ELF格式呢?
然后,我尝试调用arm-linux-gnu-eabi-gcc
我正在尝试这个命令。make stm32f429-discovery I有stm32f429-发现板(arm皮层M3)。我想在上面安装u-boot,我正在按照教程中给出的方法来尝试,并得到这个错误.
/bin/bash: /home/uzair/Documents/linux-cortexm-1.12.1/tools/arm-2010q1/bin/arm-uclinuxeabi-gcc: No such file or directory
/bin/bash: /home/uzair/Documents/linux-cortexm-1.12.1/tools/arm-2010q1/bin/arm
port install arm-none-eabi-gcc
port install arm-none-eabi-binutils
我在我的mac上下载了arm工具。
export CCPREFIX=/opt/local/bin/arm-none-eabi-
make ARCH=arm CROSS_COMPILE=${CCPREFIX}
however it has alot of errors.
tcpdump.c:180: error: ‘struct tcphdr’ has no member named ‘source’
tcpdump.c:238: error: ‘ETH_P_A