bzhao 发表于 2018-9-28 21:17:00

编译不过:
错误如下:
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/mnt/WDC_1T/4/home/bill/MoKee/out
RECOVERY_VARIANT=twrp
============================================
Enabling ART_BUILD_TARGET_DEBUG
Enabling ART_BUILD_HOST_NDEBUG
Enabling ART_BUILD_HOST_DEBUG
./bootable/recovery-twrp/Android.mk:181: **********************************
./bootable/recovery-twrp/Android.mk:182: * You're using toybox for TWRP,*
./bootable/recovery-twrp/Android.mk:183: * some tools are not available,*
./bootable/recovery-twrp/Android.mk:184: * busybox is highly recommanded! *
./bootable/recovery-twrp/Android.mk:185: **********************************
/bin/bash: 第 0 行: test: -ge: 需要一元表达式
find: `/mnt/WDC_1T/4/home/bill/MoKee/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates': 没有那个文件或目录
build/core/binary.mk:1253: hardware/rockchip/sensor/mpu/mlsdk/Android.mk: libmplmpu: Unused source files: ./mldmp/mpl/android/libmplmpu.a
PRODUCT_COPY_FILES vendor/rockchip/common/nand/modules/arm/rk30xxnand_ko.ko.3.10.0:root/rk30xxnand_ko.ko ignored.
bootable/recovery-twrp/mkchecker/Android.mk:88: warning: overriding commands for target `/mnt/WDC_1T/4/home/bill/MoKee/out/target/product/rk3288/obj/PACKAGING/updater_extensions_intermediates/register.inc.dep.'
bootable/recovery-twrp/updater/Android.mk:99: warning: ignoring old commands for target `/mnt/WDC_1T/4/home/bill/MoKee/out/target/product/rk3288/obj/PACKAGING/updater_extensions_intermediates/register.inc.dep.'
bootable/recovery-twrp/mkchecker/Android.mk:94: warning: overriding commands for target `/mnt/WDC_1T/4/home/bill/MoKee/out/target/product/rk3288/obj/PACKAGING/updater_extensions_intermediates/register.inc'
bootable/recovery-twrp/updater/Android.mk:105: warning: ignoring old commands for target `/mnt/WDC_1T/4/home/bill/MoKee/out/target/product/rk3288/obj/PACKAGING/updater_extensions_intermediates/register.inc'
bootable/recovery-twrp/toolbox/Android.mk:273: warning: overriding commands for target `/mnt/WDC_1T/4/home/bill/MoKee/out/target/product/rk3288/recovery/root/sbin/start'
bootable/recovery-twrp/toolbox/Android.mk:273: warning: ignoring old commands for target `/mnt/WDC_1T/4/home/bill/MoKee/out/target/product/rk3288/recovery/root/sbin/start'
bootable/recovery-twrp/toolbox/Android.mk:273: warning: overriding commands for target `/mnt/WDC_1T/4/home/bill/MoKee/out/target/product/rk3288/recovery/root/sbin/stop'
bootable/recovery-twrp/toolbox/Android.mk:273: warning: ignoring old commands for target `/mnt/WDC_1T/4/home/bill/MoKee/out/target/product/rk3288/recovery/root/sbin/stop'
build/core/Makefile:34: warning: overriding commands for target `/mnt/WDC_1T/4/home/bill/MoKee/out/target/product/rk3288/system/lib/libjpeghwenc.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/WDC_1T/4/home/bill/MoKee/out/target/product/rk3288/system/lib/libjpeghwenc.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/mnt/WDC_1T/4/home/bill/MoKee/out/target/product/rk3288/obj/SHARED_LIBRARIES/libstlport_intermediates/export_includes', needed by '/mnt/WDC_1T/4/home/bill/MoKee/out/target/product/rk3288/obj/SHARED_LIBRARIES/camera.rk30board_intermediates/import_includes', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** Error 1

bzhao 发表于 2018-10-16 08:16:16

