博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
manjaro 20 R329-Tina 编译与烧录记录
阅读量:428 次
发布时间:2019-03-06

本文共 1765 字,大约阅读时间需要 5 分钟。

编译方法

juwan@juwan-n85-dls:~/R329-Tina$ source build/envsetup.sh Setup env done! Please run lunch next.juwan@juwan-n85-dls:~/R329-Tina$ lunchYou're building on LinuxLunch menu... pick a combo:     1. r329_evb1-tina     2. r329_evb1_xr829-tina     3. r329_evb5_min-tina     4. r329_evb5_v1-tina     5. r329_evb5-tina     6. r329_evb6-tina     7. r329_fpga-tina     8. r329_robot-tina     9. r329_spk1-tina     10. r329_ubidemo-tinaWhich would you like? [Default r329_evb5_v1]: ============================================TINA_BUILD_TOP=/home/juwan/R329-TinaTINA_TARGET_ARCH=aarch64TARGET_PRODUCT=r329_evb5_v1TARGET_PLATFORM=r329TARGET_BOARD=r329-evb5_v1TARGET_PLAN=evb5_v1TARGET_BUILD_VARIANT=tinaTARGET_BUILD_TYPE=releaseTARGET_KERNEL_VERSION=4.9TARGET_UBOOT=u-boot-2018TARGET_CHIP=sun50iw11p1============================================juwan@juwan-n85-dls:~/R329-Tina$ make -j1 V=s

然后就开始跑了。

^ In file included from libfakeroot.c:60: communicate.h:209:44: note: expected 'struct stat64 *' but argument is of type 'struct stat *' 209 | extern void send_get_stat64(struct stat64 *buf); | ~~~~~~~~~~~~~^ make[6]: *** [Makefile:638: libfakeroot.lo] Error 1 make[6]: Leaving directory '/home/dls/desktop/R329-Tina/out/r329-evb5_v1/compile_dir/host/fakeroot-1.20.2'

patch /home/dls/desktop/R329-Tina/out/r329-evb5_v1/compile_dir/host/fakeroot-1.20.2/libfakeroot.c

diff --git a/libfakeroot.c b/libfakeroot.cindex 3e80e38..14e56bc 100644--- a/libfakeroot.c+++ b/libfakeroot.c@@ -90,6 +90,10 @@ #define SEND_GET_XATTR64(a,b,c) send_get_xattr64(a,b) #endif +#ifndef _STAT_VER+#define _STAT_VER 0+#endif+ /*    These INT_* (which stands for internal) macros should always be used when    the fakeroot library owns the storage of the stat variable.

烧录工具为 5.4 以上的内核稍微修了一下 Makefile

转载地址:http://dsbyz.baihongyu.com/

你可能感兴趣的文章