• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Build Error in Mac OSX

crazymoo

Lurker
I'm building the source code and I am encountering this error. Output
is as follows:



uild/core/product_config.mk:207: WARNING: adding test OTA key
============================================
TARGET_PRODUCT=htc_dream
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=darwin
HOST_BUILD_TYPE=release
BUILD_ID=
============================================
build/core/main.mk:178: implicitly installing apns-conf_sdk.xml
build/core/Makefile:17: warning: overriding commands for target `out/
target/product/dream/system/etc/apns-conf.xml'
build/core/Makefile:17: warning: ignoring old commands for target `out/
target/product/dream/system/etc/apns-conf.xml'
target thumb C++: libaudio <= hardware/msm7k/libaudio/
AudioHardware.cpp
hardware/msm7k/libaudio/AudioHardware.cpp: In member function 'virtual
android::AudioStreamOut* android::AudioHardware::openOutputStream(int,
int, uint32_t)':
hardware/msm7k/libaudio/AudioHardware.cpp:145: error: cannot allocate
an object of abstract type
'android::AudioHardware::AudioStreamOutMSM72xx'
hardware/msm7k/libaudio/AudioHardware.h:144: note: because the
following virtual functions are pure within
'android::AudioHardware::AudioStreamOutMSM72xx':
hardware/libhardware/include/hardware/AudioHardwareInterface.h:70:
note: virtual uint32_t android::AudioStreamOut::latency() const
hardware/msm7k/libaudio/AudioHardware.cpp: In member function 'virtual
android::AudioStreamIn* android::AudioHardware::openInputStream(int,
int, uint32_t)':
hardware/msm7k/libaudio/AudioHardware.cpp:173: error: cannot allocate
an object of abstract type
'android::AudioHardware::AudioStreamInMSM72xx'
hardware/msm7k/libaudio/AudioHardware.h:169: note: because the
following virtual functions are pure within
'android::AudioHardware::AudioStreamInMSM72xx':
hardware/libhardware/include/hardware/AudioHardwareInterface.h:128:
note: virtual android::status_t android::AudioStreamIn::standby()
hardware/msm7k/libaudio/AudioHardware.cpp: In member function
'android::status_t android::AudioHardware::doAudioRouteOrMute
(uint32_t)':
hardware/msm7k/libaudio/AudioHardware.cpp:689: error: 'mMode' was not
declared in this scope
hardware/msm7k/libaudio/AudioHardware.cpp: In member function 'virtual
android::status_t android::AudioHardware::doRouting()':
hardware/msm7k/libaudio/AudioHardware.cpp:704: error: 'mRoutes' was
not declared in this scope
hardware/msm7k/libaudio/AudioHardware.cpp:704: error: 'mMode' was not
declared in this scope
hardware/msm7k/libaudio/AudioHardware.cpp:714: error:
'ROUTE_BLUETOOTH' is not a member of 'android::AudioSystem'
hardware/msm7k/libaudio/AudioHardware.cpp: In member function
'android::status_t android::AudioHardware::checkMicMute()':
hardware/msm7k/libaudio/AudioHardware.cpp:746: error: 'mMode' was not
declared in this scope
hardware/msm7k/libaudio/AudioHardware.cpp: In function
'android::AudioHardwareInterface* android::createAudioHardware()':
hardware/msm7k/libaudio/AudioHardware.cpp:1077: error: cannot allocate
an object of abstract type 'android::AudioHardware'
hardware/msm7k/libaudio/AudioHardware.h:96: note: because the
following virtual functions are pure within 'android::AudioHardware':
hardware/libhardware/include/hardware/AudioHardwareInterface.h:178:
note: virtual android::status_t
android::AudioHardwareInterface::setRouting(int, uint32_t)
hardware/libhardware/include/hardware/AudioHardwareInterface.h:180:
note: virtual android::status_t
android::AudioHardwareInterface::getRouting(int, uint32_t*)
hardware/libhardware/include/hardware/AudioHardwareInterface.h:187:
note: virtual android::status_t
android::AudioHardwareInterface::setMode(int)
hardware/libhardware/include/hardware/AudioHardwareInterface.h:188:
note: virtual android::status_t
android::AudioHardwareInterface::getMode(int*)
hardware/libhardware/include/hardware/AudioHardwareInterface.h:200:
note: virtual size_t
android::AudioHardwareInterface::getInputBufferSize(uint32_t, int,
int)
hardware/libhardware/include/hardware/AudioHardwareInterface.h:207:
note: virtual android::AudioStreamOut*
android::AudioHardwareInterface::openOutputStream(int, int, uint32_t,
android::status_t*)
hardware/libhardware/include/hardware/AudioHardwareInterface.h:214:
note: virtual android::AudioStreamIn*
android::AudioHardwareInterface::openInputStream(int, int, uint32_t,
android::status_t*)
hardware/libhardware/include/hardware/AudioHardwareInterface.h:217:
note: virtual android::status_t
android::AudioHardwareInterface::dumpState(int, const
android::Vector<android::String16>&)
make: *** [out/target/product/dream/obj/SHARED_LIBRARIES/
libaudio_intermediates/AudioHardware.o] Error 1

What am I doing wrong? Any insight would be appreciated.
 
Back
Top Bottom