hulk

hulk

0个粉丝

1

问答

0

专栏

0

资料

hulk  发布于  2023-04-10 10:36:12
采纳率 0%
1个问答
1051

社区A191版型,RV1126 SDK编译报错

 
  • 参考资料:EB-RV1126-BC-191型整板快速入门手册V2.1_E.pdf
  • 依赖都安装了(应该吧)
  • 然后选择config
  • SDK版本

报错log如下

  1. 2023-04-10T02:22:50 >>> Sanitizing RPATH in target tree
  2. 2023-04-10T02:22:50 /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/support/scripts/fix-rpath target
  3. 2023-04-10T02:22:58 >>> Copying overlay board/rockchip/common/base
  4. 2023-04-10T02:22:58 >>> Copying overlay board/rockchip/common/wifi
  5. 2023-04-10T02:22:58 >>> Copying overlay board/rockchip/rv1126_rv1109/fs-overlay/
  6. 2023-04-10T02:22:58 >>> Copying overlay board/rockchip/rv1126_rv1109/fs-overlay-sysv/
  7. 2023-04-10T02:22:58 >>> Executing post-build script build/post.sh
  8. 2023-04-10T02:22:58 # rootfs type is ubi, create ssh keys to /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/target/etc/ssh
  9. 2023-04-10T02:22:58 rm: cannot remove '/home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/oem/usr/lib/*.data': No such file or directory
  10. 2023-04-10T02:22:58 >>> Generating root filesystem image rootfs.cpio
  11. 2023-04-10T02:22:58 rm -rf /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/build/buildroot-fs
  12. 2023-04-10T02:22:58 mkdir -p /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/build/buildroot-fs
  13. 2023-04-10T02:22:58 if [ ! -e /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/target/init ]; then /usr/bin/install -m 0755 fs/cpio/init /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/target/init; fi
  14. 2023-04-10T02:22:58 echo '#!/bin/sh' > /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/build/buildroot-fs/fakeroot.fs
  15. 2023-04-10T02:22:58 echo "set -e" >> /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/build/buildroot-fs/fakeroot.fs
  16. 2023-04-10T02:22:58 echo "chown -h -R 0:0 /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/target" >> /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/build/buildroot-fs/fakeroot.fs
  17. 2023-04-10T02:22:58 echo "[ -d /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/target/usr/www ] && chown -R www-data:www-data /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/target/usr/www" >> /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/build/buildroot-fs/fakeroot.fs
  18. 2023-04-10T02:22:58 echo "[ -d /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/target/oem/www ] && chown -R www-data:www-data /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/target/oem/www" >> /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/build/buildroot-fs/fakeroot.fs
  19. 2023-04-10T02:22:58 printf ' dbus -1 dbus -1 * /var/run/dbus - dbus DBus messagebus usern - - input -1 * - - - Input device groupnn' >> /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/build/buildroot-fs/users_table.txt
  20. 2023-04-10T02:22:58 PATH="/home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/host/bin:/home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/support/scripts/mkusers /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/build/buildroot-fs/users_table.txt /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/target >> /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/build/buildroot-fs/fakeroot.fs
  21. 2023-04-10T02:22:58 cat system/device_table.txt > /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/build/buildroot-fs/device_table.txt
  22. 2023-04-10T02:22:58 printf ' /bin/busybox f 4755 0 0 - - - - -n /usr/libexec/dbus-daemon-launch-helper f 4755 0 0 - - - - -n /var/lib/nginx d 755 33 33 - - - - -n /dev/console c 622 0 0 5 1 - - -nn' >> /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/build/buildroot-fs/device_table.txt
  23. 2023-04-10T02:22:58 echo "/home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/host/bin/makedevs -d /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/build/buildroot-fs/device_table.txt /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/target" >> /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/build/buildroot-fs/fakeroot.fs
  24. 2023-04-10T02:22:58 printf ' cd /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/target && find . | cpio --quiet -o -H newc > /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/images/rootfs.cpion' >> /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/build/buildroot-fs/fakeroot.fs
  25. 2023-04-10T02:22:58 chmod a+x /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/build/buildroot-fs/fakeroot.fs
  26. 2023-04-10T02:22:58 cp -f /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/build/buildroot-fs/fakeroot.fs /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/images/fakeroot-ubi.fs
  27. 2023-04-10T02:22:58 rm -f /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/target/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM
  28. 2023-04-10T02:22:58 PATH="/home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/host/bin:/home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/host/bin/fakeroot -- /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/build/buildroot-fs/fakeroot.fs
  29. 2023-04-10T02:22:58 fakeroot: preload library `libfakeroot.so' not found, aborting.
  30. 2023-04-10T02:22:58 fs/cpio/cpio.mk:43: recipe for target '/home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/images/rootfs.cpio' failed
  31. 2023-04-10T02:22:58 make[1]: *** [/home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/images/rootfs.cpio] Error 1
  32. 2023-04-10T02:22:58 /home/hulk/RV1126_RV1109_LINUX_SDK_V2.1.0_20210512/buildroot/output/rockchip_rv1126_rv1109_spi_nand/Makefile:16: recipe for target '_all' failed
  33. 2023-04-10T02:22:58 make: *** [_all] Error 2
  34. Command exited with non-zero status 1
  35. you take 0:17.98 to build builroot
  36. ERROR: Running build_buildroot failed!
  37. ERROR: exit code 1 from line 556:
  38. /usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $BOARD_CONFIG

先是此处29行,fakeroot的那个似乎是不影响什么接下来的部分,fs/cpio/cpio.mk:43: recipe for target failed就不知道什么意思了,并且没有思路

本人嵌入式新手,从事硬件方向,现在自学发展嵌入式

我来回答
回答1个
时间排序
认可量排序

hulk

0个粉丝

1

问答

0

专栏

0

资料

hulk 2023-04-10 18:13:08
认可0

是不是SDK有问题啊,我买板子的资料包有两个版本,一个1.8一个2.2(可能是2.1),我先是用的2.2版本会报工具链什么的错误,我看了一眼,他的软连接还是wr那个人的家目录,我把报错的那一个(arm-linux-gnueabihf-strip)指向了应该是正确的地方,然后就出现了上面的错误,我又把1.8版本的解压了,编译了一下,除了repo报错(我直接屏蔽了),编译正常啊

或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
相关问答
无更多相似问答 去提问
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区