roc-rk3328-pc 报错 编译Android不通过急!急!急!求救
编译环境是ubuntu1604, 报错说编译不成功 ,编译到build TAS时报错FAILD: TAsNo need to regenerate ninja file
Target buildinfo: out...em_build_prop_intermediates/build.prop
Target buildinfo from: device/rockchip/rk3328/rk3328_roc_pc_box/system.prop
Ensuring Jack server is installed and started
Jack server already installed in "/root/.jack-server"
Server is already running
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: Entering directory '/home/rk/Android8.1/external/rk_tee_user/ta'
make: Entering directory '/home/rk/Android8.1/external/rk_tee_user/ta/testapp'
CLEAN .
make: Leaving directory '/home/rk/Android8.1/external/rk_tee_user/ta/testapp'
make: Entering directory '/home/rk/Android8.1/external/rk_tee_user/ta/testapp_storage'
CLEAN .
make: Leaving directory '/home/rk/Android8.1/external/rk_tee_user/ta/testapp_storage'
make: 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: Entering directory '/home/rk/Android8.1/external/rk_tee_user/ta'
make: 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: *** Error 1
make: Leaving directory '/home/rk/Android8.1/external/rk_tee_user/ta/testapp'
Makefile:37: recipe for target 'ta' failed
make: *** Error 2
make: Leaving directory '/home/rk/Android8.1/external/rk_tee_user/ta'
Makefile:27: recipe for target 'ta' failed
make: *** Error 2
make: Leaving directory '/home/rk/Android8.1/external/rk_tee_user'
//external/protobuf:.../google/protobuf/descriptor.cc
ninja: build stopped: subcommand failed.
确认一下是否python版本的问题 解决 ImportError: No module named Crypto.Signature
编译OPTEE的时候出现了以上这个错误,安装完python 跟 pycrypto的时候还是有问题还需要再安装dev
如下
sudo apt-get install python-dev
Or
sudo aptitude install python-dev
页:
[1]