[Android] Jamie_oppo:
Guys i really need help. I'm building for the oppo f1f and I need your expertise. Any help would be much appreciated. Just any idea on how to read the error. Or what is the error.

4 warnings generated.
[ 2% 423/18315] target C++: libril <= hardware/ril-caf/libril/ril.cpp
FAILED: /bin/bash -c "(PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I device/oppo/msm8939-common/include -I device/oppo/f1f/include -I external/nanopb-c -I hardware/ril-caf/libril/../include -I hardware/ril-caf/libril -I /home/jamie/android/system/out/target/product/f1f/obj/SHARED_LIBRARIES/libril_intermediates -I /home/jamie/android/system/out/target/product/f1f/gen/SHARED_LIBRARIES/libril_intermediates -I libnativehelper/include/nativehelper \$(cat /home/jamie/android/system/out/target/product/f1f/obj/SHARED_LIBRARIES/libril_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem hardware/ril-caf/include -isystem /home/jamie/android/system/out/target/product/f1f/obj/include -isystem bionic/libc/arch-arm64/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libm/include -isystem bionic/libm/include/arm64 -c -fno-exceptions -Wno-multichar -DCAMERA_VENDOR_L_COMPAT -fno-strict-aliasing -fstack-protector-strong -ffunction-sections -fdata-sections -funwind-tables -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -mcpu=cortex-a53 -Werror=pointer-to-int-cast -Werror=int-to-pointer-cast -Werror=implicit-function-declaration -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -O2 -g -Wstrict-aliasing=2 -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -fvisibility-inlines-hidden -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -Wsign-promo -Wno-inconsistent-missing-override -nostdlibinc -fno-rtti -fPIC -D_USING_LIBCXX -fsanitize=integer -fsanitize-trap=all -ftrap-function=abort -std=gnu++14 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /home/jamie/android/system/out/target/product/f1f/obj/SHARED_LIBRARIES/libril_intermediates/ril.d -o /home/jamie/android/system/out/target/product/f1f/obj/SHARED_LIBRARIES/libril_intermediates/ril.o hardware/ril-caf/libril/ril.cpp ) && (cp /home/jamie/android/system/out/target/product/f1f/obj/SHARED_LIBRARIES/libril_intermediates/ril.d /home/jamie/android/system/out/target/product/f1f/obj/SHARED_LIBRARIES/libril_intermediates/ril.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /home/jamie/android/system/out/target/product/f1f/obj/SHARED_LIBRARIES/libril_intermediates/ril.d >> /home/jamie/android/system/out/target/product/f1f/obj/SHARED_LIBRARIES/libril_intermediates/ril.P; rm -f /home/jamie/android/system/out/target/product/f1f/obj/SHARED_LIBRARIES/libril_intermediates/ril.d )"
In file included from hardware/ril-caf/libril/ril.cpp:362:
hardware/ril-caf/libril/ril_commands.h:153:6: error: use of undeclared identifier 'RIL_REQUEST_SET_CARRIER_RESTRICTIONS'
{RIL_REQUEST_SET_CARRIER_RESTRICTIONS, dispatchSetCarrierRestrictions, responseInts},
^
hardware/ril-caf/libril/ril_commands.h:154:6: error: use of undeclared identifier 'RIL_REQUEST_GET_CARRIER_RESTRICTIONS'
{RIL_REQUEST_GET_CARRIER_RESTRICTIONS, dispatchGetCarrierRestrictions, responseCarrierRestrictions},
^
hardware/ril-caf/libril/ril_commands.h:157:6: error: use of undeclared identifier 'RIL_REQUEST_GET_ADN_RECORD'
{RIL_REQUEST_GET_ADN_RECORD, dispatchVoid, responseInts},
^
hardware/ril-caf/libril/ril_commands.h:158:6: error: use of undeclared identifier 'RIL_REQUEST_UPDATE_ADN_RECORD'
{RIL_REQUEST_UPDATE_ADN_RECORD, dispatchAdnRecord, responseInts},
^
In file included from hardware/ril-caf/libril/ril.cpp:366:
hardware/ril-caf/libril/ril_unsol_commands.h:63:6: error: use of undeclared identifier 'RIL_UNSOL_PCO_DATA'
{RIL_UNSOL_PCO_DATA, responsePcoData, WAKE_PARTIAL},
^
hardware/ril-caf/libril/ril_unsol_commands.h:64:6: error: use of undeclared identifier 'RIL_UNSOL_RESPONSE_ADN_INIT_DONE'
{RIL_UNSOL_RESPONSE_ADN_INIT_DONE, responseVoid, WAKE_PARTIAL},
^
hardware/ril-caf/libril/ril_unsol_commands.h:65:6: error: use of undeclared identifier 'RIL_UNSOL_RESPONSE_ADN_RECORDS'
{RIL_UNSOL_RESPONSE_ADN_RECORDS, responseAdnRecords, WAKE_PARTIAL},
^
hardware/ril-caf/libril/ril.cpp:444:50: warning: unused parameter 'data' [-Wunused-parameter]
void nullParcelReleaseFunction (const uint8_t* data, size_t dataSize,
^
hardware/ril-caf/libril/ril.cpp:444:63: warning: unused parameter 'dataSize' [-Wunused-parameter]
void nullParcelReleaseFunction (const uint8_t* data, size_t dataSize,
^
hardware/ril-caf/libril/ril.cpp:445:51: warning: unused parameter 'objects' [-Wunused-parameter]
const size_t* objects, size_t objectsSize,
^
hardware/ril-caf/libril/ril.cpp:445:67: warning: unused parameter 'objectsSize' [-Wunused-parameter]
const size_t* objects, size_t objectsSize,
^
hardware/ril-caf/libril/ril.cpp:446:47: warning: unused parameter 'cookie' [-Wunused-parameter]
void* cookie) {
^
hardware/ril-caf/libril/ril.cpp:545:20: error: use of undeclared identifier 'RIL_RESPONSE_ACKNOWLEDGEMENT'
if (request == RIL_RESPONSE_ACKNOWLEDGEMENT) {
^
hardware/ril-caf/libril/ril.cpp:550:44: error: invalid application of 'sizeof' to an incomplete type 'CommandInfo []'
if (request < 1 || request >= (int32_t)NUM_ELEMS(s_commands)) {
^~~~~~~~~~~~~~~~~~~~~
hardware/ril-caf/libril/ril.cpp:83:34: note: expanded from macro 'NUM_ELEMS'
#define NUM_ELEMS(a) (sizeof (a) / sizeof (a)[0])
^~~
hardware/ril-caf/libril/ril.cpp:596:23: warning: unused parameter 'p' [-Wunused-parameter]
dispatchVoid (Parcel& p, RequestInfo *pRI) {
^
hardware/ril-caf/libril/ril.cpp:1168:42: warning: unused parameter 'pRI' [-Wunused-parameter]
constructCdmaSms(Parcel &p, RequestInfo *pRI, RIL_CDMA_SMS_Message& rcsm) {
^
hardware/ril-caf/libril/ril.cpp:2149:5: error: unknown type name 'RIL_CarrierRestrictions'
RIL_CarrierRestrictions cr;
^
hardware/ril-caf/libril/ril.cpp:2150:5: error: unknown type name 'RIL_Carrier'
RIL_Carrier * allowed_carriers = NULL;
^
hardware/ril-caf/libril/ril.cpp:2151:5: error: unknown type name 'RIL_Carrier'
RIL_Carrier * excluded_carriers = NULL;
^
hardware/ril-caf/libril/ril.cpp:2155:27: error: use of undeclared identifier 'RIL_CarrierRestrictions'
memset(&cr, 0, sizeof(RIL_CarrierRestrictions));
^
hardware/ril-caf/libril/ril.cpp:2168:25: error: use of undeclared identifier 'RIL_Carrier'
allowed_carriers = (RIL_Carrier *)calloc(t, sizeof(RIL_Carrier));
^
hardware/ril-caf/libril/ril.cpp:2168:38: error: expected expression
allowed_carriers = (RIL_Carrier *)calloc(t, sizeof(RIL_Carrier));
^
hardware/ril-caf/libril/ril.cpp:2180:26: error: use of undeclared identifier 'RIL_Carrier'
excluded_carriers = (RIL_Carrier *)calloc(t, sizeof(RIL_Carrier));
^
hardware/ril-caf/libril/ril.cpp:2180:39: error: expected expression
excluded_carriers = (RIL_Carrier *)calloc(t, sizeof(RIL_Carrier));
^
hardware/ril-caf/libril/ril.cpp:2194:9: error: unknown type name 'RIL_Carrier'
RIL_Carrier *p_cr = allowed_carriers + i;
^
hardware/ril-caf/libril/ril.cpp:2198:40: error: unknown type name 'RIL_CarrierMatchType'
p_cr->match_type = static_cast<RIL_CarrierMatchType>(t);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
7 warnings and 20 errors generated.
[ 2% 423/18315] Building with Jack: /...k_intermediates/with-local/classes.dex
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/jamie/android/system'