Error trying to build AICP FOR OnePlus 6T (PLEASE) - Android Q&A, Help & Troubleshooting

Device tree: https://github.com/LineageOS/android_device_oneplus_fajita
Vendor tree:=
https://github.com/AICP/proprietary_vendor_oneplus/tree/q10.0/sdm845-common
Kernel Source:=
https://github.com/AICP/kernel_oneplus_sdm845
ROM Source:=
https://github.com/AICP/platform_manifest
Haste or Dogbin URL:=
hastebin.come/acozerifum.makefile
Issues:
Well there are multiple and I'll highlight them here:
frameworks/base/rs/jni/Android.mk: error: librs_jni (native: platform) should not link to libunwind_llvm ()
frameworks/base/rs/jni/Android.mk: error: librs_jni (native: platform) should not link to libclang_rt.ubsan_minimal-arm-android ()
external/p7zip/Android.mk: error: lib7z (native: platform) should not link to lib unwind_llvm ()
external/p7zip/Android.mk: error: lib7z (native: platform) should not link to lib clang_rt.ubsan_minimal-arm-android ()
In file included from frameworks/base/rs/jni/android_renderscript_RenderScript.c pp:27: system/core/base/include/android-base/macros.h:22:10: fatal error: 'utility' file not found #include <utility> ^~~~~~~~~ 1 error generated.
In file included from frameworks/base/rs/jni/android_renderscript_RenderScript.c pp:44: In file included from ./frameworks/native/include/gui/Surface.h:22: ./frameworks/native/include/gui/IGraphicBufferProducer.h:31:10: fatal error: 'an droid/hardware/graphics/bufferqueue/1.0/IGraphicBufferProducer.h' file not found #include <android/hardware/graphics/bufferqueue/1.0/IGraphicBufferProducer.h>
List Of Things I Have Tried To Do To Try And Resolve This Error:=
For the IGraphicBufferProducer.h error I attempted to find the file and navigate to where it should be. I found a similarly named file but it was in the Hal file format and I didn't know what to do. The utility file error I have absolutely no idea what to do. Finally there are the "should not link to" errors and I opened Android.mk to remove them but these particular files arent even present in android.mk and for this reason I didn't know how to rectify this error. Hopefully someone can help me.

Related

smd_private.h: No such file or directory

I'm trying to build a stand alone Android kernel and i want to write loadable kernel module, but when i build my module.c file, i have this error
Code:
error: smd_private.h: No such file or directory
search at google told me that i should change
Code:
<smd_private.h>
into
Code:
"smd_private.h"
in arch/arm/mach-msm/smd_init_dt.c file . but i dont have this file in my kernel folder !!!, so i download this file,but the error still exist!! Can you help me?
[Q]
any help?

[Q] smd_private.h: No such file or directory while building loadable kernel module

I'm trying to build a stand alone Android kernel and i want to write loadable kernel module, but when i build my module.c file, i have this error
Code:
error: smd_private.h: No such file or directory
search at google told me that i should change
Code:
<smd_private.h>
into
Code:
"smd_private.h"
in
Code:
arch/arm/mach-msm/smd_init_dt.c
but i dont have this file in my kernel folder !!!, so i download this file,but the error still exist!!
plz help me

[Help] Errors when compiling LineageOS 14.1

Hello there
I have been trying to compile LineageOS 14.1 for my Xperia E3 for a few days, but compilation stops in the following error:
https://pastebin.com/wtFGquBt
and I don't know what is failing.
At first it said:
Code:
frameworks/av/media/libstagefright/FFMPEGSoftCodec.cpp:51:10: fatal error: 'OMX_QCOMExtns.h' file not found
#include <OMX_QCOMExtns.h>
^
1 error generated.
and I modified Android.mk to point to that sources on hardware/qcom/media/mm-core/inc
but I still have the first error. What can I do?
Fixed modding some files
Fixed manually pointing to that file on Android.mk
How you fixed bro i m also getting same error
frameworks/av/media/libstagefright/FFMPEGSoftCodec.cpp:51:10: fatal error: 'OMX_QCOMExtns.h' file not found
#include <OMX_QCOMExtns.h>

CM 16 build for flo error

Hi all,
I'm trying to build CM 16 for flo but something is wrong with the include dir. The "missing" files are there, permissions set to 777. I also tried to export the path /home/android/android/lineage/kernel/google/msm/include to $PATH, doesn't help. As a work around, I added the full path to the cpp/h files directly. For example:
Code:
#include </linux/msm_mdp.h> //doesnt work
#include </home/android/android/lineage/kernel/google/msm/include/linux/msm_mdp.h //works fine
Build terminates with this errormessage:
Code:
In file included from hardware/qcom/display/msm8960/liboverlay/overlay.h:33:
hardware/qcom/display/msm8960/liboverlay/overlayUtils.h:38:10: fatal error: '/linux/msm_mdp.h' file not found
#include </linux/msm_mdp.h> // flags
^~~~~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
any ideas how to solve this?
From the terminal log you give me
/linux/msm_mdp.h
Click to expand...
Click to collapse
was missing
Thanks, but I think you didn't read my post completely. The file is there for sure.

compilation error. fatal error: 'linux/msm_audio.h' file not found

hi!
i am compiling lineageos for the xiaomi mi 9.
device and vendor from Demon000. kernel from Demon000 and Xiaomi both return this error:
hardware/qcom-caf/sm8150/audio/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:60:10: fatal error: 'linux/msm_audio.h' file not found #include <linux/msm_audio.h>
any idea on how to solve this?
Missing file is on path kernel_xiaomi_sm6250/techpack/audio/4.0/include/uapi/linux/msm_audio.h,
maybe you should copy it to kernel_xiaomi_sm6250/include/uapi/linux/msm_audio.h, or tweak kernel configuration to include techpack.

Categories

Resources