Help my with CM building - Android Q&A, Help & Troubleshooting

I have cwm source for building CM11 to GT-s6310 but allways give my that problem:
system/core/libutils/Printer.cpp: In member function ‘virtual void android::FdPrinter:rintLine(const char*)’:
system/core/libutils/Printer.cpp:123: error: ‘dprintf’ was not declared in this scope
make: *** [/Volumes/android/cm11/out/host/darwin-x86/obj/STATIC_LIBRARIES/libutils_intermediates/Printer.o] Error 1

Related

[Q] CM9 build error :HELP

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

[Q] aosp compiling errors, please help if you can

hey guys, this is the first time compiling aosp for any device,, i have compiled private test builds of cm before,, but aosp is different,,, i have just started compiling and came apon the first error which has stopped the rom compiling,, if you could help me fix some issuse that arrise i will be in your debt,,,
device/samsung/smdk4412-common/camerawrapper/CameraWrapper.cpp: In function 'char* camera_fixup_getparams(int, char const*)':
device/samsung/smdk4412-common/camerawrapper/CameraWrapper.cpp:102:16: error: 'KEY_SUPPORTED_ISO_MODES' is not a member of 'android::CameraParameters'
device/samsung/smdk4412-common/camerawrapper/CameraWrapper.cpp: In function 'char* camera_fixup_setparams(int, char const*)':
device/samsung/smdk4412-common/camerawrapper/CameraWrapper.cpp:119:42: error: 'KEY_ISO_MODE' is not a member of 'android::CameraParameters'
device/samsung/smdk4412-common/camerawrapper/CameraWrapper.cpp:121:24: error: 'KEY_ISO_MODE' is not a member of 'android::CameraParameters'
device/samsung/smdk4412-common/camerawrapper/CameraWrapper.cpp:123:24: error: 'KEY_ISO_MODE' is not a member of 'android::CameraParameters'
device/samsung/smdk4412-common/camerawrapper/CameraWrapper.cpp:125:24: error: 'KEY_ISO_MODE' is not a member of 'android::CameraParameters'
device/samsung/smdk4412-common/camerawrapper/CameraWrapper.cpp:127:24: error: 'KEY_ISO_MODE' is not a member of 'android::CameraParameters'
device/samsung/smdk4412-common/camerawrapper/CameraWrapper.cpp:133:16: error: 'KEY_CITYID' is not a member of 'android::CameraParameters'
device/samsung/smdk4412-common/camerawrapper/CameraWrapper.cpp: In function 'int camera_device_open(const hw_module_t*, char const*, hw_device_t**)':
device/samsung/smdk4412-common/camerawrapper/CameraWrapper.cpp:507:134: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
make: *** [out/target/product/i9305/obj/SHARED_LIBRARIES/camera.exynos4_intermediates/CameraWrapper.o] Error 1
make: *** Waiting for unfinished jobs....
Bump.. really no one wants to help
Sent from my GT-I9305 using xda app-developers app

Could use some help compiling kit-kat.

Hey, for a while now I've been trying to port kit kat to the Optimus 3D. Along the lines I've ran into this issue building and can't go any further.
REALLY could use some help, without it I may have to abandon this.
Here is the error..
Code:
Import includes file: /home/bailey/android/cm11/out/target/product/p920/obj/EXECUTABLES/surfaceflinger_intermediates/import_includes
target thumb C++: surfaceflinger <= frameworks/native/services/surfaceflinger/main_surfaceflinger.cpp
In file included from frameworks/native/services/surfaceflinger/SurfaceFlinger.h:50:0,
from frameworks/native/services/surfaceflinger/main_surfaceflinger.cpp:26:
frameworks/native/services/surfaceflinger/DisplayDevice.h:61:27: error: 'HWC_DISPLAY_VIRTUAL' was not declared in this scope
frameworks/native/services/surfaceflinger/DisplayDevice.h:62:37: error: 'HWC_NUM_PHYSICAL_DISPLAY_TYPES' was not declared in this scope
In file included from frameworks/native/services/surfaceflinger/SurfaceFlinger.h:55:0,
from frameworks/native/services/surfaceflinger/main_surfaceflinger.cpp:26:
frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:67:32: error: 'HWC_NUM_PHYSICAL_DISPLAY_TYPES' was not declared in this scope
frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:69:35: error: 'HWC_DISPLAY_VIRTUAL' was not declared in this scope
In file included from frameworks/native/services/surfaceflinger/SurfaceFlinger.h:55:0,
from frameworks/native/services/surfaceflinger/main_surfaceflinger.cpp:26:
frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:347:25: error: 'HWC_NUM_PHYSICAL_DISPLAY_TYPES' was not declared in this scope
frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:354:34: error: 'HWC_NUM_PHYSICAL_DISPLAY_TYPES' was not declared in this scope
make: *** [/home/bailey/android/cm11/out/target/product/p920/obj/EXECUTABLES/surfaceflinger_intermediates/main_surfaceflinger.o] Error 1
[email protected]:~/android/cm11$