遇到如下问题了:

======================================
bootable/recovery-twrp/mkchecker/../edify/expr.h:167:8: note: 'ErrorAbort' has been explicitly marked deprecated here
Value* ErrorAbort(State* state, const char* format, ...)
       ^
bootable/recovery-twrp/mkchecker/../updater/install.cpp:997:9: warning: 'ErrorAbort' is deprecated [-Wdeprecated-declarations]
      ErrorAbort(state, "Failed to get valid ro.product.device");
      ^
bootable/recovery-twrp/mkchecker/../edify/expr.h:167:8: note: 'ErrorAbort' has been explicitly marked deprecated here
Value* ErrorAbort(State* state, const char* format, ...)
       ^
bootable/recovery-twrp/mkchecker/../updater/install.cpp:1004:9: warning: 'ErrorAbort' is deprecated [-Wdeprecated-declarations]
      ErrorAbort(state, "Device Variant length is less than 3 characters");
      ^
bootable/recovery-twrp/mkchecker/../edify/expr.h:167:8: note: 'ErrorAbort' has been explicitly marked deprecated here
Value* ErrorAbort(State* state, const char* format, ...)
       ^
bootable/recovery-twrp/mkchecker/../updater/install.cpp:1031:9: warning: 'ErrorAbort' is deprecated [-Wdeprecated-declarations]
      ErrorAbort(state, "Invalid target for update package");
      ^
bootable/recovery-twrp/mkchecker/../edify/expr.h:167:8: note: 'ErrorAbort' has been explicitly marked deprecated here
Value* ErrorAbort(State* state, const char* format, ...)
       ^
bootable/recovery-twrp/mkchecker/../updater/install.cpp:1644:19: error: use of undeclared identifier 'wipe_block_device'
    int success = wipe_block_device(fd, len);
                  ^
bootable/recovery-twrp/mkchecker/../updater/install.cpp:1694:12: warning: 'ErrorAbort' is deprecated [-Wdeprecated-declarations]
    return ErrorAbort(state, "%s() support not present, no libtune2fs", name);
         ^
bootable/recovery-twrp/mkchecker/../edify/expr.h:167:8: note: 'ErrorAbort' has been explicitly marked deprecated here
Value* ErrorAbort(State* state, const char* format, ...)
       ^
5 warnings and 1 error generated.
[ 10% 2100/20303] target thumb C: libext2fs <= external/e2fsprogs/lib/ext2fs/csum.c
external/e2fsprogs/lib/ext2fs/csum.c:37:9: warning: unused variable 'offset' [-Wunused-variable]
      size_t offset;
               ^
external/e2fsprogs/lib/ext2fs/csum.c:40:6: warning: variable 'crc' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
      if (fs->super->s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_GDT_CSUM) {
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/e2fsprogs/lib/ext2fs/csum.c:82:9: note: uninitialized use occurs here
      return crc;

huahua 发表于 2019-10-9 15:01:37

谢谢分享{:4_95:}

nicdau 发表于 2021-1-2 23:42:40

bzhao 发表于 2018-9-28 21:17
编译不过:
错误如下:
HOST_BUILD_TYPE=release


你好。 我也遇到这个问题,是怎么解决的呢?

bzhao 发表于 2021-3-25 09:35:39

给一版固件试试!!!!

bzhao 发表于 2021-3-26 11:53:02

下载不了代码!

bzhao 发表于 2021-3-26 11:56:48

woei 发表于 2017-6-3 13:00
樓主, 請教一個問題, 我在ubuntu 16.04 下依照你的方法去執行..
整個步驟大概沒有什麼大問題, 步驟如下

...

你不需要安装这个:
sudo apt install python-lunch
lunch 命令是source ./build/envsetup.sh后就有的, 他是shell函数
你可以通过命令tyoe lunch 查看它是啥东西
页: 1 2 [3]
查看完整版本: RK3288 的 Android 7.1.2 来了!