[Q] [HELP] Ubuntu Touch Compiling Error - Android Q&A, Help & Troubleshooting

I'm currently trying to port Ubuntu Touch to the MetroPCS Galaxy S3, and I've ironed out most of the other errors, but I can't figure this one out..
Code:
In file included from frameworks/av/media/libstagefright/ACodec.cpp:41:0:
frameworks/av/media/libstagefright/OMX_QCOMExtns.h:245:45: error: conflicting declaration 'OMX_QCOM_COLOR_FormatYVU420SemiPlanar'
In file included from ./frameworks/native/include/media/openmax/OMX_Video.h:66:0,
from frameworks/av/include/media/IOMX.h:27,
from frameworks/av/include/media/stagefright/ACodec.h:23,
from frameworks/av/media/libstagefright/ACodec.cpp:20:
./frameworks/native/include/media/openmax/OMX_IVCommon.h:161:5: error: 'OMX_QCOM_COLOR_FormatYVU420SemiPlanar' has a previous declaration as 'OMX_COLOR_FORMATTYPE OMX_QCOM_COLOR_FormatYVU420SemiPlanar'
make: *** [/home/brendan/touch/out/target/product/d2mtr/obj/SHARED_LIBRARIES/libstagefright_intermediates/ACodec.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes. Stop.
Any help would be greatly appreciated.

Related

[Q] Help with CM10.2 compilation errors (from source)

Hope this is the correct forum for this, tried under the HTC One X evita Q/A forum but was told it fits better here.
Hey all, so I've built out a development environment and have followed tutorials on how to build CM10.2 from source. I would consider myself an advanced Linux user and things have been going well with the exception of these compliation errors. Any help troubleshooting these would be greatly appreciated.
Code:
target thumb C++: libc <= bionic/libc/bionic/pthread_debug.cpp
cc1plus: warning: command line option '-std=gnu99' is valid for C/ObjC but not for C++ [enabled by default]
make[3]: *** [linux] Error 2
make[2]: *** [headers_install] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/c0pp3r/android/cm10.2/kernel/htc/msm8960'
make: *** [/home/c0pp3r/android/cm10.2/out/target/product/evita/obj/KERNEL_OBJ/usr] Error 2
make: *** Waiting for unfinished jobs....
bionic/libc/bionic/pthread_debug.cpp:545:13: warning: 'void hashmap_removeEntry(HashTable*, HashEntry*)' defined but not used [-Wunused-function]
[email protected]:/home/c0pp3r/android/cm10.2#

[Q] Please Reply! Compiling CM11 Error!

Hey I am trying to compile CM11 for the xperia E, but I get this error:
In file included from /home/usaamah/cm11/kernel/sony/msm7x27a/include/linux/byteorder/little_endian.h:12:0,
from /home/usaamah/cm11/kernel/sony/msm7x27a/arch/arm/include/asm/byteorder.h:21,
from /home/usaamah/cm11/kernel/sony/msm7x27a/include/asm-generic/bitops/le.h:5,
from /home/usaamah/cm11/kernel/sony/msm7x27a/arch/arm/include/asm/bitops.h:308,
from /home/usaamah/cm11/kernel/sony/msm7x27a/include/linux/bitops.h:22,
from /home/usaamah/cm11/kernel/sony/msm7x27a/include/linux/kernel.h:19,
from /home/usaamah/cm11/kernel/sony/msm7x27a/include/linux/cache.h:4,
from /home/usaamah/cm11/kernel/sony/msm7x27a/include/linux/time.h:7,
from /home/usaamah/cm11/kernel/sony/msm7x27a/include/linux/stat.h:60,
from /home/usaamah/cm11/kernel/sony/msm7x27a/include/linux/module.h:10,
from /home/usaamah/cm11/kernel/sony/msm7x27a/net/netfilter/xt_socket.c:13:
/home/usaamah/cm11/kernel/sony/msm7x27a/net/netfilter/xt_socket.c: In function 'xt_socket_get6_sk':
/home/usaamah/cm11/kernel/sony/msm7x27a/include/linux/swab.h:49:9: warning: 'sport' may be used uninitialized in this function [-Wmaybe-uninitialized]
error, forbidden warning: swab.h:49
make[4]: *** [net/netfilter/xt_socket.o] Error 1
make[3]: *** [net/netfilter] Error 2
make[2]: *** [net] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/usaamah/cm11/kernel/sony/msm7x27a'
make: *** [TARGET_KERNEL_BINARIES] Error 2
Any Solution ASAP!
BUMP!
requires this change
friend
https://github.com/chijure/android_kernel_lge_vee1/commit/1c0c41ed1a6da33b5bbd7580436619798536eced

[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.

[HELP]Need help plz urgent

Im getting this error while building cm13 plz someone help
Code:
Warning: there were 3 instances of library classes depending on program classes.
You must avoid such dependencies, since the program classes will
be processed, while the library classes will remain unchanged.
(http://proguard.sourceforge.net/manual/troubleshooting.html#dependency)
Error: Please correct the above warnings first.
build/core/java.mk:536: recipe for target '/home/aditya/cm/out/target/common/obj/APPS/LockClock_intermediates/proguard.classes.jar' failed
make: *** [/home/aditya/cm/out/target/common/obj/APPS/LockClock_intermediates/proguard.classes.jar] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/aditya/cm'
adityaupreti said:
Im getting this error while building cm13 plz someone help
Code:
Warning: there were 3 instances of library classes depending on program classes.
You must avoid such dependencies, since the program classes will
be processed, while the library classes will remain unchanged.
(http://proguard.sourceforge.net/manual/troubleshooting.html#dependency)
Error: Please correct the above warnings first.
build/core/java.mk:536: recipe for target '/home/aditya/cm/out/target/common/obj/APPS/LockClock_intermediates/proguard.classes.jar' failed
make: *** [/home/aditya/cm/out/target/common/obj/APPS/LockClock_intermediates/proguard.classes.jar] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/aditya/cm'
Click to expand...
Click to collapse
Try these
http://review.cyanogenmod.org/129427
and
http://review.cyanogenmod.org/129496
LG g flex
Hi can i get help with my LG g flex at&t.I need to upgrade firmware.to unlocked my phone.i can't put my unlocked code in.Thanks paul
Hi Aditya Have you solved this???
I am also stuck here for G900H

I got an error while compiling a kernel

hi...
i am trying to build my own custom kernel for mido
Im beginner
first i used kud kernel source and now im using lineage os stock kernel source
i got same error while compiling both of the kernel
pls help for this
In file included from drivers/media/platform/msm/camera_v2/isp/msm_isp_util.c:24:0:
include/trace/events/msm_cam.h:19:21: fatal error: msm_isp.h: No such file or directory
#include "msm_isp.h"
^
compilation terminated.
scripts/Makefile.build:257: recipe for target 'drivers/media/platform/msm/camera_v2/isp/msm_isp_util.o' failed
make[6]: *** [drivers/media/platform/msm/camera_v2/isp/msm_isp_util.o] Error 1
make[6]: *** Waiting for unfinished jobs....
CC net/ipv6/addrconf_core.o
scripts/Makefile.build:402: recipe for target 'drivers/media/platform/msm/camera_v2/isp' failed
make[5]: *** [drivers/media/platform/msm/camera_v2/isp] Error 2
scripts/Makefile.build:402: recipe for target 'drivers/media/platform/msm/camera_v2' failed
make[4]: *** [drivers/media/platform/msm/camera_v2] Error 2
make[4]: *** Waiting for unfinished jobs....
https://github.com/ArbitraryFox/ker...adf80bf#diff-ddf45fe604bb6728785f6a0ff5f293e5
Thanks sir

Categories

Resources