Hi ,
I am compiling AOSP 7 with OPTEE but encountered compilation error.
My target is to run sample TA in OPTEE, and eventually, build TA for my device.
I am following the steps from https://github.com/vchong/optee_android_manifest.
Kernel, bootloader and ptable compile is successful, but met with error during android build
below is error :
BCXX -std=gnu++14 -Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference -fno-rtti -fvisibility-inlines-hidden -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -MD -MF ‘out/soong/.intermediates/device/linaro/hikey/bluetooth/android.hardware.bluetooth@1.0-service.hikey/android_arm64_armv8-a/obj/device/linaro/hikey/bluetooth/bluetooth_hci.o’.d -o ‘out/soong/.intermediates/device/linaro/hikey/bluetooth/android.hardware.bluetooth@1.0-service.hikey/android_arm64_armv8-a/obj/device/linaro/hikey/bluetooth/bluetooth_hci.o’ device/linaro/hikey/bluetooth/bluetooth_hci.cc
device/linaro/hikey/bluetooth/bluetooth_hci.cc:128:51: error: no member named ‘GetPacketType’ in ‘android::hardware::bluetooth::V1_0::hikey::HciPacketizerHikey’
HciPacketType hci_packet_type = hci_packetizer_.GetPacketType();
~~~~~~~~~~~~~~~ ^
1 error generated.
[ 64% 30878/48011] target C++: libwpa_hidl <= external/wpa_supplicant_8/wpa_supplicant/hidl/hidl.cpp
ninja: build stopped: subcommand failed.
12:08:00 ninja failed with: exit status 1
make: *** [run_soong_ui] Error 1
make failed to build some targets (01:14:38 (hh:mm:ss))
I was hoping if anybody could help me with this error
TIA,
Deepak