Skip to content

Instantly share code, notes, and snippets.

@Razziell
Created April 23, 2017 05:47
Show Gist options
  • Save Razziell/612920b341f6112f5e889899d5577508 to your computer and use it in GitHub Desktop.
Save Razziell/612920b341f6112f5e889899d5577508 to your computer and use it in GitHub Desktop.
make: Вход в каталог `/home/razziell/android/RRN'
Running kati to generate build-lineage_markw.ninja...
No need to regenerate ninja file
Starting build with ninja
ninja: Entering directory `.'
[ 45% 9/20] target C++: libaudiopolicymanager <= hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp
FAILED: /bin/bash -c "(PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I device/xiaomi/markw/include -I frameworks/av/services -I frameworks/av/services/audioflinger -I system/media/audio_effects/include -I system/media/audio_utils/include -I frameworks/av/services/audiopolicy/common/include -I frameworks/av/services/audiopolicy/engine/interface -I frameworks/av/services/audiopolicy -I frameworks/av/services/audiopolicy/common/managerdefinitions/include -I hardware/qcom/audio-caf/msm8937/policy_hal -I /home/razziell/android/RRN/out/target/product/markw/obj/SHARED_LIBRARIES/libaudiopolicymanager_intermediates -I /home/razziell/android/RRN/out/target/product/markw/gen/SHARED_LIBRARIES/libaudiopolicymanager_intermediates -I libnativehelper/include/nativehelper \$(cat /home/razziell/android/RRN/out/target/product/markw/obj/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem hardware/ril-caf/include -isystem /home/razziell/android/RRN/out/target/product/markw/obj/include -isystem bionic/libc/arch-arm64/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libm/include -isystem bionic/libm/include/arm64 -c -fno-exceptions -Wno-multichar -fno-strict-aliasing -fstack-protector-strong -ffunction-sections -fdata-sections -funwind-tables -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -Werror=pointer-to-int-cast -Werror=int-to-pointer-cast -Werror=implicit-function-declaration -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -O2 -g -Wstrict-aliasing=2 -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -fvisibility-inlines-hidden -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -Wsign-promo -Wno-inconsistent-missing-override -nostdlibinc -fno-rtti -Wall -Werror -DVOICE_CONCURRENCY -DPCM_OFFLOAD_ENABLED -DPCM_OFFLOAD_ENABLED_24 -DAUDIO_EXTN_FORMATS_ENABLED -DAUDIO_EXTN_AFE_PROXY_ENABLED -DFM_POWER_OPT -fPIC -D_USING_LIBCXX -Wno-overloaded-virtual -Wno-unused-variable -Wno-unused-private-field -std=gnu++14 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /home/razziell/android/RRN/out/target/product/markw/obj/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/AudioPolicyManager.d -o /home/razziell/android/RRN/out/target/product/markw/obj/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/AudioPolicyManager.o hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp ) && (cp /home/razziell/android/RRN/out/target/product/markw/obj/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/AudioPolicyManager.d /home/razziell/android/RRN/out/target/product/markw/obj/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/AudioPolicyManager.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /home/razziell/android/RRN/out/target/product/markw/obj/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/AudioPolicyManager.d >> /home/razziell/android/RRN/out/target/product/markw/obj/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/AudioPolicyManager.P; rm -f /home/razziell/android/RRN/out/target/product/markw/obj/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/AudioPolicyManager.d )"
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:720:35: error: no member named 'mInputSource' in 'android::AudioInputDescriptor'; did you mean 'inputSource'?
switch(activeDesc->mInputSource) {
^~~~~~~~~~~~
inputSource
frameworks/av/services/audiopolicy/common/managerdefinitions/include/AudioInputDescriptor.h:60:20: note: 'inputSource' declared here
audio_source_t inputSource() const;
^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:724:97: error: no member named 'mInputSource' in 'android::AudioInputDescriptor'
ALOGD("voice_conc:FOUND active input during call active: %d",activeDesc->mInputSource);
~~~~~~~~~~ ^
system/core/include/log/log.h:114:52: note: expanded from macro 'ALOGD'
#define ALOGD(...) ((void)ALOG(LOG_DEBUG, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/include/log/log.h:453:38: note: expanded from macro 'ALOG'
LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/include/log/log.h:461:37: note: expanded from macro 'LOG_PRI'
android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/include/log/log.h:618:36: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, fmt)
^~~
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:729:105: error: no member named 'mInputSource' in 'android::AudioInputDescriptor'
ALOGD("voice_conc:CLOSING VoIP input source on call setup :%d ",activeDesc->mInputSource);
~~~~~~~~~~ ^
system/core/include/log/log.h:114:52: note: expanded from macro 'ALOGD'
#define ALOGD(...) ((void)ALOG(LOG_DEBUG, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/include/log/log.h:453:38: note: expanded from macro 'ALOG'
LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/include/log/log.h:461:37: note: expanded from macro 'LOG_PRI'
android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/include/log/log.h:618:36: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, fmt)
^~~
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:730:64: error: 'mSessions' is a private member of 'android::AudioInputDescriptor'
stopInput(activeInput, activeDesc->mSessions.itemAt(0));
^
frameworks/av/services/audiopolicy/common/managerdefinitions/include/AudioInputDescriptor.h:78:35: note: declared private here
AudioSessionCollection mSessions;
^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:730:74: error: no member named 'itemAt' in 'android::AudioSessionCollection'
stopInput(activeInput, activeDesc->mSessions.itemAt(0));
~~~~~~~~~~~~~~~~~~~~~ ^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:731:67: error: 'mSessions' is a private member of 'android::AudioInputDescriptor'
releaseInput(activeInput, activeDesc->mSessions.itemAt(0));
^
frameworks/av/services/audiopolicy/common/managerdefinitions/include/AudioInputDescriptor.h:78:35: note: declared private here
AudioSessionCollection mSessions;
^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:731:77: error: no member named 'itemAt' in 'android::AudioSessionCollection'
releaseInput(activeInput, activeDesc->mSessions.itemAt(0));
~~~~~~~~~~~~~~~~~~~~~ ^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:736:104: error: no member named 'mInputSource' in 'android::AudioInputDescriptor'
ALOGD("voice_conc:CLOSING input on call setup for inputSource: %d",activeDesc->mInputSource);
~~~~~~~~~~ ^
system/core/include/log/log.h:114:52: note: expanded from macro 'ALOGD'
#define ALOGD(...) ((void)ALOG(LOG_DEBUG, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/include/log/log.h:453:38: note: expanded from macro 'ALOG'
LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/include/log/log.h:461:37: note: expanded from macro 'LOG_PRI'
android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/include/log/log.h:618:36: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, fmt)
^~~
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:737:59: error: 'mSessions' is a private member of 'android::AudioInputDescriptor'
stopInput(activeInput, activeDesc->mSessions.itemAt(0));
^
frameworks/av/services/audiopolicy/common/managerdefinitions/include/AudioInputDescriptor.h:78:35: note: declared private here
AudioSessionCollection mSessions;
^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:737:69: error: no member named 'itemAt' in 'android::AudioSessionCollection'
stopInput(activeInput, activeDesc->mSessions.itemAt(0));
~~~~~~~~~~~~~~~~~~~~~ ^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:738:62: error: 'mSessions' is a private member of 'android::AudioInputDescriptor'
releaseInput(activeInput, activeDesc->mSessions.itemAt(0));
^
frameworks/av/services/audiopolicy/common/managerdefinitions/include/AudioInputDescriptor.h:78:35: note: declared private here
AudioSessionCollection mSessions;
^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:738:72: error: no member named 'itemAt' in 'android::AudioSessionCollection'
releaseInput(activeInput, activeDesc->mSessions.itemAt(0));
~~~~~~~~~~~~~~~~~~~~~ ^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:746:69: error: no member named 'mInputSource' in 'android::AudioInputDescriptor'
if (AUDIO_SOURCE_VOICE_COMMUNICATION == activeDesc->mInputSource) {
~~~~~~~~~~ ^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:747:84: error: no member named 'mInputSource' in 'android::AudioInputDescriptor'
ALOGD("voice_conc:CLOSING VoIP on call setup : %d",activeDesc->mInputSource);
~~~~~~~~~~ ^
system/core/include/log/log.h:114:52: note: expanded from macro 'ALOGD'
#define ALOGD(...) ((void)ALOG(LOG_DEBUG, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/include/log/log.h:453:38: note: expanded from macro 'ALOG'
LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/include/log/log.h:461:37: note: expanded from macro 'LOG_PRI'
android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/include/log/log.h:618:36: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, fmt)
^~~
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:748:56: error: 'mSessions' is a private member of 'android::AudioInputDescriptor'
stopInput(activeInput, activeDesc->mSessions.itemAt(0));
^
frameworks/av/services/audiopolicy/common/managerdefinitions/include/AudioInputDescriptor.h:78:35: note: declared private here
AudioSessionCollection mSessions;
^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:748:66: error: no member named 'itemAt' in 'android::AudioSessionCollection'
stopInput(activeInput, activeDesc->mSessions.itemAt(0));
~~~~~~~~~~~~~~~~~~~~~ ^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:749:59: error: 'mSessions' is a private member of 'android::AudioInputDescriptor'
releaseInput(activeInput, activeDesc->mSessions.itemAt(0));
^
frameworks/av/services/audiopolicy/common/managerdefinitions/include/AudioInputDescriptor.h:78:35: note: declared private here
AudioSessionCollection mSessions;
^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:749:69: error: no member named 'itemAt' in 'android::AudioSessionCollection'
releaseInput(activeInput, activeDesc->mSessions.itemAt(0));
~~~~~~~~~~~~~~~~~~~~~ ^
hardware/qcom/audio-caf/msm8937/policy_hal/AudioPolicyManager.cpp:782:75: error: 'mFlags' is a private member of 'android::AudioPort'
if (((!outputDesc->isDuplicated() &&outputDesc->mProfile->mFlags & AUDIO_OUTPUT_FLAG_PRIMARY))
^
frameworks/av/services/audiopolicy/common/managerdefinitions/include/AudioPort.h:154:14: note: declared private here
uint32_t mFlags; // attribute flags mask (e.g primary output, direct output...).
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[ 45% 9/20] target SharedLib: libaudiopolicymanagerdefault (/home/razziell/android/RRN/out/targ...ED_LIBRARIES/libaudiopolicymanagerdefault_intermediates/LINKED/libaudiopolicymanagerdefault.so)
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Ошибка 1
make: Выход из каталога `/home/razziell/android/RRN'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment