I think you probably need revise the Android.mk under folder alsa_sound, though I am not sure how. If you solve the problem,please let me know how. 在2009-03-20,virstud <[email protected]> 写道:
> >how long wait? > >On 20 мар, 16:35, Sean McNeil <[email protected]> wrote: >> There are major updates being merged into cupcake. You'll have to wait >> until they are completed before ALSA support is updated to match. >> >> virstud wrote: >> > mkdir cupcake >> > cd cupcake >> > git clone git://android.git.kernel.org/platform/external/alsa-lib.git >> > git clone git://android.git.kernel.org/platform/hardware/alsa_sound.git >> > repo init -u git://android.git.kernel.org/platform/manifest.git -b >> > cupcake >> > repo sync >> > cp -a alsa-lib ?external >> > cp -a add BOARD_USES_ALSA_AUDIO := true hardware >> > vim ~/cupcake/build/target/board/generic/BoardConfig.mk >> > add BOARD_USES_ALSA_AUDIO := true >> > #BOARD_USES_GENERIC_AUDIO := true >> > cd ~/cupcake >> > make >> >> > error: >> >> > target arm C++: libaudio <= hardware/alsa_sound/AudioHardwareALSA.cpp >> > hardware/alsa_sound/AudioHardwareALSA.cpp: In function >> > 'android::AudioHardwareInterface* createAudioHardware()': >> > hardware/alsa_sound/AudioHardwareALSA.cpp:65: error: cannot allocate >> > an object of abstract type 'android::AudioHardwareALSA' >> > hardware/alsa_sound/AudioHardwareALSA.h:208: note: ? because the >> > following virtual functions are pure within >> > 'android::AudioHardwareALSA': >> > hardware/libhardware_legacy/include/hardware_legacy/ >> > AudioHardwareInterface.h:215: note: ? ? ? ?virtual android::AudioStreamIn* >> > android::AudioHardwareInterface::openInputStream(int, int, uint32_t, >> > android::status_t*, android::AudioSystem::audio_in_acoustics) >> > make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/ >> > libaudio_intermediates/AudioHardwareALSA.o] Ошибка 1 >> >> > how resolv?? >> >> >> --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
