[Q] Help to fix errors on build (CM11) - Android Q&A, Help & Troubleshooting

Hello, I trying build CyanogenMod 11 for Huawei Ascend G510 with this sources:
# CM-10.2 Dependencies
Dazzozo/android_device_huawei_u8951
Dazzozo/android_device_huawei_u8833
Dazzozo/android_device_huawei_msm7x27a-common
Dazzozo/proprietary_vendor_huawei
Dazzozo/huawei-kernel-3.4
# Legacy Display and Media
legaCyMod/android_hardware_qcom_display-legacy
legaCyMod/android_hardware_qcom_media-legacy
# WiFi
legaCyMod/android_hardware_atheros_wlan
Dazzozo/android_hardware_atheros_wifi_ath6kl-huawei
From these github's accounts:
https://github.com/legaCyMod
https://github.com/Dazzozo
And get this error / errors:
Code:
Install: /home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/system/bin/mksh
Install: /home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/system/bin/ntfs-3g
target Symbolic: ntfsfix (/home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/symbols/system/bin/ntfsfix)
target Executable: ping (/home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/EXECUTABLES/ping_intermediates/LINKED/ping)
target SharedLib: librilutils (/home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/SHARED_LIBRARIES/librilutils_intermediates/LINKED/librilutils.so)
target Executable: schedtest (/home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/EXECUTABLES/schedtest_intermediates/LINKED/schedtest)
target Executable: sdcard (/home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/EXECUTABLES/sdcard_intermediates/LINKED/sdcard)
target Executable: set_ext4_err_bit (/home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/EXECUTABLES/set_ext4_err_bit_intermediates/LINKED/set_ext4_err_bit)
Symlink: /home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/system/bin/sh -> mksh
target Executable: showlease (/home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/EXECUTABLES/showlease_intermediates/LINKED/showlease)
target Executable: tc (/home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/EXECUTABLES/tc_intermediates/LINKED/tc)
target StaticExecutable: su (/home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/EXECUTABLES/su_intermediates/LINKED/su)
target Jar: apache-xml (/home/davidvaz/android/rom/CyanogenMod/out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/javalib.jar)
Copying: /home/davidvaz/android/rom/CyanogenMod/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/noproguard.classes.jar
target Dex: okhttp
target SharedLib: libstagefright_amrnb_common (/home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/SHARED_LIBRARIES/libstagefright_amrnb_common_intermediates/LINKED/libstagefright_amrnb_common.so)
mkdir -p /home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/STATIC_LIBRARIES/ui_gl_gl_gyp_intermediates; cp /home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/GYP/shared_intermediates/ui/gl/gl_bindings_autogen_gl.cc /home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/STATIC_LIBRARIES/ui_gl_gl_gyp_intermediates/gl_bindings_autogen_gl.cc
mkdir -p /home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/STATIC_LIBRARIES/ui_gl_gl_gyp_intermediates; cp /home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/GYP/shared_intermediates/ui/gl/gl_bindings_autogen_mock.cc /home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/STATIC_LIBRARIES/ui_gl_gl_gyp_intermediates/gl_bindings_autogen_mock.cc
mkdir -p /home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/STATIC_LIBRARIES/ui_gl_gl_gyp_intermediates; cp /home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/GYP/shared_intermediates/ui/gl/gl_bindings_autogen_osmesa.cc /home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/STATIC_LIBRARIES/ui_gl_gl_gyp_intermediates/gl_bindings_autogen_osmesa.cc
mkdir -p /home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/STATIC_LIBRARIES/ui_gl_gl_gyp_intermediates; cp /home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/GYP/shared_intermediates/ui/gl/gl_bindings_autogen_egl.cc /home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/STATIC_LIBRARIES/ui_gl_gl_gyp_intermediates/gl_bindings_autogen_egl.cc
target thumb C++: v8_tools_gyp_v8_snapshot_gyp <= /home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/STATIC_LIBRARIES/v8_tools_gyp_v8_snapshot_gyp_intermediates/libraries.cc
target thumb C++: v8_tools_gyp_v8_snapshot_gyp <= /home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/STATIC_LIBRARIES/v8_tools_gyp_v8_snapshot_gyp_intermediates/experimental-libraries.cc
target thumb C++: v8_tools_gyp_v8_snapshot_gyp <= /home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/STATIC_LIBRARIES/v8_tools_gyp_v8_snapshot_gyp_intermediates/snapshot.cc
target thumb C++: v8_tools_gyp_v8_snapshot_gyp <= /home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/STATIC_LIBRARIES/v8_tools_gyp_v8_snapshot_gyp_intermediates/i18n-libraries.cc
target thumb C++: audio.primary.msm7x27a <= device/huawei/u8833/audio/AudioHardware_cad.cpp
In file included from device/huawei/u8833/audio/AudioHardware_cad.cpp:39:0:
device/huawei/u8833/audio/AudioHardware.h:71:0: warning: "SRS_DISABLE" redefined [enabled by default]
In file included from device/huawei/u8833/audio/AudioHardware.h:32:0,
from device/huawei/u8833/audio/AudioHardware_cad.cpp:39:
device/huawei/msm7x27a-common/include/linux/msm_audio.h:140:0: note: this is the location of the previous definition
In file included from device/huawei/u8833/audio/AudioHardware_cad.cpp:39:0:
device/huawei/u8833/audio/AudioHardware.h: In constructor 'android_audio_legacy::AudioHardware::AudioHardware()':
device/huawei/u8833/audio/AudioHardware.h:622:25: warning: 'android_audio_legacy::AudioHardware::mTtyMode' will be initialized after [-Wreorder]
device/huawei/u8833/audio/AudioHardware.h:603:37: warning: 'android_audio_legacy::AudioHardware::AudioStreamOutMSM72xx* android_audio_legacy::AudioHardware::mOutput' [-Wreorder]
device/huawei/u8833/audio/AudioHardware_cad.cpp:154:1: warning: when initialized here [-Wreorder]
In file included from device/huawei/u8833/audio/AudioHardware_cad.cpp:39:0:
device/huawei/u8833/audio/AudioHardware.h:603:37: warning: 'android_audio_legacy::AudioHardware::mOutput' will be initialized after [-Wreorder]
device/huawei/u8833/audio/AudioHardware.h:601:25: warning: 'bool android_audio_legacy::AudioHardware::mBluetoothVGS' [-Wreorder]
device/huawei/u8833/audio/AudioHardware_cad.cpp:154:1: warning: when initialized here [-Wreorder]
In file included from device/huawei/u8833/audio/AudioHardware_cad.cpp:39:0:
device/huawei/u8833/audio/AudioHardware.h:626:18: warning: 'android_audio_legacy::AudioHardware::mVoipOutActive' will be initialized after [-Wreorder]
device/huawei/u8833/audio/AudioHardware.h:605:36: warning: 'android_audio_legacy::AudioHardware::AudioStreamOutDirect* android_audio_legacy::AudioHardware::mDirectOutput' [-Wreorder]
device/huawei/u8833/audio/AudioHardware_cad.cpp:154:1: warning: when initialized here [-Wreorder]
device/huawei/u8833/audio/AudioHardware_cad.cpp: In member function 'virtual android::status_t android_audio_legacy::AudioHardware::setParameters(const android::String8&)':
device/huawei/u8833/audio/AudioHardware_cad.cpp:618:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
device/huawei/u8833/audio/AudioHardware_cad.cpp: In member function 'uint32_t android_audio_legacy::AudioHardware::getMvsMode(int)':
device/huawei/u8833/audio/AudioHardware_cad.cpp:645:10: error: 'EVRC' is not a member of 'android_audio_legacy::AudioSystem'
device/huawei/u8833/audio/AudioHardware_cad.cpp:648:10: error: 'EVRCB' is not a member of 'android_audio_legacy::AudioSystem'
device/huawei/u8833/audio/AudioHardware_cad.cpp:651:10: error: 'EVRCWB' is not a member of 'android_audio_legacy::AudioSystem'
device/huawei/u8833/audio/AudioHardware_cad.cpp: In member function 'virtual size_t android_audio_legacy::AudioHardware::getInputBufferSize(uint32_t, int, int)':
device/huawei/u8833/audio/AudioHardware_cad.cpp:872:21: error: 'EVRC' is not a member of 'android_audio_legacy::AudioSystem'
device/huawei/u8833/audio/AudioHardware_cad.cpp:873:21: error: 'EVRCB' is not a member of 'android_audio_legacy::AudioSystem'
device/huawei/u8833/audio/AudioHardware_cad.cpp:874:21: error: 'EVRCWB' is not a member of 'android_audio_legacy::AudioSystem'
device/huawei/u8833/audio/AudioHardware_cad.cpp:875:21: error: 'QCELP' is not a member of 'android_audio_legacy::AudioSystem'
device/huawei/u8833/audio/AudioHardware_cad.cpp:887:24: error: 'EVRC' is not a member of 'android_audio_legacy::AudioSystem'
device/huawei/u8833/audio/AudioHardware_cad.cpp:889:24: error: 'QCELP' is not a member of 'android_audio_legacy::AudioSystem'
device/huawei/u8833/audio/AudioHardware_cad.cpp: In member function 'virtual android::status_t android_audio_legacy::AudioHardware::setVoiceVolume(float)':
device/huawei/u8833/audio/AudioHardware_cad.cpp:956:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
device/huawei/u8833/audio/AudioHardware_cad.cpp:956:98: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
device/huawei/u8833/audio/AudioHardware_cad.cpp: In function 'android::status_t android_audio_legacy::do_route_audio_rpc(uint32_t, bool, bool, int)':
device/huawei/u8833/audio/AudioHardware_cad.cpp:1116:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
device/huawei/u8833/audio/AudioHardware_cad.cpp:1116:65: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
device/huawei/u8833/audio/AudioHardware_cad.cpp: In member function 'android::status_t android_audio_legacy::AudioHardware::doRouting(android_audio_legacy::AudioHardware::AudioStreamInMSM72xx*, int)':
device/huawei/u8833/audio/AudioHardware_cad.cpp:1336:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
device/huawei/u8833/audio/AudioHardware_cad.cpp:1339:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
device/huawei/u8833/audio/AudioHardware_cad.cpp: In member function 'android::status_t android_audio_legacy::AudioHardware::AudioStreamInVoip::set(android_audio_legacy::AudioHardware*, uint32_t, int*, uint32_t*, uint32_t*, android_audio_legacy::AudioSystem::audio_in_acoustics)':
device/huawei/u8833/audio/AudioHardware_cad.cpp:1544:63: warning: comparison is always false due to limited range of data type [-Wtype-limits]
device/huawei/u8833/audio/AudioHardware_cad.cpp: In member function 'virtual ssize_t android_audio_legacy::AudioHardware::AudioStreamInVoip::read(void*, ssize_t)':
device/huawei/u8833/audio/AudioHardware_cad.cpp:1716:34: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
In file included from device/huawei/u8833/audio/AudioHardware_cad.cpp:39:0:
device/huawei/u8833/audio/AudioHardware.h: In constructor 'android_audio_legacy::AudioHardware::AudioStreamOutDirect::AudioStreamOutDirect()':
device/huawei/u8833/audio/AudioHardware.h:345:29: warning: 'android_audio_legacy::AudioHardware::AudioStreamOutDirect::mStartCount' will be initialized after [-Wreorder]
device/huawei/u8833/audio/AudioHardware.h:344:29: warning: 'int android_audio_legacy::AudioHardware::AudioStreamOutDirect::mRetryCount' [-Wreorder]
device/huawei/u8833/audio/AudioHardware_cad.cpp:2083:1: warning: when initialized here [-Wreorder]
device/huawei/u8833/audio/AudioHardware_cad.cpp: In member function 'android::status_t android_audio_legacy::AudioHardware::AudioStreamOutDirect::set(android_audio_legacy::AudioHardware*, uint32_t, int*, uint32_t*, uint32_t*)':
device/huawei/u8833/audio/AudioHardware_cad.cpp:2099:63: warning: comparison is always false due to limited range of data type [-Wtype-limits]
device/huawei/u8833/audio/AudioHardware_cad.cpp: In member function 'virtual ssize_t android_audio_legacy::AudioHardware::AudioStreamOutDirect::write(const void*, size_t)':
device/huawei/u8833/audio/AudioHardware_cad.cpp:2247:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
device/huawei/u8833/audio/AudioHardware_cad.cpp: In member function 'android::status_t android_audio_legacy::AudioHardware::AudioStreamInMSM72xx::set(android_audio_legacy::AudioHardware*, uint32_t, int*, uint32_t*, uint32_t*, android_audio_legacy::AudioSystem::audio_in_acoustics)':
[B]device/huawei/u8833/audio/AudioHardware_cad.cpp:2403:23: error: 'EVRC' is not a member of 'android_audio_legacy::AudioSystem'
device/huawei/u8833/audio/AudioHardware_cad.cpp:2404:23: error: 'QCELP' is not a member of 'android_audio_legacy::AudioSystem'
device/huawei/u8833/audio/AudioHardware_cad.cpp:2496:27: error: 'EVRC' is not a member of 'android_audio_legacy::AudioSystem'
device/huawei/u8833/audio/AudioHardware_cad.cpp:2497:27: error: 'QCELP' is not a member of 'android_audio_legacy::AudioSystem'
device/huawei/u8833/audio/AudioHardware_cad.cpp:2559:14: error: 'EVRC' is not a member of 'android_audio_legacy::AudioSystem'
device/huawei/u8833/audio/AudioHardware_cad.cpp:2566:21: error: 'EVRC' is not a member of 'android_audio_legacy::AudioSystem'
device/huawei/u8833/audio/AudioHardware_cad.cpp:2571:14: error: 'QCELP' is not a member of 'android_audio_legacy::AudioSystem'
device/huawei/u8833/audio/AudioHardware_cad.cpp:2578:21: error: 'QCELP' is not a member of 'android_audio_legacy::AudioSystem'[/B]
device/huawei/u8833/audio/AudioHardware_cad.cpp: In constructor 'android_audio_legacy::AudioHardware::AudioSessionOutLPA::AudioSessionOutLPA(android_audio_legacy::AudioHardware*, uint32_t, int, uint32_t, uint32_t, int, android::status_t*)':
device/huawei/u8833/audio/AudioHardware_cad.cpp:2704:27: warning: converting to non-pointer type 'pthread_t {aka long int}' from NULL [-Wconversion-null]
device/huawei/u8833/audio/AudioHardware_cad.cpp: In member function 'virtual size_t android_audio_legacy::AudioHardware::getInputBufferSize(uint32_t, int, int)':
[B]device/huawei/u8833/audio/AudioHardware_cad.cpp:901:1: error: control reaches end of non-void function [-Werror=return-type][/B]
[B]cc1plus: some warnings being treated as errors
make: *** [/home/davidvaz/android/rom/CyanogenMod/out/target/product/u8951/obj/SHARED_LIBRARIES/audio.primary.msm7x27a_intermediates/AudioHardware_cad.o] Error 1
make: *** Waiting for unfinished jobs....[/B]
[email protected] ~/android/rom/CyanogenMod $
Any help to me?? Thanks :good::good:

