Firefly开源社区

打印 上一主题 下一主题

[Android] 官方下载的代码编译时报错,错误信息中有乱码

6

积分

0

威望

0

贡献

吃瓜的群众

积分
6

官方下载的代码编译时报错,错误信息中有乱码

发表于 2024-2-22 17:28:38      浏览:654 | 回复:1        打印      只看该作者   [复制链接] 楼主
  • 固件类型: 自行编译的固件
  • SDK包名称: firefly_rk3288_rk3128_android5.1_git_20211216
  • SDK更新到哪个COMMIT: 0000-00-00 00:00:00
  • SDK修改内容: 没有修改
  • Log日志: build_all.log
问题描述及复现步骤:
使用下面的命令编译的时候
./FFTools/make.sh -d firefly-rk3288 -j8 -l rk3288_box-userdebug

报错如日志所示:
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 1: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: ELF: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 2: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: @8: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 3: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: �: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 4: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: �: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 5: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: �j�j�xZ: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 6: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 8�j8�j��TT@T@: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 8: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: Syntax error: "(" unexpected
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 1: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: ELF: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 2: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: @8: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 3: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: �: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 4: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: �: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 5: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: �j�j�xZ: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 6: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 8�j8�j��TT@T@: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 8: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: Syntax error: "(" unexpected
dirname: missing operand
Try 'dirname --help' for more information.
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 1: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: ELF: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 2: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: @8: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 3: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: �: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 4: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: �: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 5: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: �j�j�xZ: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 6: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 8�j8�j��TT@T@: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 8: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: Syntax error: "(" unexpected
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 1: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: ELF: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 2: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: @8: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 3: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: �: not foundmake[2]: *** [include/autoconf.mk.dep] Error 1
make[2]: *** Waiting for unfinished jobs....

/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 4: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: �: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 5: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: �j�j�xZ: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 6: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 8�j8�j��TT@T@: not found
/home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: 8: /home/allwin/android/u-boot/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: Syntax error: "(" unexpected
make[2]: *** [include/autoconf.mk] Error 1
make[1]: *** [silentoldconfig] Error 1
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/uboot.release'.  Stop.




build_all.log

5.99 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

78

积分

0

威望

0

贡献

技术小白

积分
78
发表于 2024-3-1 14:10:28        只看该作者  沙发
1 git reset --hard

2 git pull gitlab Firefly-RK3288:Firefly-RK3288

3 环境依赖

sudo apt-get install -y openjdk-7-jdk git-core gnupg flex bison gperf libsdl1.2-dev \
libesd0-dev libwxgtk2.8-dev squashfs-tools build-essential zip curl \
libncurses5-dev zlib1g-dev pngcrush schedtool libxml2 libxml2-utils \
xsltproc lzop libc6-dev schedtool g++-multilib lib32z1-dev lib32ncurses5-dev \
lib32readline-gplv2-dev gcc-multilib libswitch-perl \
libssl1.0.0 libssl-dev bc

检查一下,以上3步是否都操作了。

我这边也有用这个SDK,测试正常使用。所以可能是你那边的编译准备/环境问题。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表