[Q] Building error aosp

guys im getting this error when building any help here cause im a complete newbie.
from this guide
http://developer.sonymobile.com/kno...ld-aosp-lollipop-for-unlocked-xperia-devices/
Code:
PRODUCT_COPY_FILES device/sony/sirius/rootdir/system/etc/libnfc-nxp.conf:system/etc/libnfc-nxp.conf ignored.
No private recovery resources for TARGET_DEVICE sirius
No recovery.fstab for TARGET_DEVICE sirius
make: *** No rule to make target `–j'. Stop.
#### make failed to build some targets (38 seconds) ####
Now when i repo sync it gives me this error:
error: hardware/libhardware/: platform/hardware/libhardware checkout 628ce4aedaa03d989ac403df533448cd78e701f7
EDIT:i searched online and somehow got past the error but now im getiing this error
Code:
In file included from external/libnfc-nci/src/hal/include/nfc_hal_api.h:27:0,
from external/libnfc-nci/src/nfc/include/nfc_api.h:32,
from external/libnfc-nci/src/nfa/include/nfa_api.h:32,
from packages/apps/Nfc/nci/jni/NativeLlcpConnectionlessSocket.cpp:26:
hardware/libhardware/include/hardware/nfc.h:56:1: error: expected unqualified-id before '<<' token
<<<<<<< HEAD
^
hardware/libhardware/include/hardware/nfc.h:94:3: error: 'nfc_nci_module_t' does not name a type
} nfc_nci_module_t;
^
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libnfc_nci_jni_intermediates/NativeLlcpConnectionlessSocket.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from external/libnfc-nci/src/hal/include/nfc_hal_api.h:27:0,
from external/libnfc-nci/src/include/NfcAdaptation.h:24,
from packages/apps/Nfc/nci/jni/NativeLlcpServiceSocket.cpp:19:
hardware/libhardware/include/hardware/nfc.h:56:1: error: expected unqualified-id before '<<' token
<<<<<<< HEAD
^
hardware/libhardware/include/hardware/nfc.h:94:3: error: 'nfc_nci_module_t' does not name a type
} nfc_nci_module_t;
^
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libnfc_nci_jni_intermediates/NativeLlcpServiceSocket.o] Error 1
external/sqlite/dist/sqlite3.c: In function 'fts3SnippetFunc':
external/sqlite/dist/sqlite3.c:143651:11: warning: 'iS' may be used uninitialized in this function [-Wmaybe-uninitialized]
if( iS>iBestScore ){
^
external/sqlite/dist/sqlite3.c:143643:13: note: 'iS' was declared here
int iS;
^
#### make failed to build some targets (03:21 (mm:ss)) ####
never mind i some how got it to work and i built aosp and flashed it and it BOOTS !!.
have you concidered PMming Pabx or Krabappel2548
these two xda users may know where i do not
@Farooq95
Any news about the error?
I got the same.
Greatz WuChEn
Der-WU said:
@Farooq95
Any news about the error?
I got the same.
Greatz WuChEn
Click to expand...
Click to collapse
try in the terminal
Code:
git commit -a
if it doent work then
Code:
repo forall -vc "git reset --hard"
Doesn't work for me
Farooq95 said:
try in the terminal
Code:
git commit -a
if it doent work then
Code:
repo forall -vc "git reset --hard"
Click to expand...
Click to collapse
Hi
I am stuck at the same point. Didn't get it working even after running repo forall -vc....
Please help

[HELP] Kernel problems when building CM13-ZHN5Y

http://pastebin.com/8PpeeCc1
Code:
hardware/qcom/display-caf/msm8916/libhwcomposer/hwc_qclient.cpp: In function 'bool qClient::updateDisplayBWCapForCam(bool)':
hardware/qcom/display-caf/msm8916/libhwcomposer/hwc_qclient.cpp:375:19: error: 'MDSS_MAX_BW_LIMIT_CAMERA' was not declared in this scope
bw_flag = MDSS_MAX_BW_LIMIT_CAMERA;
^
build/core/binary.mk:730: recipe for target '/home/minz1/cyandroid/out/target/product/j7ltespr/obj/SHARED_LIBRARIES/hwcomposer.msm8916_intermediates/hwc_qclient.o' failed
make: *** [/home/minz1/cyandroid/out/target/product/j7ltespr/obj/SHARED_LIBRARIES/hwcomposer.msm8916_intermediates/hwc_qclient.o] Error 1
Kernel Config
https://github.com/minz1/android_kernel_samsung_j7ltespr
It'd be great if someone helped me out with this problem, I can't figure out what causes this. The kernel is straight from samopensource, so I don't know if I need anything edited or what...
Just remove that line with if clause ..
Most probably the three lines one above and below the MDSS_MAX_BW_LIMIT ..
Just wait I wil send u the screenshot
Sent from my KIW-L22 using Tapatalk

Categories

Resources