Well, I need help. I'm trying to make the port of CM9 for Huawei U8800 but I have this error when I compile I can not solve:
HTML:
target thumb C++: libstagefright <= frameworks/base/media/libstagefright/ExtendedWriter.cpp
frameworks/base/media/libstagefright/ExtendedWriter.cpp: In member function 'virtual android::status_t android::ExtendedWriter::addSource(const android::sp<android::MediaSource>&)':
frameworks/base/media/libstagefright/ExtendedWriter.cpp:87: error: 'AudioSystem' has not been declared
frameworks/base/media/libstagefright/ExtendedWriter.cpp:88: error: 'MEDIA_MIMETYPE_AUDIO_EVRC' was not declared in this scope
frameworks/base/media/libstagefright/ExtendedWriter.cpp:89: error: 'AudioSystem' has not been declared
frameworks/base/media/libstagefright/ExtendedWriter.cpp: In member function 'android::status_t android::ExtendedWriter::threadFunc()':
frameworks/base/media/libstagefright/ExtendedWriter.cpp:286: error: 'AudioSystem' has not been declared
frameworks/base/media/libstagefright/ExtendedWriter.cpp:289: error: 'AudioSystem' has not been declared
make: ** [out/target/product/u8800/obj/SHARED_LIBRARIES/libstagefright_intermediates/ExtendedWriter.o] Erro 1
I've done some research on google but I have no solution, does anyone know how to solve?
asm19 said:
Well, I need help. I'm trying to make the port of CM9 for Huawei U8800 but I have this error when I compile I can not solve:
HTML:
target thumb C++: libstagefright <= frameworks/base/media/libstagefright/ExtendedWriter.cpp
frameworks/base/media/libstagefright/ExtendedWriter.cpp: In member function 'virtual android::status_t android::ExtendedWriter::addSource(const android::sp<android::MediaSource>&)':
frameworks/base/media/libstagefright/ExtendedWriter.cpp:87: error: 'AudioSystem' has not been declared
frameworks/base/media/libstagefright/ExtendedWriter.cpp:88: error: 'MEDIA_MIMETYPE_AUDIO_EVRC' was not declared in this scope
frameworks/base/media/libstagefright/ExtendedWriter.cpp:89: error: 'AudioSystem' has not been declared
frameworks/base/media/libstagefright/ExtendedWriter.cpp: In member function 'android::status_t android::ExtendedWriter::threadFunc()':
frameworks/base/media/libstagefright/ExtendedWriter.cpp:286: error: 'AudioSystem' has not been declared
frameworks/base/media/libstagefright/ExtendedWriter.cpp:289: error: 'AudioSystem' has not been declared
make: ** [out/target/product/u8800/obj/SHARED_LIBRARIES/libstagefright_intermediates/ExtendedWriter.o] Erro 1
I've done some research on google but I have no solution, does anyone know how to solve?
Click to expand...
Click to collapse
I would suggest you move this into the development section for our phone
Hi All,
I am trying to build Android ICS from source.I succssfully downloaded and repo sync was also complete.When i do make it gives following error
frameworks/base/media/libmedia/AudioRecord.cpp: In member function 'android::status_t android::AudioRecord::set(int, uint32_t, int, uint32_t, int, uint32_t, android::AudioRecord::callback_t, void*, int, bool, int)':
frameworks/base/media/libmedia/AudioRecord.cpp:237:25: error: 'AUDIO_FORMAT_EVRC' was not declared in this scope
frameworks/base/media/libmedia/AudioRecord.cpp:239:25: error: 'AUDIO_FORMAT_QCELP' was not declared in this scope
frameworks/base/media/libmedia/AudioRecord.cpp: In member function 'int android::AudioRecord::frameSize() const':
frameworks/base/media/libmedia/AudioRecord.cpp:338:28: error: 'AUDIO_FORMAT_EVRC' was not declared in this scope
frameworks/base/media/libmedia/AudioRecord.cpp:340:28: error: 'AUDIO_FORMAT_QCELP' was not declared in this scope
target thumb C++: libmedia <= frameworks/base/media/libmedia/mediaplayer.cpp
make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/libmedia_intermediates/AudioRecord.o] Error 1
make: *** Waiting for unfinished jobs....
Please provide your suggestions and solution
venkat rao
[email protected]
Hey guys, I'm getting this error while building jb roms from source (tried with cm10 and slimbean):
Code:
target thumb C++: libaudioflinger <= frameworks/av/services/audioflinger/AudioPolicyService.cpp
frameworks/av/services/audioflinger/AudioPolicyService.cpp: In member function 'virtual audio_io_handle_t android::AudioPolicyService::getInput(audio_source _t, uint32_t, audio_format_t, uint32_t, audio_in_acoustics_t, int)':
frameworks/av/services/audioflinger/AudioPolicyService.cpp:287:83: error: too few arguments to function
frameworks/av/services/audioflinger/AudioPolicyService.cpp: At global scope:
frameworks/av/services/audioflinger/AudioPolicyService.cpp:1631:5: error: invalid conversion from 'audio_io_handle_t (*)(void*, audio_devices_t*, uint32_t*, audio_format_t*, audio_channel_mask_t*, audio_in_acoustics_t) {aka int (*)(void*, audio_devices_t*, unsigned int*, audio_format_t*, unsigned int*, audio_in_acoustics_t)}' to 'audio_io_handle_t (*)(void*, audio_devices_t*, uint32_t*, audio_format_t*, audio_channel_mask_t*, audio_in_acoustics_t, audio_input_clients*) {aka int (*)(void*, audio_devices_t*, unsigned int*, audio_format_t*, unsigned int*, audio_in_acoustics_t, audio_input_clients*)}' [-fpermissive]
frameworks/av/services/audioflinger/AudioPolicyService.cpp:1631:5: error: invalid conversion from 'int (*)(void*, audio_io_handle_t) {aka int (*)(void*, int)}' to 'int (*)(void*, audio_io_handle_t, audio_input_clients*) {aka int (*)(void*, int, audio_input_clients*)}' [-fpermissive]
frameworks/av/services/audioflinger/AudioPolicyService.cpp:1631:5: error: invalid conversion from 'audio_io_handle_t (*)(void*, audio_module_handle_t, audio_devices_t*, uint32_t*, audio_format_t*, audio_channel_mask_t*) {aka int (*)(void*, int, audio_devices_t*, unsigned int*, audio_format_t*, unsigned int*)}' to 'audio_io_handle_t (*)(void*, audio_module_handle_t, audio_devices_t*, uint32_t*, audio_format_t*, audio_channel_mask_t*, audio_input_clients*) {aka int (*)(void*, int, audio_devices_t*, unsigned int*, audio_format_t*, unsigned int*, audio_input_clients*)}' [-fpermissive]
make: *** [out/target/product/kumquat/obj/SHARED_LIBRARIES/libaudioflinger_intermediates/AudioPolicyService.o] Error 1
Do you know how can I fix it?
I'm using ubuntu 13.04 with kernel 3.9.3, it might be what causes the issue?
Tried to downgrade to ubuntu 12.04 but I have the same error...
Edit: forgot "make clean", doing a new build now
Edit2: no way, still the same error
@DevSwift1 since you already built aosp 4.1.2, have you had the same issue?
elia222 said:
Tried to downgrade to ubuntu 12.04 but I have the same error...
Edit: forgot "make clean", doing a new build now
Edit2: no way, still the same error
@DevSwift1 since you already built aosp 4.1.2, have you had the same issue?
Click to expand...
Click to collapse
Yes i had same issue when i take audio commits from FXP. Something is wrong.
DevSwift1 said:
Yes i had same issue when i take audio commits from FXP. Something is wrong.
Click to expand...
Click to collapse
Thanks, I'll report in cm10 thread, so that fxp can fix it.
@DevSwift1 As fxp said, do you know how to add one more parameter to audio?
I've tried few things but my C/C++ knowledge is quite poor and I still get the same error.
Any one ? not able to fix this .
Code:
libstagefright_timedtext <= frameworks/av/media/libstagefright/timedtext/TimedTextSource.cpp
In file included from frameworks/av/include/media/IAudioFlinger.h:37:0,
from frameworks/av/include/media/AudioSystem.h:22,
from frameworks/av/include/media/MediaPlayerInterface.h:29,
from frameworks/av/media/libstagefright/timedtext/TimedTextDriver.cpp:24:
hardware/libhardware/include/hardware/audio_policy.h:188:36: error: 'audio_input_clients' has not been declared
hardware/libhardware/include/hardware/audio_policy.h:346:37: error: 'audio_input_clients' has not been declared
hardware/libhardware/include/hardware/audio_policy.h:350:25: error: 'audio_input_clients' has not been declared
hardware/libhardware/include/hardware/audio_policy.h:458:37: error: 'audio_input_clients' has not been declared
In file included from frameworks/av/include/media/AudioSystem.h:22:0,
from frameworks/av/include/media/MediaPlayerInterface.h:29,
from frameworks/av/media/libstagefright/timedtext/TimedTextDriver.cpp:24:
frameworks/av/include/media/IAudioFlinger.h:173:41: error: 'audio_input_clients' has not been declared
frameworks/av/include/media/IAudioFlinger.h:175:33: error: 'audio_input_clients' has not been declared
frameworks/av/include/media/IAudioFlinger.h:220:29: error: 'audio_input_clients' has not been declared
In file included from frameworks/av/include/media/MediaPlayerInterface.h:29:0,
from frameworks/av/media/libstagefright/timedtext/TimedTextDriver.cpp:24:
frameworks/av/include/media/AudioSystem.h:225:37: error: 'audio_input_clients' has not been declared
make: *** [/home/percy/PAC/out/target/product/nypon/obj/STATIC_LIBRARIES/libstagefright_timedtext_intermediates/TimedTextDriver.o] Error 1
make: *** Waiting for unfinished jobs....
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:
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?