hey guys
was trying to build CM9 for galaxy 5..
got this build error
please help
Code:
hardware/qcom/display/libgralloc/alloc_controller.cpp: In function 'bool canFallback(int, int, bool)':
hardware/qcom/display/libgralloc/alloc_controller.cpp:72: error: 'GRALLOC_USAGE_EXTERNAL_ONLY' was not declared in this scope
make: *** [out/target/product/galaxy5/obj/SHARED_LIBRARIES/libmemalloc_intermediates/alloc_controller.o] Error 1
make: *** Waiting for unfinished jobs....
Related
hi people i started building cm7 for huawei g300 but i get error:
Code:
Copy: out/target/product/u8815/system/lib/libril.so
target Executable: rild (out/target/product/u8815/obj/EXECUTABLES/rild_intermediates/LINKED/rild)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/u8815/obj/EXECUTABLES/rild_intermediates/rild.o: in function s_rilEnv:rild.c(.data.rel+0x4): error: undefined reference to 'RIL_onUnsolicitedResponse'
collect2: ld returned 1 exit status
make: *** [out/target/product/u8815/obj/EXECUTABLES/rild_intermediates/LINKED/rild] Error 1
make: *** Waiting for unfinished jobs....
if someone know what to do to fix this error, please tell me.
ficko_98 said:
hi people i started building cm7 for huawei g300 but i get error:
Code:
Copy: out/target/product/u8815/system/lib/libril.so
target Executable: rild (out/target/product/u8815/obj/EXECUTABLES/rild_intermediates/LINKED/rild)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/u8815/obj/EXECUTABLES/rild_intermediates/rild.o: in function s_rilEnv:rild.c(.data.rel+0x4): error: undefined reference to 'RIL_onUnsolicitedResponse'
collect2: ld returned 1 exit status
make: *** [out/target/product/u8815/obj/EXECUTABLES/rild_intermediates/LINKED/rild] Error 1
make: *** Waiting for unfinished jobs....
if someone know what to do to fix this error, please tell me.
Click to expand...
Click to collapse
Well......Are you using the original toolchain or is that LINARO?
because it looks like the error is being effected by the toolchain atleast thats what i see ....An error in RILD
Try a different toolchain and let me know if the error occurs again
And by different toolchain i mean the stock toolchain
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#
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.
Setup my build environment according to this post
http://forum.xda-developers.com/showthread.php?t=2639611
and trying to build this ROM
https://github.com/CarbonDev/android
I got a build error mid way
HTML:
hardware/qcom/display/msm8974/liboverlay/overlayMdp.cpp: In member function 'void overlay::MdpCtrl::setColor(uint32 _t)':
hardware/qcom/display/msm8974/liboverlay/overlayMdp.cpp:105:13: error: 'struct mdp_overlay' has no member named 'bg _color'
make: *** [/root/carbon/out/target/product/hammerhead/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlayMdp.o] E rror 1
make: *** Waiting for unfinished jobs....
target thumb C++: liboverlay <= hardware/qcom/display/msm8974/liboverlay/overlayMdssRot.cpp
make: *** wait: No child processes. Stop.
I google and got this suggesting
Try switching hardware/qcom/display to cyanogenmod 's version
What file do I edit to change this?
Thanks.
Setup my build environment according to this post
http://forum.xda-developers.com/showthread.php?t=2639611
and trying to build this ROM
https://github.com/CarbonDev/android
I got a build error mid way
HTML:
hardware/qcom/display/msm8974/liboverlay/overlayMdp.cpp: In member function 'void overlay::MdpCtrl::setColor(uint32 _t)':
hardware/qcom/display/msm8974/liboverlay/overlayMdp.cpp:105:13: error: 'struct mdp_overlay' has no member named 'bg _color'
make: *** [/root/carbon/out/target/product/hammerhead/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlayMdp.o] E rror 1
make: *** Waiting for unfinished jobs....
target thumb C++: liboverlay <= hardware/qcom/display/msm8974/liboverlay/overlayMdssRot.cpp
make: *** wait: No child processes. Stop.
I google and got this suggesting
Try switching hardware/qcom/display to cyanogenmod 's version
What file do I edit to change this?
Thanks.