80,491
社区成员
发帖
与我相关
我的任务
分享第一次编译源码,按照文档操作,系统是ubuntu16.04,关键报错信息如下,请指点谢谢
FAILED: out/target/product/mek_8q/partition-table-default.img
/bin/bash -c "(out/host/linux-x86/bin/bpttool make_table --output_gpt out/target/product/mek_8q/partition-table-default.img --output_json out/target/product/mek_8q/partition-table-default.bpt --input device/fsl/common/partition/device-partitions-13GB-ab-dual-bootloader.bpt ) && (for addition_partition in partition-table-28GB:device/fsl/common/partition/device-partitions-28GB-ab-dual-bootloader.bpt; do PARTITION_OUT_IMAGE=\`echo \$addition_partition | cut -d\":\" -f1\`; PARTITION_INPUT_BPT=\`echo \$addition_partition | cut -d\":\" -f2\`; out/host/linux-x86/bin/bpttool make_table --output_gpt out/target/product/mek_8q/\$PARTITION_OUT_IMAGE.img --output_json out/target/product/mek_8q/\$PARTITION_OUT_IMAGE.bpt --input \$PARTITION_INPUT_BPT ; done )"
File "out/host/linux-x86/bin/bpttool", line 1065
print '{}.{}'.format(BPT_VERSION_MAJOR, BPT_VERSION_MINOR)
^
SyntaxError: invalid syntax
[ 12% 12843/104342] Target partition table image: out/target/product/mek_8q/partition-table.img
FAILED: out/target/product/mek_8q/partition-table.img
/bin/bash -c "out/host/linux-x86/bin/bpttool make_table --output_gpt out/target/product/mek_8q/partition-table.img --output_json out/target/product/mek_8q/partition-table.bpt --input device/fsl/common/partition/device-partitions-13GB-ab-dual-bootloader.bpt"
File "out/host/linux-x86/bin/bpttool", line 1065
print '{}.{}'.format(BPT_VERSION_MAJOR, BPT_VERSION_MINOR)
^
SyntaxError: invalid syntax
File "./bpttool", line 1786
print '{}.{}'.format(BPT_VERSION_MAJOR, BPT_VERSION_MINOR)
^
SyntaxError: invalid syntax
我也碰到一样的问题。
空间不足,源码不完整
请问有人知道怎么解决吗?
现在是这个报错
make[2]: Leaving directory '/home/evan/automotive10/android_build/out/target/product/mek_8q/obj/UBOOT_OBJ'
make[1]: Leaving directory '/home/evan/automotive10/android_build/vendor/nxp-opensource/uboot-imx'
cc1: fatal error: opening output file spl/u-boot-spl.cfgout: No such file or directory
compilation terminated.
cc1: fatal error: /home/evan/automotive10/android_build/vendor/nxp-opensource/uboot-imx/: No such file or directory
compilation terminated.
/home/evan/automotive10/android_build/vendor/nxp-opensource/uboot-imx/drivers/fastboot/fb_fsl/fb_fsl_boot.c: In function 'do_boota':
/home/evan/automotive10/android_build/vendor/nxp-opensource/uboot-imx/drivers/fastboot/fb_fsl/fb_fsl_boot.c:791:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
memcpy((void *)fdt_addr, (void *)((ulong)dt_img +
^
In file included from /home/evan/automotive10/android_build/vendor/nxp-opensource/uboot-imx/include/linux/byteorder/little_endian.h:107,
完整log:http://gofile.me/4ZJ1m/kJbeIz4yL 密码123456