If you ask this question here: http://forum.xda-developers.com/showthread.php?p=46998543
That would be way better than making a new thread. A lot of knowledgeable people are there, while not everyone scours the forums to help people.
Sent from my Nexus 4 using Tapatalk

SMillerNL said:
If you ask this question here: http://forum.xda-developers.com/showthread.php?p=46998543
That would be way better than making a new thread. A lot of knowledgeable people are there, while not everyone scours the forums to help people.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Posted on the other thread k:
Thanks :good:

Related

CM9 liboverlay compile error

HI, I'm trying to compile CM9, but I always get this error:
Code:
target thumb C: libmm-omxcore <= vendor/qcom/opensource/omx/mm-core/omxcore/src/common/qc_omx_core.c
target thumb C: libmm-omxcore <= vendor/qcom/opensource/omx/mm-core/omxcore/src/7627/qc_registry_table.c
In file included from vendor/qcom/opensource/omx/mm-core/omxcore/inc/qc_omx_common.h:43,
from vendor/qcom/opensource/omx/mm-core/omxcore/src/common/qc_omx_core.h:39,
from vendor/qcom/opensource/omx/mm-core/omxcore/src/common/qc_omx_core.c:48:
vendor/qcom/opensource/omx/mm-core/omxcore/inc/OMX_QCOMExtns.h:846: warning: useless storage class specifier in empty declaration
vendor/qcom/opensource/omx/mm-core/omxcore/src/common/qc_omx_core.c: In function 'OMX_FreeHandle':
vendor/qcom/opensource/omx/mm-core/omxcore/src/common/qc_omx_core.c:511: warning: comparison between signed and unsigned integer expressions
In file included from vendor/qcom/opensource/omx/mm-core/omxcore/inc/qc_omx_common.h:43,
from vendor/qcom/opensource/omx/mm-core/omxcore/src/common/qc_omx_core.h:39,
from vendor/qcom/opensource/omx/mm-core/omxcore/src/7627/qc_registry_table.c:36:
vendor/qcom/opensource/omx/mm-core/omxcore/inc/OMX_QCOMExtns.h:846: warning: useless storage class specifier in empty declaration
target thumb C++: liboverlay <= hardware/qcom/display/liboverlay/overlayLib.cpp
target thumb C++: liboverlay <= hardware/qcom/display/liboverlay/overlayLibUI.cpp
target thumb C: libpagemap <= system/extras/libpagemap/pm_kernel.c
hardware/qcom/display/liboverlay/overlayLib.cpp:129:1: warning: "LOG_TAG" redefined
In file included from hardware/qcom/display/liboverlay/overlayLib.h:21,
from hardware/qcom/display/liboverlay/overlayLib.cpp:18:
system/core/include/cutils/log.h:68:1: warning: this is the location of the previous definition
hardware/qcom/display/liboverlay/overlayLibUI.cpp:20:1: warning: "LOG_TAG" redefined
In file included from hardware/qcom/display/liboverlay/overlayLib.h:21,
from hardware/qcom/display/liboverlay/overlayLibUI.h:23,
from hardware/qcom/display/liboverlay/overlayLibUI.cpp:18:
system/core/include/cutils/log.h:68:1: warning: this is the location of the previous definition
In file included from hardware/qcom/display/liboverlay/overlayLibUI.h:23,
from hardware/qcom/display/liboverlay/overlayLibUI.cpp:18:
hardware/qcom/display/liboverlay/overlayLib.h: In constructor 'overlay::FrameBufferInfo::FrameBufferInfo()':
hardware/qcom/display/liboverlay/overlayLib.h:182: error: 'MDP_BORDERFILL_SUPPORTED' was not declared in this scope
In file included from hardware/qcom/display/liboverlay/overlayLib.cpp:18:
hardware/qcom/display/liboverlay/overlayLib.h: In constructor 'overlay::FrameBufferInfo::FrameBufferInfo()':
hardware/qcom/display/liboverlay/overlayLib.h:182: error: 'MDP_BORDERFILL_SUPPORTED' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLibUI.h: In constructor 'overlay::OverlayUI::OverlayUI()':
hardware/qcom/display/liboverlay/overlayLibUI.h:101: warning: 'overlay::OverlayUI::mFBNum' will be initialized after
hardware/qcom/display/liboverlay/overlayLibUI.h:99: warning: 'int overlay::OverlayUI::mZorder'
hardware/qcom/display/liboverlay/overlayLibUI.cpp:217: warning: when initialized here
hardware/qcom/display/liboverlay/overlayLibUI.cpp: In member function 'void overlay::OverlayUI::setDisplayParams(int, bool, bool, int, bool)':
hardware/qcom/display/liboverlay/overlayLibUI.cpp:269: error: 'MDP_BACKEND_COMPOSITION' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp: In function 'int overlay::initOverlay()':
hardware/qcom/display/liboverlay/overlayLib.cpp:377: error: 'msmfb_mixer_info_req' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:377: error: expected ';' before 'req'
hardware/qcom/display/liboverlay/overlayLib.cpp:378: error: 'mdp_mixer_info' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:378: error: 'minfo' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:390: error: 'req' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:391: error: 'MSMFB_MIXER_INFO' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLibUI.cpp: In member function 'overlay::status_t overlay::OverlayUI::closeOVSession()':
hardware/qcom/display/liboverlay/overlayLibUI.cpp:430: warning: suggest parentheses around assignment used as truth value
make: *** [out/target/product/tass/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlayLibUI.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/qcom/display/liboverlay/overlayLib.cpp: In member function 'void overlay::OverlayControlChannel::setInformationFromFlags(int, mdp_overlay&)':
hardware/qcom/display/liboverlay/overlayLib.cpp:1296: error: 'MDP_SECURE_OVERLAY_SESSION' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:1298: error: 'MDP_SECURE_OVERLAY_SESSION' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:1301: error: 'MDP_SHARPENING' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp: In member function 'bool overlay::OverlayControlChannel::closeControlChannel()':
hardware/qcom/display/liboverlay/overlayLib.cpp:1497: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/liboverlay/overlayLib.cpp: In member function 'bool overlay::OverlayControlChannel::setPosition(int, int, uint32_t, uint32_t)':
hardware/qcom/display/liboverlay/overlayLib.cpp:1532: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/liboverlay/overlayLib.cpp:1533: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/liboverlay/overlayLib.cpp:1539: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/liboverlay/overlayLib.cpp:1539: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/liboverlay/overlayLib.cpp: In member function 'bool overlay::OverlayControlChannel::setTransform(int, bool)':
hardware/qcom/display/liboverlay/overlayLib.cpp:1611: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/liboverlay/overlayLib.cpp: In member function 'bool overlay::OverlayControlChannel::setVisualParam(int8_t, float)':
hardware/qcom/display/liboverlay/overlayLib.cpp:2250: error: 'MDP_BLOCK_MAX' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:2256: error: 'MDP_BLOCK_VG_1' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:2260: error: 'MDP_BLOCK_VG_2' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:2284: error: 'MDP_SHARPENING' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:2292: error: 'MDP_SHARPENING' was not declared in this scope
make: *** [out/target/product/tass/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlayLib.o] Error 1
What could be wrong?

Compiling hardware/samsung/libalsa-intf/amix.c for i9505 on 10.1

On compiling hardware/samsung/libalsa-intf/amix.c for my i9505 (UT based on cm 10.1) i got this
Code:
target thumb C: alsaucm_test <= hardware/samsung/libalsa-intf/alsaucm_test.c
target thumb C: libalsa-intf <= hardware/samsung/libalsa-intf/alsa_mixer.c
target thumb C: libalsa-intf <= hardware/samsung/libalsa-intf/alsa_pcm.c
target thumb C: libalsa-intf <= hardware/samsung/libalsa-intf/alsa_ucm.c
target thumb C: amix <= hardware/samsung/libalsa-intf/amix.c
target thumb C: aplay <= hardware/samsung/libalsa-intf/aplay.c
target Symbolic: applypatch (/home/ggrnd0/.ubuntu-touch/i9505/src/phablet-dev-bootstrap/001/out/target/product/jfltexx/symbols/system/bin/applypatch)
target thumb C: arec <= hardware/samsung/libalsa-intf/arec.c
hardware/samsung/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_get':
hardware/samsung/libalsa-intf/alsa_mixer.c:403:5: error: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Werror=pointer-sign]
hardware/samsung/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
hardware/samsung/libalsa-intf/alsa_mixer.c:409:5: error: passing argument 5 of 'mixer_ctl_read_tlv' from incompatible pointer type [-Werror]
hardware/samsung/libalsa-intf/alsa_mixer.c:311:5: note: expected 'unsigned int *' but argument is of type 'unsigned int **'
hardware/samsung/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_mulvalues':
hardware/samsung/libalsa-intf/alsa_mixer.c:546:15: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:546:43: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_set':
hardware/samsung/libalsa-intf/alsa_mixer.c:601:5: error: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Werror=pointer-sign]
hardware/samsung/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
hardware/samsung/libalsa-intf/alsa_mixer.c:615:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:615:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:615:27: error: signed and unsigned type in conditional expression [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:615:27: error: signed and unsigned type in conditional expression [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:621:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:621:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:621:27: error: signed and unsigned type in conditional expression [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:621:27: error: signed and unsigned type in conditional expression [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c: In function 'set_volume_simple':
hardware/samsung/libalsa-intf/alsa_mixer.c:721:15: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:721:43: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_set_value':
hardware/samsung/libalsa-intf/alsa_mixer.c:771:5: error: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Werror=pointer-sign]
hardware/samsung/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
hardware/samsung/libalsa-intf/alsa_pcm.c: In function 'dst_address':
hardware/samsung/libalsa-intf/alsa_pcm.c:540:22: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
hardware/samsung/libalsa-intf/alsa_pcm.c: In function 'mmap_transfer_capture':
hardware/samsung/libalsa-intf/alsa_pcm.c:599:26: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
cc1: all warnings being treated as errors
hardware/samsung/libalsa-intf/alsa_pcm.c: In function 'pcm_write_mmap':
hardware/samsung/libalsa-intf/alsa_pcm.c:659:24: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_pcm.c: In function 'enable_timer':
hardware/samsung/libalsa-intf/alsa_pcm.c:798:8: error: return makes integer from pointer without a cast [-Werror]
hardware/samsung/libalsa-intf/alsa_pcm.c:827:11: error: return makes integer from pointer without a cast [-Werror]
target thumb C++: audiod <= hardware/samsung/audiod/audiod_main.cpp
make: *** [/home/ggrnd0/.ubuntu-touch/i9505/src/phablet-dev-bootstrap/001/out/target/product/jfltexx/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_mixer.o] Ошибка 1
make: *** Ожидание завершения заданий...
hardware/samsung/libalsa-intf/alsa_pcm.c: In function 'pcm_open':
hardware/samsung/libalsa-intf/alsa_pcm.c:910:9: error: return makes pointer from integer without a cast [-Werror]
hardware/samsung/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_get_list':
hardware/samsung/libalsa-intf/alsa_ucm.c:131:15: error: assignment from incompatible pointer type [-Werror]
hardware/samsung/libalsa-intf/alsa_ucm.c:155:15: error: assignment from incompatible pointer type [-Werror]
hardware/samsung/libalsa-intf/alsa_ucm.c:179:15: error: assignment from incompatible pointer type [-Werror]
hardware/samsung/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_apply_mixer_controls':
hardware/samsung/libalsa-intf/alsa_ucm.c:942:65: error: comparison between pointer and integer [-Werror]
cc1: all warnings being treated as errors
make: *** [/home/ggrnd0/.ubuntu-touch/i9505/src/phablet-dev-bootstrap/001/out/target/product/jfltexx/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_pcm.o] Ошибка 1
hardware/samsung/libalsa-intf/aplay.c:58:8: error: type defaults to 'int' in declaration of 'pcm_flag' [-Werror=implicit-int]
hardware/samsung/libalsa-intf/aplay.c:59:8: error: type defaults to 'int' in declaration of 'debug' [-Werror=implicit-int]
hardware/samsung/libalsa-intf/aplay.c: In function 'play_file':
hardware/samsung/libalsa-intf/aplay.c:255:5: error: passing argument 2 of 'pcm_open' discards 'const' qualifier from pointer target type [-Werror]
In file included from hardware/samsung/libalsa-intf/aplay.c:34:0:
hardware/samsung/libalsa-intf/alsa_audio.h:132:13: note: expected 'char *' but argument is of type 'const char *'
hardware/samsung/libalsa-intf/aplay.c:256:13: error: ordered comparison of pointer with integer zero [-Werror=extra]
hardware/samsung/libalsa-intf/aplay.c:257:9: error: return makes integer from pointer without a cast [-Werror]
hardware/samsung/libalsa-intf/aplay.c:378:24: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/aplay.c:390:18: error: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'u_int8_t *' [-Werror=format]
hardware/samsung/libalsa-intf/aplay.c:391:18: error: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Werror=format]
hardware/samsung/libalsa-intf/aplay.c:391:18: error: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Werror=format]
hardware/samsung/libalsa-intf/aplay.c:405:36: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/aplay.c:410:14: error: format '%d' expects argument of type 'int', but argument 3 has type 'u_int8_t *' [-Werror=format]
hardware/samsung/libalsa-intf/aplay.c:524:31: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/aplay.c:541:35: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/aplay.c: In function 'main':
hardware/samsung/libalsa-intf/aplay.c:750:37: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/aplay.c:752:15: error: comparison is always false due to limited range of data type [-Werror=type-limits]
hardware/samsung/libalsa-intf/alsa_ucm.c: In function 'free_list':
hardware/samsung/libalsa-intf/alsa_ucm.c:3886:28: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_ucm.c:3904:28: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
cc1: all warnings being treated as errors
make: *** [/home/ggrnd0/.ubuntu-touch/i9505/src/phablet-dev-bootstrap/001/out/target/product/jfltexx/obj/EXECUTABLES/aplay_intermediates/aplay.o] Ошибка 1
hardware/samsung/libalsa-intf/arec.c:55:8: error: type defaults to 'int' in declaration of 'debug' [-Werror=implicit-int]
hardware/samsung/libalsa-intf/arec.c:56:8: error: type defaults to 'int' in declaration of 'pcm_flag' [-Werror=implicit-int]
hardware/samsung/libalsa-intf/arec.c:57:8: error: type defaults to 'int' in declaration of 'duration' [-Werror=implicit-int]
hardware/samsung/libalsa-intf/arec.c: In function 'record_file':
hardware/samsung/libalsa-intf/arec.c:212:5: error: passing argument 2 of 'pcm_open' discards 'const' qualifier from pointer target type [-Werror]
In file included from hardware/samsung/libalsa-intf/arec.c:37:0:
hardware/samsung/libalsa-intf/alsa_audio.h:132:13: note: expected 'char *' but argument is of type 'const char *'
hardware/samsung/libalsa-intf/arec.c:351:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/arec.c:355:30: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/arec.c:381:52: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/arec.c:405:30: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/arec.c:423:32: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/arec.c:435:30: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
cc1: all warnings being treated as errors
make: *** [/home/ggrnd0/.ubuntu-touch/i9505/src/phablet-dev-bootstrap/001/out/target/product/jfltexx/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_ucm.o] Ошибка 1
cc1: all warnings being treated as errors
make: *** [/home/ggrnd0/.ubuntu-touch/i9505/src/phablet-dev-bootstrap/001/out/target/product/jfltexx/obj/EXECUTABLES/arec_intermediates/arec.o] Ошибка 1
Downloading ubuntu-touch-generic-initrd version 0.56
8395 блок
make: *** wait: Нет дочерних процессов. Останов.
what is error reason? and how to solve this??
My .repo/local_manifests/roomservice.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_samsung_jfltexx" path="device/samsung/jfltexx" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_device_samsung_qcom-common" path="device/samsung/qcom-common" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_device_samsung_msm8960-common" path="device/samsung/msm8960-common" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_device_samsung_jf-common" path="device/samsung/jf-common" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_kernel_samsung_jf" path="kernel/samsung/jf" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_hardware_qcom_audio-caf" path="hardware/samsung" remote="github" revision="cm-10.1" />
</manifest>
Could you post compilation line comand?

[Q]Xiaomi Red rice 1S. Problems with cm11

Hello.
I want create cm11 for red rice 1s and i have this error
Code:
target thumb C: tc <= external/iproute2/tc/q_prio.c
external/iproute2/tc/q_prio.c: In function 'prio_parse_opt':
external/iproute2/tc/q_prio.c:35:9: warning: excess elements in struct initializer [enabled by default]
external/iproute2/tc/q_prio.c:35:9: warning: (near initialization for 'opt') [enabled by default]
external/iproute2/tc/q_prio.c:60:8: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
external/iproute2/tc/q_prio.c:64:8: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
external/iproute2/tc/q_prio.c:85:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/iproute2/tc/q_prio.c:31:46: warning: unused parameter 'qu' [-Wunused-parameter]
external/iproute2/tc/q_prio.c: In function 'prio_print_opt':
external/iproute2/tc/q_prio.c:133:30: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
make: *** [/home/lenovo/cm11/out/target/product/armani/obj/EXECUTABLES/tc_intermediates/q_prio.o] Ошибка 1
maybe somebody can help me?

CyanogenMod 12 on galaxy player 4.0

Simce the galaxy player 4.0 has official cm11 support, i was wondering how hard would it be to port cm12 to the galaxy player 4.0? I tried to compile cm12 from source. I used beblos's ypg1 cm11 device tree/kernel, but compiling failed.
Code:
bootable/recovery/minadbd/services.c: In function 'sideload_host_service':
bootable/recovery/minadbd/services.c:55:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint32_t' [-Wformat=]
printf("sideload-host file size %llu block size %lu\n", file_size, block_size);
^
target thumb C: libminadbd <= bootable/recovery/minadbd/usb_linux_client.c
target thumb C: libminadbd <= bootable/recovery/minadbd/utils.c
target thumb C: libfusesideload <= bootable/recovery/fuse_sideload.c
make: *** No rule to make target `/home/owner/android/system/out/target/product/ypg1/utilities/flash_image', needed by `TARGET_KERNEL_BINARIES'. Stop.
make: *** Waiting for unfinished jobs....
host Java: dumpkey (/home/owner/android/system/out/host/common/obj/JAVA_LIBRARIES/dumpkey_intermediates/classes)
bootable/recovery/fuse_sideload.c: In function 'fuse_reply':
bootable/recovery/fuse_sideload.c:108:21: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
vec[1].iov_base = data;
^
this is where it initally fails.
Sent from my GT-P3110 using Tapatalk
dorfd1 said:
Simce the galaxy player 4.0 has official cm11 support, i was wondering how hard would it be to port cm12 to the galaxy player 4.0? I tried to compile cm12 from source. I used beblos's ypg1 cm11 device tree/kernel, but compiling failed.
Code:
bootable/recovery/minadbd/services.c: In function 'sideload_host_service':
bootable/recovery/minadbd/services.c:55:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint32_t' [-Wformat=]
printf("sideload-host file size %llu block size %lu\n", file_size, block_size);
^
target thumb C: libminadbd <= bootable/recovery/minadbd/usb_linux_client.c
target thumb C: libminadbd <= bootable/recovery/minadbd/utils.c
target thumb C: libfusesideload <= bootable/recovery/fuse_sideload.c
make: *** No rule to make target `/home/owner/android/system/out/target/product/ypg1/utilities/flash_image', needed by `TARGET_KERNEL_BINARIES'. Stop.
make: *** Waiting for unfinished jobs....
host Java: dumpkey (/home/owner/android/system/out/host/common/obj/JAVA_LIBRARIES/dumpkey_intermediates/classes)
bootable/recovery/fuse_sideload.c: In function 'fuse_reply':
bootable/recovery/fuse_sideload.c:108:21: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
vec[1].iov_base = data;
^
this is where it initally fails.
Sent from my GT-P3110 using Tapatalk
Click to expand...
Click to collapse
It looks like the "utilities" in the out dir has moved... Look inside "symbols" in the out dir and change your code accordingly
I do not have a symbols folder
dorfd1 said:
I do not have a symbols folder
Click to expand...
Click to collapse
It should be here: /home/owner/android/system/out/target/product/ypg1/symbols
If it's not there then, probably, none of the symbols have been built yet.
You probably need to modify your shbootimg.mk in your device tree.
If you have $(PRODUCT_OUT)/utilities/flash_image you probably need to change it to $(PRODUCT_OUT)/symbols/system/bin/flash_image ...
This is just a guess though... but I've had similar problems with CM12 on venturi...
Meticulus said:
It should be here: /home/owner/android/system/out/target/product/ypg1/symbols
If it's not there then, probably, none of the symbols have been built yet.
You probably need to modify your shbootimg.mk in your device tree.
If you have $(PRODUCT_OUT)/utilities/flash_image you probably need to change it to $(PRODUCT_OUT)/symbols/system/bin/flash_image ...
This is just a guess though... but I've had similar problems with CM12 on venturi...
Click to expand...
Click to collapse
I did the changes and I will try to compile again later. Thanks for your help.
Code:
LOCAL_PATH := $(call my-dir)
# Uncompress ramdisk.img to avoid double compression
uncompressed_ramdisk := $(PRODUCT_OUT)/ramdisk.cpio
$(uncompressed_ramdisk): $(INSTALLED_RAMDISK_TARGET)
$(MINIGZIP) -d < $(INSTALLED_RAMDISK_TARGET) > [email protected]
# Add ramdisk dependencies to kernel
TARGET_KERNEL_BINARIES: $(recovery_ramdisk) $(uncompressed_ramdisk) $(PRODUCT_OUT)/symbols/system/bin/flash_image $(PRODUCT_OUT)/utilities/busybox $(PRODUCT_OUT)/symbols/system/bin/make_ext4fs $(PRODUCT_OUT)/utilities/erase_image $(PRODUCT_OUT)/symbols/system/bin/bml_over_mtd
#
INSTALLED_BOOTIMAGE_TARGET := $(PRODUCT_OUT)/boot.img
$(INSTALLED_BOOTIMAGE_TARGET): $(INSTALLED_KERNEL_TARGET)
$(call pretty,"Boot image: [email protected]")
$(hide) $(ACP) $(INSTALLED_KERNEL_TARGET) [email protected]
$(INSTALLED_RECOVERYIMAGE_TARGET): $(INSTALLED_BOOTIMAGE_TARGET)
$(ACP) $(INSTALLED_BOOTIMAGE_TARGET) [email protected]
my shbootimg.mk
Code:
Export includes file: system/core/adf/libadf/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libadf_intermediates/export_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libadf_intermediates/import_includes
Export includes file: external/zlib/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libz_intermediates/export_includes
Export includes file: system/core/libbacktrace/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libbacktrace_intermediates/export_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libz_intermediates/import_includes
Export includes file: external/stlport/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libstlport_intermediates/export_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libstdc++_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libsuspend_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libhealthd.default_intermediates/import_includes
Export includes file: system/core/healthd/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/EXECUTABLES/healthd_intermediates/export_includes
Notice file: external/libpng/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//system/lib/libpng.a.txt
Notice file: external/zlib/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//system/lib/libz.a.txt
Notice file: system/core/libutils/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//system/lib/libutils.a.txt
Notice file: bionic/libc/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//system/lib/libstdc++.a.txt
Export includes file: external/f2fs-tools/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libf2fs_fmt_intermediates/export_includes
Export includes file: external/e2fsprogs/lib/uuid/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libext2_uuid_static_intermediates/export_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libf2fs_fmt_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libext2_uuid_static_intermediates/import_includes
Export includes file: external/f2fs-tools/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/EXECUTABLES/mkfs.f2fs_intermediates/export_includes
Notice file: external/f2fs-tools/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//root/sbin/mkfs.f2fs.txt
Notice file: external/f2fs-tools/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//system/lib/libf2fs_fmt.a.txt
Import includes file: /home/owner/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkseapp_intermediates/import_includes
Export includes file: external/sepolicy/tools/Android.mk -- /home/owner/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkseapp_intermediates/export_includes
Notice file: external/sepolicy/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//root/seapp_contexts.txt
Notice file: external/sepolicy/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//root/selinux_version.txt
Notice file: external/sepolicy/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//root/sepolicy.txt
Notice file: external/sepolicy/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//root/service_contexts.txt
make: Circular /home/owner/android/system/out/target/product/ypg1/ramdisk-recovery.img <- /home/owner/android/system/out/target/product/ypg1/boot.img dependency dropped.
Target buildinfo: /home/owner/android/system/out/target/product/ypg1/root/default.prop
Export includes file: bootable/recovery/minzip/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libminzip_intermediates/export_includes
build/tools/post_process_props.py /home/owner/android/system/out/target/product/ypg1/root/default.prop
Export includes file: bootable/recovery/mtdutils/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libmtdutils_intermediates/export_includes
Export includes file: bootable/recovery/minadbd/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libminadbd_intermediates/export_includes
Export includes file: bootable/recovery/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libfusesideload_intermediates/export_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libsparse_static_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libminzip_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libmtdutils_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libminadbd_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libfusesideload_intermediates/import_includes
Export includes file: bootable/recovery/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/EXECUTABLES/recovery_intermediates/export_includes
Target buildinfo: /home/owner/android/system/out/target/product/ypg1/system/build.prop
host Java: bouncycastle-host (/home/owner/android/system/out/host/common/obj/JAVA_LIBRARIES/bouncycastle-host_intermediates/classes)
Target buildinfo from: device/samsung/ypg1/system.prop
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/EXECUTABLES/flash_image_intermediates/import_includes
find: `/home/owner/android/system/out/target/product/ypg1/obj/EXECUTABLES/busybox_intermediates': No such file or directory
Prepare config for busybox binary
make -C external/busybox prepare O=/home/owner/android/system/out/target/product/ypg1/obj/busybox/full
make[1]: Entering directory `/home/owner/android/system/external/busybox'
GEN /home/owner/android/system/out/target/product/ypg1/obj/busybox/full/Makefile
GEN include/applets.h
GEN include/usage.h
GEN networking/Kbuild
GEN networking/Config.in
GEN networking/udhcp/Kbuild
GEN networking/udhcp/Config.in
GEN networking/libiproute/Kbuild
GEN runit/Kbuild
GEN runit/Config.in
GEN sysklogd/Kbuild
GEN sysklogd/Config.in
GEN shell/Kbuild
GEN shell/Config.in
GEN modutils/Kbuild
GEN modutils/Config.in
GEN findutils/Kbuild
GEN findutils/Config.in
GEN debianutils/Kbuild
GEN debianutils/Config.in
GEN loginutils/Kbuild
GEN loginutils/Config.in
GEN procps/Kbuild
GEN procps/Config.in
GEN util-linux/Kbuild
GEN util-linux/Config.in
GEN util-linux/volume_id/Kbuild
GEN util-linux/volume_id/Config.in
GEN miscutils/Kbuild
GEN miscutils/Config.in
GEN libbb/Kbuild
GEN libbb/Config.in
GEN e2fsprogs/Kbuild
GEN e2fsprogs/Config.in
GEN e2fsprogs/old_e2fsprogs/Kbuild
GEN e2fsprogs/old_e2fsprogs/Config.in
GEN e2fsprogs/old_e2fsprogs/ext2fs/Kbuild
GEN e2fsprogs/old_e2fsprogs/uuid/Kbuild
GEN e2fsprogs/old_e2fsprogs/e2p/Kbuild
GEN e2fsprogs/old_e2fsprogs/blkid/Kbuild
GEN editors/Kbuild
GEN editors/Config.in
GEN printutils/Kbuild
GEN printutils/Config.in
GEN mailutils/Kbuild
GEN mailutils/Config.in
GEN applets/Kbuild
GEN libpwdgrp/Kbuild
GEN scripts/Kbuild
GEN console-tools/Kbuild
GEN console-tools/Config.in
GEN coreutils/Kbuild
GEN coreutils/Config.in
GEN coreutils/libcoreutils/Kbuild
GEN archival/Kbuild
GEN archival/Config.in
GEN archival/libarchive/Kbuild
GEN selinux/Kbuild
GEN selinux/Config.in
GEN init/Kbuild
GEN init/Config.in
Using /home/owner/android/system/external/busybox as source for busybox
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
/home/owner/android/system/external/busybox/scripts/basic/split-include.c: In function ‘main’:
/home/owner/android/system/external/busybox/scripts/basic/split-include.c:134:11: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
HOSTCC scripts/basic/docproc
GEN /home/owner/android/system/out/target/product/ypg1/obj/busybox/full/Makefile
HOSTCC scripts/kconfig/conf.o
/home/owner/android/system/external/busybox/scripts/kconfig/conf.c: In function ‘conf_choice’:
/home/owner/android/system/external/busybox/scripts/kconfig/conf.c:354:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
/home/owner/android/system/external/busybox/scripts/kconfig/conf.c: In function ‘conf_askvalue’:
/home/owner/android/system/external/busybox/scripts/kconfig/conf.c:106:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/mconf.o
/home/owner/android/system/external/busybox/scripts/kconfig/mconf.c: In function ‘show_textbox’:
/home/owner/android/system/external/busybox/scripts/kconfig/mconf.c:847:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
/home/owner/android/system/external/busybox/scripts/kconfig/mconf.c: In function ‘exec_conf’:
/home/owner/android/system/external/busybox/scripts/kconfig/mconf.c:481:6: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result]
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s Config.in
#
# using defaults found in .config
#
Export includes file: external/busybox/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libclearsilverregex_intermediates/export_includes
Export includes file: external/busybox/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libuclibcrpc_intermediates/export_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libclearsilverregex_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libuclibcrpc_intermediates/import_includes
Export includes file: external/busybox/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/UTILITY_EXECUTABLES/static_busybox_intermediates/export_includes
Export includes file: system/extras/ext4_utils/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libext4_utils_intermediates/export_includes
Export includes file: external/libselinux/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libselinux_intermediates/export_includes
Export includes file: system/core/libsparse/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libsparse_intermediates/export_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libselinux_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libsparse_intermediates/import_includes
make: *** No rule to make target `/home/owner/android/system/out/target/product/ypg1/utilities/erase_image', needed by `TARGET_KERNEL_BINARIES'. Stop.
make: *** Waiting for unfinished jobs....
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libz_intermediates/import_includes
SPLIT include/autoconf.h -> include/config/*
HOSTCC applets/usage
/home/owner/android/system/external/busybox/applets/usage.c: In function ‘main’:
/home/owner/android/system/external/busybox/applets/usage.c:52:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
HOSTCC applets/applet_tables
GEN include/bbconfigopts.h
/home/owner/android/system/external/busybox/applets/applet_tables.c: In function ‘main’:
/home/owner/android/system/external/busybox/applets/applet_tables.c:144:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
GEN include/usage_compressed.h
GEN include/applet_tables.h
HOSTCC applets/usage_pod
CC applets/applets.o
LD applets/built-in.o
make[1]: Leaving directory `/home/owner/android/system/external/busybox'
@dorfd1 Normally the flash_image get compiled at the same time as building it. My guess it maybe the librairy isn't added yet into the CM tree so what I do as a dirty quickfix is to take a flash_image from somewhere else (I would take it from CM11 builds) and copy it to the /utilities directory.
Forgot to fix this one:
$(PRODUCT_OUT)/utilities/erase_image
$(PRODUCT_OUT)/symbols/system/bin/erase_image ?
Also: You might need to explicitly add the recovery ramdisk too.:
https://github.com/Meticulus/androi...mmit/d10d588bdbabf9cc8480ae6b540b9ff051b718a0
I commented out bml over mtd and erase image. Now cm12 is compiling, I assume I can add those binaries back into the zip by using the cm11 ones?
Sent from my GT-P3110 using Tapatalk
I did have another error during compiling, but the forum was down and I was not able to share it, I am compiling again and will share the error when I get it.
Code:
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:323:19: warning: unused parameter 'size' [-Wunused-parameter]
jpg_return_status JpegEncoder::encodeThumbImg(unsigned int *size, bool useMain)
^
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp: In member function 'android::jpg_return_status android::JpegEncoder::makeExif(unsigned char*, exif_attribute_t*, unsigned int*, bool)':
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:615:44: warning: narrowing conversion of '((tmp >> 8) & 255u)' from 'unsigned int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing]
unsigned char size_mm[2] = {(tmp >> 8) & 0xFF, tmp & 0xFF};
^
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:615:56: warning: narrowing conversion of '(tmp & 255u)' from 'unsigned int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing]
unsigned char size_mm[2] = {(tmp >> 8) & 0xFF, tmp & 0xFF};
^
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/framebuffer.cpp
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/mapper.cpp
target thumb C++: hwcomposer.s5pc110 <= hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp
target thumb C++: hwcomposer.s5pc110 <= hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:45:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:26:
hardware/samsung/exynos3/s5pc110/libhwcomposer/../include/sec_lcd.h:46:0: warning: "FBIO_WAITFORVSYNC" redefined [enabled by default]
#define FBIO_WAITFORVSYNC _IO ('F', 32)
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:34:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:26:
bionic/libc/kernel/uapi/linux/fb.h:46:0: note: this is the location of the previous definition
#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:453:12: warning: unused parameter 'ctx' [-Wunused-parameter]
static int get_dst_phys_addr(struct hwc_context_t *ctx,
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:45:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:34:
hardware/samsung/exynos3/s5pc110/libhwcomposer/../include/sec_lcd.h:46:0: warning: "FBIO_WAITFORVSYNC" redefined [enabled by default]
#define FBIO_WAITFORVSYNC _IO ('F', 32)
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:34:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:34:
bionic/libc/kernel/uapi/linux/fb.h:46:0: note: this is the location of the previous definition
#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:55:1: warning: missing initializer for member 'hw_module_t::dso' [-Wmissing-field-initializers]
};
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:55:1: warning: missing initializer for member 'hw_module_t::reserved' [-Wmissing-field-initializers]
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:70:12: warning: unused parameter 'win_idx' [-Wunused-parameter]
static int set_src_dst_info(hwc_layer_1_t *cur,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp: In function 'int hwc_prepare(hwc_composer_device_1_t*, size_t, hwc_display_contents_1_t**)':
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:247:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < list->numHwLayers ; i++) {
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp: At global scope:
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:290:12: warning: unused parameter 'numDisplays' [-Wunused-parameter]
static int hwc_set(hwc_composer_device_1_t *dev,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:483:12: warning: unused parameter 'disp' [-Wunused-parameter]
static int hwc_blank(struct hwc_composer_device_1 *dev,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:531:12: warning: unused parameter 'dpy' [-Wunused-parameter]
static int hwc_eventControl(struct hwc_composer_device_1* dev, int dpy,
^
target thumb C++: keystore.default <= system/security/softkeymaster/module.cpp
target thumb C: lights.s5pc110 <= device/samsung/ypg1/liblight/lights.c
target thumb C: local_time.default <= hardware/libhardware/modules/local_time/local_time_hw.c
device/samsung/ypg1/liblight/lights.c: In function 'write_int':
device/samsung/ypg1/liblight/lights.c:41:1: warning: unknown escape sequence: '\040' [enabled by default]
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
^
device/samsung/ypg1/liblight/lights.c:41:2: error: stray '\' in program
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
^
In file included from system/core/include/cutils/log.h:1:0,
from device/samsung/ypg1/liblight/lights.c:19:
device/samsung/ypg1/liblight/lights.c:41:29: error: 's' undeclared (first use in this function)
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
^
device/samsung/ypg1/liblight/lights.c:41:29: note: each undeclared identifier is reported only once for each function it appears in
device/samsung/ypg1/liblight/lights.c:41:31: error: expected ')' before string constant
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_notifications':
device/samsung/ypg1/liblight/lights.c:81:2: warning: too many arguments for format [-Wformat-extra-args]
ALOGI("color %u fm %u status %u is lit %u brightness", state->color, state->flashMode, v, (state->color & 0x00ffffff), brightness);
^
device/samsung/ypg1/liblight/lights.c:67:59: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_notifications(struct light_device_t* dev,
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_backlight':
device/samsung/ypg1/liblight/lights.c:87:55: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_backlight(struct light_device_t *dev,
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_buttons':
device/samsung/ypg1/liblight/lights.c:100:53: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_buttons(struct light_device_t *dev,
^
make: *** [/home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/lights.s5pc110_intermediates/lights.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/libhardware/modules/local_time/local_time_hw.c: In function 'ltdev_get_local_freq':
hardware/libhardware/modules/local_time/local_time_hw.c:53:67: warning: unused parameter 'dev' [-Wunused-parameter]
static uint64_t ltdev_get_local_freq(struct local_time_hw_device* dev)
^
it is saying that dev is an unused parmeter
dorfd1 said:
Code:
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:323:19: warning: unused parameter 'size' [-Wunused-parameter]
jpg_return_status JpegEncoder::encodeThumbImg(unsigned int *size, bool useMain)
^
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp: In member function 'android::jpg_return_status android::JpegEncoder::makeExif(unsigned char*, exif_attribute_t*, unsigned int*, bool)':
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:615:44: warning: narrowing conversion of '((tmp >> 8) & 255u)' from 'unsigned int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing]
unsigned char size_mm[2] = {(tmp >> 8) & 0xFF, tmp & 0xFF};
^
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:615:56: warning: narrowing conversion of '(tmp & 255u)' from 'unsigned int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing]
unsigned char size_mm[2] = {(tmp >> 8) & 0xFF, tmp & 0xFF};
^
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/framebuffer.cpp
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/mapper.cpp
target thumb C++: hwcomposer.s5pc110 <= hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp
target thumb C++: hwcomposer.s5pc110 <= hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:45:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:26:
hardware/samsung/exynos3/s5pc110/libhwcomposer/../include/sec_lcd.h:46:0: warning: "FBIO_WAITFORVSYNC" redefined [enabled by default]
#define FBIO_WAITFORVSYNC _IO ('F', 32)
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:34:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:26:
bionic/libc/kernel/uapi/linux/fb.h:46:0: note: this is the location of the previous definition
#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:453:12: warning: unused parameter 'ctx' [-Wunused-parameter]
static int get_dst_phys_addr(struct hwc_context_t *ctx,
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:45:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:34:
hardware/samsung/exynos3/s5pc110/libhwcomposer/../include/sec_lcd.h:46:0: warning: "FBIO_WAITFORVSYNC" redefined [enabled by default]
#define FBIO_WAITFORVSYNC _IO ('F', 32)
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:34:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:34:
bionic/libc/kernel/uapi/linux/fb.h:46:0: note: this is the location of the previous definition
#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:55:1: warning: missing initializer for member 'hw_module_t::dso' [-Wmissing-field-initializers]
};
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:55:1: warning: missing initializer for member 'hw_module_t::reserved' [-Wmissing-field-initializers]
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:70:12: warning: unused parameter 'win_idx' [-Wunused-parameter]
static int set_src_dst_info(hwc_layer_1_t *cur,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp: In function 'int hwc_prepare(hwc_composer_device_1_t*, size_t, hwc_display_contents_1_t**)':
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:247:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < list->numHwLayers ; i++) {
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp: At global scope:
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:290:12: warning: unused parameter 'numDisplays' [-Wunused-parameter]
static int hwc_set(hwc_composer_device_1_t *dev,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:483:12: warning: unused parameter 'disp' [-Wunused-parameter]
static int hwc_blank(struct hwc_composer_device_1 *dev,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:531:12: warning: unused parameter 'dpy' [-Wunused-parameter]
static int hwc_eventControl(struct hwc_composer_device_1* dev, int dpy,
^
target thumb C++: keystore.default <= system/security/softkeymaster/module.cpp
target thumb C: lights.s5pc110 <= device/samsung/ypg1/liblight/lights.c
target thumb C: local_time.default <= hardware/libhardware/modules/local_time/local_time_hw.c
device/samsung/ypg1/liblight/lights.c: In function 'write_int':
device/samsung/ypg1/liblight/lights.c:41:1: warning: unknown escape sequence: '\040' [enabled by default]
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
^
device/samsung/ypg1/liblight/lights.c:41:2: error: stray '\' in program
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
^
In file included from system/core/include/cutils/log.h:1:0,
from device/samsung/ypg1/liblight/lights.c:19:
device/samsung/ypg1/liblight/lights.c:41:29: error: 's' undeclared (first use in this function)
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
^
device/samsung/ypg1/liblight/lights.c:41:29: note: each undeclared identifier is reported only once for each function it appears in
device/samsung/ypg1/liblight/lights.c:41:31: error: expected ')' before string constant
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_notifications':
device/samsung/ypg1/liblight/lights.c:81:2: warning: too many arguments for format [-Wformat-extra-args]
ALOGI("color %u fm %u status %u is lit %u brightness", state->color, state->flashMode, v, (state->color & 0x00ffffff), brightness);
^
device/samsung/ypg1/liblight/lights.c:67:59: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_notifications(struct light_device_t* dev,
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_backlight':
device/samsung/ypg1/liblight/lights.c:87:55: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_backlight(struct light_device_t *dev,
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_buttons':
device/samsung/ypg1/liblight/lights.c:100:53: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_buttons(struct light_device_t *dev,
^
make: *** [/home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/lights.s5pc110_intermediates/lights.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/libhardware/modules/local_time/local_time_hw.c: In function 'ltdev_get_local_freq':
hardware/libhardware/modules/local_time/local_time_hw.c:53:67: warning: unused parameter 'dev' [-Wunused-parameter]
static uint64_t ltdev_get_local_freq(struct local_time_hw_device* dev)
^
it is saying that dev is an unused parmeter
Click to expand...
Click to collapse
The problem would seem to be here:
Code:
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
There is a space between the escape char and the escaped char. I think it should be like this
Code:
ALOGV("write_int: path=\"%s\", value=\"%d\".", path, value);
Meticulus said:
The problem would seem to be here:
Code:
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
There is a space between the escape char and the escaped char. I think it should be like this
Code:
ALOGV("write_int: path=\"%s\", value=\"%d\".", path, value);
Click to expand...
Click to collapse
Are you referring to lights.c?
dorfd1 said:
Are you referring to lights.c?
Click to expand...
Click to collapse
Yes, from the log you posted:
Code:
device/samsung/ypg1/liblight/lights.c:41:2: error: stray '\' in program
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
Code:
o_hw.c
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/audio.primary.s5pc110_intermediates/import_includes
target thumb C++: libaudiohw_legacy <= hardware/libhardware_legacy/audio/AudioHardwareInterface.cpp
target thumb C++: libaudiohw_legacy <= hardware/libhardware_legacy/audio/audio_hw_hal.cpp
target thumb C: audio.usb.default <= hardware/libhardware/modules/usbaudio/audio_hw.c
target thumb C: audio.usb.default <= hardware/libhardware/modules/usbaudio/alsa_device_profile.c
hardware/libhardware/modules/usbaudio/alsa_device_profile.c: In function 'profile_enum_channel_counts':
hardware/libhardware/modules/usbaudio/alsa_device_profile.c:284:9: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
profile->direction == PCM_OUT ? std_out_channel_counts : std_in_channel_counts;
^
target thumb C: audio.usb.default <= hardware/libhardware/modules/usbaudio/alsa_device_proxy.c
target thumb C: audio.usb.default <= hardware/libhardware/modules/usbaudio/logging.c
target thumb C: audio.usb.default <= hardware/libhardware/modules/usbaudio/format.c
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/audio_policy.default_intermediates/import_includes
target thumb C++: libaudiopolicy_legacy <= hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp
target thumb C++: libaudiopolicy_legacy <= hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp
target thumb C++: libaudiopolicy_legacy <= hardware/libhardware_legacy/audio/audio_policy_hal.cpp
target thumb C++: audio_policy.s5pc110 <= device/samsung/ypg1/libaudio/AudioPolicyManager.cpp
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/camera.s5pc110_intermediates/import_includes
target thumb C++: libs3cjpeg <= hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/gralloc.cpp
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:323:19: warning: unused parameter 'size' [-Wunused-parameter]
jpg_return_status JpegEncoder::encodeThumbImg(unsigned int *size, bool useMain)
^
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp: In member function 'android::jpg_return_status android::JpegEncoder::makeExif(unsigned char*, exif_attribute_t*, unsigned int*, bool)':
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:615:44: warning: narrowing conversion of '((tmp >> 8) & 255u)' from 'unsigned int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing]
unsigned char size_mm[2] = {(tmp >> 8) & 0xFF, tmp & 0xFF};
^
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:615:56: warning: narrowing conversion of '(tmp & 255u)' from 'unsigned int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing]
unsigned char size_mm[2] = {(tmp >> 8) & 0xFF, tmp & 0xFF};
^
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/framebuffer.cpp
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/mapper.cpp
target thumb C++: hwcomposer.s5pc110 <= hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp
target thumb C++: hwcomposer.s5pc110 <= hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:45:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:34:
hardware/samsung/exynos3/s5pc110/libhwcomposer/../include/sec_lcd.h:46:0: warning: "FBIO_WAITFORVSYNC" redefined [enabled by default]
#define FBIO_WAITFORVSYNC _IO ('F', 32)
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:34:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:34:
bionic/libc/kernel/uapi/linux/fb.h:46:0: note: this is the location of the previous definition
#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:55:1: warning: missing initializer for member 'hw_module_t::dso' [-Wmissing-field-initializers]
};
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:55:1: warning: missing initializer for member 'hw_module_t::reserved' [-Wmissing-field-initializers]
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:70:12: warning: unused parameter 'win_idx' [-Wunused-parameter]
static int set_src_dst_info(hwc_layer_1_t *cur,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp: In function 'int hwc_prepare(hwc_composer_device_1_t*, size_t, hwc_display_contents_1_t**)':
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:247:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < list->numHwLayers ; i++) {
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp: At global scope:
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:290:12: warning: unused parameter 'numDisplays' [-Wunused-parameter]
static int hwc_set(hwc_composer_device_1_t *dev,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:483:12: warning: unused parameter 'disp' [-Wunused-parameter]
static int hwc_blank(struct hwc_composer_device_1 *dev,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:531:12: warning: unused parameter 'dpy' [-Wunused-parameter]
static int hwc_eventControl(struct hwc_composer_device_1* dev, int dpy,
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:45:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:26:
hardware/samsung/exynos3/s5pc110/libhwcomposer/../include/sec_lcd.h:46:0: warning: "FBIO_WAITFORVSYNC" redefined [enabled by default]
#define FBIO_WAITFORVSYNC _IO ('F', 32)
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:34:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:26:
bionic/libc/kernel/uapi/linux/fb.h:46:0: note: this is the location of the previous definition
#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:453:12: warning: unused parameter 'ctx' [-Wunused-parameter]
static int get_dst_phys_addr(struct hwc_context_t *ctx,
^
target thumb C++: keystore.default <= system/security/softkeymaster/module.cpp
target thumb C: lights.s5pc110 <= device/samsung/ypg1/liblight/lights.c
device/samsung/ypg1/liblight/lights.c: In function 'set_light_notifications':
device/samsung/ypg1/liblight/lights.c:81:2: warning: too many arguments for format [-Wformat-extra-args]
ALOGI("color %u fm %u status %u is lit %u brightness", state->color, state->flashMode, v, (state->color & 0x00ffffff), brightness);
^
device/samsung/ypg1/liblight/lights.c:67:59: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_notifications(struct light_device_t *dev, struct light_state_t const *state)
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_backlight':
device/samsung/ypg1/liblight/lights.c:87:55: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_backlight(struct light_device_t *dev, struct light_state_t const *state)
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_buttons':
device/samsung/ypg1/liblight/lights.c:100:53: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_buttons(struct light_device_t *dev, struct light_state_t const* state)
^
target thumb C: local_time.default <= hardware/libhardware/modules/local_time/local_time_hw.c
target thumb C: power.default <= hardware/libhardware/modules/power/power.c
hardware/libhardware/modules/local_time/local_time_hw.c: In function 'ltdev_get_local_freq':
hardware/libhardware/modules/local_time/local_time_hw.c:53:45: error: parameter name omitted
static uint64_t ltdev_get_local_freq(struct local_time_hw_device* )
^
make: *** [/home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/local_time.default_intermediates/local_time_hw.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/libhardware/modules/power/power.c: In function 'power_init':
hardware/libhardware/modules/power/power.c:28:45: warning: unused parameter 'module' [-Wunused-parameter]
static void power_init(struct power_module *module)
^
hardware/libhardware/modules/power/power.c: In function 'power_set_interactive':
hardware/libhardware/modules/power/power.c:32:56: warning: unused parameter 'module' [-Wunused-parameter]
static void power_set_interactive(struct power_module *module, int on)
^
hardware/libhardware/modules/power/power.c:32:68: warning: unused parameter 'on' [-Wunused-parameter]
static void power_set_interactive(struct power_module *module, int on)
^
hardware/libhardware/modules/power/power.c: In function 'power_hint':
hardware/libhardware/modules/power/power.c:36:45: warning: unused parameter 'module' [-Wunused-parameter]
static void power_hint(struct power_module *module, power_hint_t hint,
^
hardware/libhardware/modules/power/power.c:37:30: warning: unused parameter 'data' [-Wunused-parameter]
void *data) {
^
I repo synced and now it got a little further. is it stopping because of the unused parameters?
dorfd1 said:
Code:
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:615:56: warning: narrowing conversion of '(tmp & 255u)' from 'unsigned int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing]
unsigned char size_mm[2] = {(tmp >> 8) & 0xFF, tmp & 0xFF};
^
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/framebuffer.cpp
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/mapper.cpp
target thumb C++: hwcomposer.s5pc110 <= hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp
target thumb C++: hwcomposer.s5pc110 <= hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:45:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:34:
hardware/samsung/exynos3/s5pc110/libhwcomposer/../include/sec_lcd.h:46:0: warning: "FBIO_WAITFORVSYNC" redefined [enabled by default]
#define FBIO_WAITFORVSYNC _IO ('F', 32)
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:34:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:34:
bionic/libc/kernel/uapi/linux/fb.h:46:0: note: this is the location of the previous definition
#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:55:1: warning: missing initializer for member 'hw_module_t::dso' [-Wmissing-field-initializers]
};
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:55:1: warning: missing initializer for member 'hw_module_t::reserved' [-Wmissing-field-initializers]
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:70:12: warning: unused parameter 'win_idx' [-Wunused-parameter]
static int set_src_dst_info(hwc_layer_1_t *cur,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp: In function 'int hwc_prepare(hwc_composer_device_1_t*, size_t, hwc_display_contents_1_t**)':
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:247:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < list->numHwLayers ; i++) {
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp: At global scope:
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:290:12: warning: unused parameter 'numDisplays' [-Wunused-parameter]
static int hwc_set(hwc_composer_device_1_t *dev,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:483:12: warning: unused parameter 'disp' [-Wunused-parameter]
static int hwc_blank(struct hwc_composer_device_1 *dev,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:531:12: warning: unused parameter 'dpy' [-Wunused-parameter]
static int hwc_eventControl(struct hwc_composer_device_1* dev, int dpy,
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:45:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:26:
hardware/samsung/exynos3/s5pc110/libhwcomposer/../include/sec_lcd.h:46:0: warning: "FBIO_WAITFORVSYNC" redefined [enabled by default]
#define FBIO_WAITFORVSYNC _IO ('F', 32)
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:34:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:26:
bionic/libc/kernel/uapi/linux/fb.h:46:0: note: this is the location of the previous definition
#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:453:12: warning: unused parameter 'ctx' [-Wunused-parameter]
static int get_dst_phys_addr(struct hwc_context_t *ctx,
^
target thumb C++: keystore.default <= system/security/softkeymaster/module.cpp
target thumb C: lights.s5pc110 <= device/samsung/ypg1/liblight/lights.c
target thumb C: local_time.default <= hardware/libhardware/modules/local_time/local_time_hw.c
hardware/libhardware/modules/local_time/local_time_hw.c: In function 'ltdev_get_local_freq':
hardware/libhardware/modules/local_time/local_time_hw.c:53:45: error: parameter name omitted
static uint64_t ltdev_get_local_freq(struct local_time_hw_device* )
^
make: *** [/home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/local_time.default_intermediates/local_time_hw.o] Error 1
make: *** Waiting for unfinished jobs....
device/samsung/ypg1/liblight/lights.c: In function 'set_light_notifications':
device/samsung/ypg1/liblight/lights.c:81:2: warning: too many arguments for format [-Wformat-extra-args]
ALOGI("color %u fm %u status %u is lit %u brightness", state->color, state->flashMode, v, (state->color & 0x00ffffff), brightness);
^
device/samsung/ypg1/liblight/lights.c:67:59: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_notifications(struct light_device_t *dev, struct light_state_t const *state)
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_backlight':
device/samsung/ypg1/liblight/lights.c:87:55: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_backlight(struct light_device_t *dev, struct light_state_t const *state)
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_buttons':
device/samsung/ypg1/liblight/lights.c:100:53: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_buttons(struct light_device_t *dev, struct light_state_t const* state)
I removed the space in line 41 of lights.c but it still says dev is an unused parameter.
Click to expand...
Click to collapse
You are aware that "warnings" do not stop compliation right?
The error is here:
Code:
hardware/libhardware/modules/local_time/local_time_hw.c:53:45: error: parameter name omitted
static uint64_t ltdev_get_local_freq(struct local_time_hw_device* )
And, never seen this one before but it looks like @ line 53 on char 45 of file hardware/libhardware/modules/local_time/local_time_hw.c , there is a function call to "ltdev_get_local_freq" and there is something wrong with the passed parameter....
Meticulus said:
You are aware that "warnings" do not stop compliation right?
The error is here:
Code:
hardware/libhardware/modules/local_time/local_time_hw.c:53:45: error: parameter name omitted
static uint64_t ltdev_get_local_freq(struct local_time_hw_device* )
And, never seen this one before but it looks like @ line 53 on char 45 of file hardware/libhardware/modules/local_time/local_time_hw.c , there is a function call to "ltdev_get_local_freq" and there is something wrong with the passed parameter....
Click to expand...
Click to collapse
I do know that warnings do not stop compilation
I think we need to wait for official nightlies to happen for other devices. I just tried to compile cm12 for my tab 2 and one of the devs said to wait since stuff like surfaceflinger is broken.
Sent from my YP-G1 using Tapatalk
dorfd1 said:
I think we need to wait for official nightlies to happen for other devices. I just tried to compile cm12 for my tab 2 and one of the devs said to wait since stuff like surfaceflinger is broken.
Sent from my YP-G1 using Tapatalk
Click to expand...
Click to collapse
You can wait if you want to but I'm not going to. It is entirely possible that some older device's may not be brought up to CM 12
it’s a fair bet that that many older devices not possessing Kitkat binaries will be dropped from support; meaning most (if not all) pre-ICS devices will not be brought up to CM 12.
Click to expand...
Click to collapse
This means us.
The as of yet unreleased CyanogenMod recovery (found on GitHub) suggests the potential for the removal of ClockworkMod recovery as the default recovery. Having looked at this source code in great detail, I can tell you that it removes on-device backups (commonly known as nandroid) in lieu of adb backups. I know part of the reasoning behind this is the potential for data theft from on device backups, a hypothetical app to extract information directly from the backup on the device’s sdcard or internal storage. Another potential reason for removing on-device backups is the encryption which will be enabled by default in Lollipop. It’s safe to say this encryption will break standard backups in CWM as well as TWRP, and with the recent announcement of Baton (from Nextbit), we can see that Cyanogen is moving backup solutions to the cloud anyway. The CyanogenMod recovery is little more than stock recovery with a touch interface, the support of which doesn’t exist on many old devices; this will likely effect which ones are brought up to CM 12 (much like the above mentioned binaries.)
Click to expand...
Click to collapse
This means us too.
From here: http://www.gadgtspot.com/2014/10/31/roundtable-cyanogenmod-12-roadmap-leaked-fun-times-ahead/
What issues so far did you have with cm12 on venturi?
dorfd1 said:
What issues so far did you have with cm12 on venturi?
Click to expand...
Click to collapse
https://github.com/Meticulus/android_device_samsung_venturi/commits/carbon-l

Who can help me to finish my cm12 build? I am in truble!

I want to build cm12 on samsung jfltexx (S4) by Ubuntu 14.04,but it can not.
i follow this to build CM12 http://wiki.cyanogenmod.org/w/Build_for_jfltexx
That is my setp
1.repo sync cm12 codes (it takes me 3 days...):crying:
2.download samsung codes
https://github.com/CyanogenMod/android_device_samsung_jfltexx ---rename jfltexx and copy to device/samsung/
https://github.com/broodplank/samsung-kernel-jfltexx ---rename kernel and copy to out/target/product/jfltexx/
https://github.com/CyanogenMod/android_device_samsung_jf-common ---remane jf-common and copy to device/samsung/
https://github.com/CyanogenMod/android_device_samsung_qcom-common ---remane and copy to device/samsung/
3.
$ source build/envsetup.sh
$ breakfast jfltexx
$ cd device/samsung/jfltexx
--connect my phone to computer
$ ./extract-files.sh
--(but no files found)
--copy the system folder from "cm12-plus-5.0-Beta5.1-jfltexx.zip" to vendor/samsung/jfltexx/
--copy jf-common to vendor/samsung/jfltexx
$ croot
$ brunch jfltexx
--now build is start
but a few minutes later, it show that code and stop to build
i am new here and my english is bad sorry.
and i am new to build android source code,please help me to fix it,thank you!
--------------------------------------------------------------------------------------------------------------------------------------------------------
target arm C: libunz <= external/zlib/src/inftrees.c
target arm C: libunz <= external/zlib/src/inffast.c
target arm C: libunz <= external/zlib/src/trees.c
target arm C: libunz <= external/zlib/src/uncompr.c
target arm C: libunz <= external/zlib/src/zutil.c
Import includes file: /home/qwejay/android/cm/out/target/product/jfltexx/obj/EXECUTABLES/alsaucm_test_intermediates/import_includes
target thumb C: libalsa-intf <= hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_mixer.c
target thumb C: libalsa-intf <= hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c
target thumb C: libalsa-intf <= hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_mixer.c:33:23: fatal error: sound/tlv.h: No such file or directory
#include <sound/tlv.h>
^
compilation terminated.
make: *** [/home/qwejay/android/cm/out/target/product/jfltexx/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_mixer.o] error 1
make: *** Waiting for the unfinished task....
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:139:31: error: 'SND_AUDIOCODEC_AC3_PASS_THROUGH' undeclared here (not in a function)
FORMAT_AC3_PASS_THROUGH = SND_AUDIOCODEC_AC3_PASS_THROUGH,
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:141:31: error: 'SND_AUDIOCODEC_WMA_PRO' undeclared here (not in a function)
FORMAT_WMA_PRO = SND_AUDIOCODEC_WMA_PRO,
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:142:31: error: 'SND_AUDIOCODEC_DTS' undeclared here (not in a function)
FORMAT_DTS = SND_AUDIOCODEC_DTS,
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:143:31: error: 'SND_AUDIOCODEC_DTS_LBR' undeclared here (not in a function)
FORMAT_DTS_LBR = SND_AUDIOCODEC_DTS_LBR,
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:144:31: error: 'SND_AUDIOCODEC_DTS_PASS_THROUGH' undeclared here (not in a function)
FORMAT_DTS_PASS_THROUGH = SND_AUDIOCODEC_DTS_PASS_THROUGH,
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'pcm_avail':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:443:9: warning: format '%d' expects argument of type 'int', but argument 4 has type 'snd_pcm_uframes_t' [-Wformat=]
ALOGV("hw_ptr = %d buf_size = %d appl_ptr = %d\n",
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:443:9: warning: format '%d' expects argument of type 'int', but argument 6 has type 'snd_pcm_uframes_t' [-Wformat=]
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'appl_pt_forward':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:483:3: warning: too many arguments for format [-Wformat-extra-args]
ALOGE("appl_ptr %ld set to ld",
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'dst_address':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:561:22: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
return pcm->addr + pcm_offset;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'mmap_transfer':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:565:57: warning: unused parameter 'offset' [-Wunused-parameter]
int mmap_transfer(struct pcm *pcm, void *data, unsigned offset,
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'mmap_transfer_capture':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:620:26: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
src_addr = pcm->addr + pcm_offset;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:596:65: warning: unused parameter 'offset' [-Wunused-parameter]
int mmap_transfer_capture(struct pcm *pcm, void *data, unsigned offset,
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'pcm_write_mmap':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:682:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((bytes_written >= pcm->sw_p->start_threshold) && (!pcm->start)) {
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:643:50: warning: unused parameter 'data' [-Wunused-parameter]
static int pcm_write_mmap(struct pcm *pcm, void *data, unsigned count)
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'enable_timer':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:825:8: warning: return makes integer from pointer without a cast [enabled by default]
return &bad_pcm;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:854:11: warning: return makes integer from pointer without a cast [enabled by default]
return &bad_pcm;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'pcm_open':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:939:9: warning: return makes pointer from integer without a cast [enabled by default]
return -EINVAL;
^
make: *** [/home/qwejay/android/cm/out/target/product/jfltexx/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_pcm.o] error 1
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_identifier':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:78:43: warning: unused parameter 'fmt' [-Wunused-parameter]
char *snd_use_case_identifier(const char *fmt, ...)
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_free_list':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:90:40: warning: parameter 'list' set but not used [-Wunused-but-set-parameter]
int snd_use_case_free_list(const char *list[], int items)
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:90:52: warning: unused parameter 'items' [-Wunused-parameter]
int snd_use_case_free_list(const char *list[], int items)
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_get_list':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:133:15: warning: assignment from incompatible pointer type [enabled by default]
*list = (char ***)uc_mgr->card_ctxt_ptr->verb_list;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:157:15: warning: assignment from incompatible pointer type [enabled by default]
*list = verb_list[verb_index].device_list;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:181:15: warning: assignment from incompatible pointer type [enabled by default]
*list = verb_list[verb_index].modifier_list;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_apply_mixer_controls':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:936:65: warning: comparison between pointer and integer [enabled by default]
(check_devices_for_voice_call(uc_mgr, use_case) != NULL))
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_mgr_reload':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:2207:49: warning: unused parameter 'uc_mgr' [-Wunused-parameter]
int snd_use_case_mgr_reload(snd_use_case_mgr_t *uc_mgr) {
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c: In function 'print_list':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:3324:47: warning: unused parameter 'verb_index' [-Wunused-parameter]
static int print_list(card_mctrl_t *list, int verb_index, int count)
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c: In function 'free_list':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:3884:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mindex < list[case_index].ena_mixer_list[index].value;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:3902:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mindex < list[case_index].dis_mixer_list[index].value;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:3870:40: warning: unused parameter 'verb_index' [-Wunused-parameter]
void free_list(card_mctrl_t *list, int verb_index, int count)
^
--------------------------------------------------------------------------------------------------------------------------------------------------------
I can not fix it X(;
#include <sound/tlv.h>
It is strange. There is something very wrong with this source code. Technically the solution is finding that tlv.h and copying it into that "sound" directory. However, if a source code can't build because of an inclusion error, this means that either the repo is broken or the source code you downloaded is broken for some reason. Fixing that error will just throw another one, not worth trying.
By the way, I don't get all the downloading and renaming part, that's explained in a different way on the guide! In order to get the files specific to the device:
Breakfast jfltexx
./extract-files.sh
And then build it! If you are getting problems with the building of the vendor apps, look for "TheMuppets" github page.
Why are you building cm12? 12.1 is the latest.
Ciuffy's SM-G900F CM 12.1 spirit hath marked this way.

Categories

Resources