[Help] Errors when compiling LineageOS 14.1 - Android Q&A, Help & Troubleshooting

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>

Related

[Q] Error While Downloading CM12 Source

Hey Guys i am downloading CM12 Source ..Everything is fetched..I just need to sync when i start syncing i get an error .
Code:
error: in `sync`: [Errno 2] No such file or directory: u'/home/humaid/cm12/cts/.git/HEAD'
error: manifest missing or unreadable -- please run init
I have tried many time but i am still stuck .I am running Ubuntu 14 directly on my pc
KIndly help
DONE
Deleated the file from directory and retried and it worked!

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.

Building LG K350Z kernel fails

I am trying to learn how to build LG K350Z (LG K8 350Z) kernel without modifications (changes to ".config" file), so I downloaded kernel source from lge opensource website.
Now when compiling I keep getting this type of error:
In file included from drivers/input/touchscreen/mediatek/met_ftrace_touch.h:50:0,
from drivers/input/touchscreen/mediatek/tpd_debug.c:8:
include/trace/define_trace.h:83:43: fatal error: ./met_ftrace_touch.h: No such file or directory
#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
^
compilation terminated.
I am compiling for ARM arch with GCC 4.8.
Anyone know what could be the problem or how it can be fixed?

Error trying to build AICP FOR OnePlus 6T (PLEASE)

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.

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