|
【Android】
roc-rk3328-pc 报错 编译Android不通过急!急!急!求救
发表于 2020-6-28 22:50:11
浏览:6441
|
回复:2
打印
只看该作者
[复制链接]
楼主
编译环境是ubuntu1604, 报错说编译不成功 , 编译到build TAS时 报错 FAILD: TAs
No need to regenerate ninja file
[ 0% 401/70613] Target buildinfo: out...em_build_prop_intermediates/build.prop
Target buildinfo from: device/rockchip/rk3328/rk3328_roc_pc_box/system.prop
[ 0% 633/70613] Ensuring Jack server is installed and started
Jack server already installed in "/root/.jack-server"
Server is already running
[ 3% 2143/70613] build TAs
FAILED: TAs
/bin/bash -c "(make -j1 -C /home/rk/Android8.1/external/rk_tee_user O=/home/rk/Android8.1/external/rk_tee_user TA_DEV_KIT_DIR=/home/rk/Android8.1/external/rk_tee_user/export-user_ta clean ) && (make -j1 -C /home/rk/Android8.1/external/rk_tee_user CROSS_COMPILE=\$(pwd)/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi- CROSS_COMPILE_HOST=\$(pwd)/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi- CROSS_COMPILE_TA=\$(pwd)/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi- CROSS_COMPILE_user_ta=\$(pwd)/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi- TA_DEV_KIT_DIR=/home/rk/Android8.1/external/rk_tee_user/export-user_ta O=/home/rk/Android8.1/external/rk_tee_user )"
make: Entering directory '/home/rk/Android8.1/external/rk_tee_user'
make[1]: Entering directory '/home/rk/Android8.1/external/rk_tee_user/ta'
make[2]: Entering directory '/home/rk/Android8.1/external/rk_tee_user/ta/testapp'
CLEAN .
make[2]: Leaving directory '/home/rk/Android8.1/external/rk_tee_user/ta/testapp'
make[2]: Entering directory '/home/rk/Android8.1/external/rk_tee_user/ta/testapp_storage'
CLEAN .
make[2]: Leaving directory '/home/rk/Android8.1/external/rk_tee_user/ta/testapp_storage'
make[1]: Leaving directory '/home/rk/Android8.1/external/rk_tee_user/ta'
make: Leaving directory '/home/rk/Android8.1/external/rk_tee_user'
make: Entering directory '/home/rk/Android8.1/external/rk_tee_user'
make[1]: Entering directory '/home/rk/Android8.1/external/rk_tee_user/ta'
make[2]: Entering directory '/home/rk/Android8.1/external/rk_tee_user/ta/testapp'
CC /home/rk/Android8.1/external/rk_tee_user/ta/testapp/testapp_ta.o
CC /home/rk/Android8.1/external/rk_tee_user/ta/testapp/user_ta_header.o
CPP /home/rk/Android8.1/external/rk_tee_user/ta/testapp/ta.lds
LD /home/rk/Android8.1/external/rk_tee_user/ta/testapp/8cccf200-2450-11e4-abe20002a5d5c52c.elf
OBJDUMP /home/rk/Android8.1/external/rk_tee_user/ta/testapp/8cccf200-2450-11e4-abe20002a5d5c52c.dmp
OBJCOPY /home/rk/Android8.1/external/rk_tee_user/ta/testapp/8cccf200-2450-11e4-abe20002a5d5c52c.stripped.elf
SIGN /home/rk/Android8.1/external/rk_tee_user/ta/testapp/8cccf200-2450-11e4-abe20002a5d5c52c.ta
Traceback (most recent call last):
File "/home/rk/Android8.1/external/rk_tee_user/export-user_ta/scripts/sign.py", line 80, in <module>
main()
File "/home/rk/Android8.1/external/rk_tee_user/export-user_ta/scripts/sign.py", line 40, in main
from Crypto.Signature import PKCS1_v1_5
ImportError: No module named Crypto.Signature
/home/rk/Android8.1/external/rk_tee_user/export-user_ta/mk/link.mk:60: recipe for target '/home/rk/Android8.1/external/rk_tee_user/ta/testapp/8cccf200-2450-11e4-abe20002a5d5c52c.ta' failed
make[2]: *** [/home/rk/Android8.1/external/rk_tee_user/ta/testapp/8cccf200-2450-11e4-abe20002a5d5c52c.ta] Error 1
make[2]: Leaving directory '/home/rk/Android8.1/external/rk_tee_user/ta/testapp'
Makefile:37: recipe for target 'ta' failed
make[1]: *** [ta] Error 2
make[1]: Leaving directory '/home/rk/Android8.1/external/rk_tee_user/ta'
Makefile:27: recipe for target 'ta' failed
make: *** [ta] Error 2
make: Leaving directory '/home/rk/Android8.1/external/rk_tee_user'
[ 3% 2158/70613] //external/protobuf:.../google/protobuf/descriptor.cc [linux]
ninja: build stopped: subcommand failed.
|
|