Cm 13 compile error - Android Q&A, Help & Troubleshooting

So ive been trying to build Cm 13 for samsung vibrant or vibrantmtd but while compliation i get this error regarding build prop
Target buildinfo: /home/mgomes/android1/cm13.0/out/target/product/vibrantmtd/obj/ETC/system_build_prop_intermediates/build.prop
/bin/bash: SGH-T959: command not found
make: *** [/home/mgomes/android1/cm13.0/out/target/product/vibrantmtd/obj/ETC/system_build_prop_intermediates/build.prop] Error 127
make: *** Deleting file `/home/mgomes/android1/cm13.0/out/target/product/vibrantmtd/obj/ETC/system_build_prop_intermediates/build.prop'
make: Leaving directory `/home/mgomes/android1/cm13.0'
Full log http://pastebin.com/tDeNLa82
If someone could guide me in the right direction on which files are causing errors that would be helpful

Related

Problem while compiling android source

When i'm compiling i get this error:
Code:
make: *** [out/target/product/galaxysl/obj/SHARED_LIBRARIES/audio.primary.omap3_intermediates/AudioHardware.o] Error 1
I don't know to how to fix it.
Any ideas ?

[Q] CM9 compiling error

hey i have a weird error coming up while compiling ICS
Target buildinfo: out/target/product/u8650/system/build.prop
/bin/bash: 4.0.4: command not found
make: *** [out/target/product/u8650/system/build.prop] Error 127
i know its not for this device but i do also have an s3

[Q] AOSP Compiling errors.

First of all, i am sorry in advance for posting in the wrong section if i did so.
Second, i am facing these errors when building AOSP :
Code:
hardware/qcom/display/msm8974/libcopybit/copybit_c2d.cpp:34:28: fatal error: linux/msm_kgsl.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/display/msm8974/libgralloc/alloc_controller.cpp:36:0:
hardware/qcom/display/msm8974/libgralloc/ionalloc.h:33:27: fatal error: linux/msm_ion.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/display/msm8974/libgralloc/ionalloc.cpp:38:0:
hardware/qcom/display/msm8974/libgralloc/ionalloc.h:33:27: fatal error: linux/msm_ion.h: No such file or directory
compilation terminated.
target thumb C++: gps.msm8974 <= device/sony/shinano-common/gps/libloc_api_50001/loc.cpp
target thumb C: gps.msm8974 <= device/sony/shinano-common/gps/libloc_api_50001/gps.c
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libmemalloc_intermediates/ionalloc.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libmemalloc_intermediates/alloc_controller.o] Error 1
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/copybit.msm8974_intermediates/copybit_c2d.o] Error 1
hardware/qcom/display/msm8974/libqdutils/mdp_version.cpp:33:27: fatal error: linux/msm_mdp.h: No such file or directory
compilation terminated.
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libqdutils_intermediates/mdp_version.o] Error 1
Can anyone help me here ? I am pretty new with ROM compiling stuff, so please be kind . I am trying to learn.
A question :Can i just modify includes for copybit_c2d.cpp and get passed of this error ? I think it will work, but i may have ROM problems afterwards. -- Tried, won't work. I get "not declared in this scope errors, which is normal".​I am trying to compile for Xperia Z2, on Mint 17 64bit.
Thanks!
Costinutz32 said:
First of all, i am sorry in advance for posting in the wrong section if i did so.
Second, i am facing these errors when building AOSP :
Code:
hardware/qcom/display/msm8974/libcopybit/copybit_c2d.cpp:34:28: fatal error: linux/msm_kgsl.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/display/msm8974/libgralloc/alloc_controller.cpp:36:0:
hardware/qcom/display/msm8974/libgralloc/ionalloc.h:33:27: fatal error: linux/msm_ion.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/display/msm8974/libgralloc/ionalloc.cpp:38:0:
hardware/qcom/display/msm8974/libgralloc/ionalloc.h:33:27: fatal error: linux/msm_ion.h: No such file or directory
compilation terminated.
target thumb C++: gps.msm8974 <= device/sony/shinano-common/gps/libloc_api_50001/loc.cpp
target thumb C: gps.msm8974 <= device/sony/shinano-common/gps/libloc_api_50001/gps.c
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libmemalloc_intermediates/ionalloc.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libmemalloc_intermediates/alloc_controller.o] Error 1
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/copybit.msm8974_intermediates/copybit_c2d.o] Error 1
hardware/qcom/display/msm8974/libqdutils/mdp_version.cpp:33:27: fatal error: linux/msm_mdp.h: No such file or directory
compilation terminated.
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libqdutils_intermediates/mdp_version.o] Error 1
Can anyone help me here ? I am pretty new with ROM compiling stuff, so please be kind . I am trying to learn.
A question :Can i just modify includes for copybit_c2d.cpp and get passed of this error ? I think it will work, but i may have ROM problems afterwards. -- Tried, won't work. I get "not declared in this scope errors, which is normal".​I am trying to compile for Xperia Z2, on Mint 17 64bit.
Thanks!
Click to expand...
Click to collapse
As the error says,one of the header files required to create the .o or the object file is missing. Trying searching the file on Google and add it to required folder and #include it to your .c/.c++ program.
Good luck.

make: *** No rule to make target 'device/infinix/d5110_infinix/audio/audio.cpp CM12.1

Hi! I ported the Infinix Hot 2 device tree and vendor files to my BLU Energy X 2, but I kept the name the same. That is why it says infinix_d5110. So, I ran make -j8 otatools and it is telling me
Code:
make: *** No rule to make target 'device/infinix/d5110_infinix/audio/audio.cpp', needed by '/home/nate/cm12.1/out/target/product/d5110_infinix/obj/SHARED_LIBRARIES/audio.primary.mt6580_intermediates/audio.o'. Stop.
Without modifications to the device tree and vendor, straight from the Infinix Hot 2, this error is not present. In the audio folder, there is only Android.mk, and no file called audio.cpp. It says it is needed by audio.o but when I look in the out directory, that file does not exist.
Terminal:
Code:
make: *** No rule to make target 'device/infinix/d5110_infinix/audio/audio.cpp', needed by '/home/nate/cm12.1/out/target/product/d5110_infinix/obj/SHARED_LIBRARIES/audio.primary.mt6580_intermediates/audio.o'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: hardware/libhardware/modules/audio/Android.mk -- /home/nate/cm12.1/out/target/product/d5110_infinix/obj/SHARED_LIBRARIES/audio.primary.default_intermediates/export_includes
#### make failed to build some targets (04:50 (mm:ss)) ####
Please help! Thanks

Make Error 1 while brunch a rom

I am trying to build candy rom for my device...
When i brunch , following error occurs
make: *** [build/core/package_internal.mk:278: /home/Dhina/android/candy/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1 make: *** Deleting file '/home/Dhina/android/candy/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
How to fix this
Fixed

Categories

Resources