You are probably missing external/alsa-lib. You have to have both. Vandana Vuthoo wrote: > Hi Sean/Rupesh, > I applied the same patch but got the foll errorrs > ow when I build I am getting the following error > target arm C++: libaudio <= hardware/alsa_sound/ > AudioHardwareALSA.cpp > make: *** No rule to make target > `out/target/product/generic/obj/STATIC_LIBRARIES/libasound_intermediates/libasound.a', > > needed by > `out/target/product/generic/obj/SHARED_LIBRARIES/libaudio_intermediates/LINKED/libaudio.so'. > > Stop. > > > please help. > Rgds, > vandana > > > On Thu, Jan 8, 2009 at 3:59 PM, Rupesh Gujare <[email protected] > <mailto:[email protected]>> wrote: > > Thanks Sean, > We tested it and found that, it is working nicely. Now we are > able to compile build and play sound. > > Regards, > Rupesh Gujare > > > On Thu, Jan 8, 2009 at 11:03 AM, Sean McNeil > <[email protected] <mailto:[email protected]>> wrote: > > Attached is an unofficial patch that should help. We still > need to go > through our review process, so things will take time. > > Vandana Vuthoo wrote: > > Hi Sean, > > > > When will the patch be available ? I am in a total > fix,please help,Can > > I get some workaround it for it? > > > > Rgds, > > Vandana > > > > On Thu, Jan 8, 2009 at 10:48 AM, Sean McNeil > <[email protected] <mailto:[email protected]> > > <mailto:[email protected] > <mailto:[email protected]>>> wrote: > > > > > > Google has made some minor changes to the audio > interface and Wind > > River > > is aware of them. There is a patch pending and it will > hopefully be > > committed soon. > > > > Sorry for the inconvenience, > > Sean > > > > Praveen wrote: > > > Hi Vandy, > > > > > > I am also getting the same error while compiling. Were > you able to > > > make any progress on this? > > > > > > If so please feel free to share the solution > > > > > > On Jan 8, 9:42 am, Vandy <[email protected] > <mailto:[email protected]> > > <mailto:[email protected] > <mailto:[email protected]>>> wrote: > > > > > >> Hi All, > > >> I am getting the following errors when compiling alsa > for the > > latest > > >> repository. Please help. > > >> > > > > ---------------------------------------------------------------------------------------------------------- > > >> I am compiling android code for arm, when compiling > in sound I am > > >> getting the following errors. > > >> hardware/alsa_sound/AudioHardwareInterface.cpp: In > static member > > >> function 'static android::AudioHardwareInterface* > > >> android::AudioHardwareInterface::create()': > > >> hardware/alsa_sound/AudioHardwareInterface.cpp:96: > error: cannot > > >> allocate an object of abstract type > 'android::AudioHardwareALSA' > > >> hardware/alsa_sound/AudioHardwareALSA.h:224: note: > because the > > >> following virtual functions are pure within > > >> 'android::AudioHardwareALSA': > > >> > 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:196: > > >> note: virtual android::status_t > > >> android::AudioHardwareInterface::setParameter(const > char*, const > > >> char*) > > >> > 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>&) > > >> hardware/alsa_sound/AudioHardwareInterface.cpp:101: > error: cannot > > >> allocate an object of abstract type > 'android::AudioHardwareStub' > > >> hardware/alsa_sound/AudioHardwareStub.h:55: note: > because the > > >> following virtual functions are pure within > > >> 'android::AudioHardwareStub': > > >> > 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>&) > > >> hardware/alsa_sound/AudioHardwareInterface.cpp: At > global scope: > > >> hardware/alsa_sound/AudioHardwareInterface.cpp:136: > error: > > definition > > >> of implicitly-declared > > >> > 'android::AudioHardwareInterface::AudioHardwareInterface()' > > >> hardware/alsa_sound/AudioHardwareInterface.cpp: In > constructor > > >> > 'android::AudioHardwareInterface::AudioHardwareInterface()': > > >> hardware/alsa_sound/AudioHardwareInterface.cpp:139: > error: > > 'mRoutes' > > >> was not declared in this scope > > >> hardware/alsa_sound/AudioHardwareInterface.cpp:140: > error: > > 'mMode' was > > >> not declared in this scope > > >> hardware/alsa_sound/AudioHardwareInterface.cpp: In > member function > > >> 'virtual android::status_t > > android::AudioHardwareInterface::setRouting > > >> (int, uint32_t)': > > >> hardware/alsa_sound/AudioHardwareInterface.cpp:150: > error: > > 'mMode' was > > >> not declared in this scope > > >> hardware/alsa_sound/AudioHardwareInterface.cpp:153: > error: > > 'mRoutes' > > >> was not declared in this scope > > >> hardware/alsa_sound/AudioHardwareInterface.cpp:155: > error: > > 'mMode' was > > >> not declared in this scope > > >> hardware/alsa_sound/AudioHardwareInterface.cpp: In > member function > > >> 'virtual android::status_t > > android::AudioHardwareInterface::getRouting > > >> (int, uint32_t*)': > > >> hardware/alsa_sound/AudioHardwareInterface.cpp:169: > error: > > 'mMode' was > > >> not declared in this scope > > >> hardware/alsa_sound/AudioHardwareInterface.cpp:172: > error: > > 'mRoutes' > > >> was not declared in this scope > > >> hardware/alsa_sound/AudioHardwareInterface.cpp: In > member function > > >> 'virtual android::status_t > android::AudioHardwareInterface::setMode > > >> (int)': > > >> hardware/alsa_sound/AudioHardwareInterface.cpp:187: > error: > > 'mMode' was > > >> not declared in this scope > > >> hardware/alsa_sound/AudioHardwareInterface.cpp:193: > error: > > 'mMode' was > > >> not declared in this scope > > >> hardware/alsa_sound/AudioHardwareInterface.cpp: In > member function > > >> 'virtual android::status_t > android::AudioHardwareInterface::getMode > > >> (int*)': > > >> hardware/alsa_sound/AudioHardwareInterface.cpp:200: > error: > > 'mMode' was > > >> not declared in this scope > > >> hardware/alsa_sound/AudioHardwareInterface.cpp: In > member function > > >> 'virtual android::status_t > > android::AudioHardwareInterface::dumpState > > >> (int, const android::Vector<android::String16>&)': > > >> hardware/alsa_sound/AudioHardwareInterface.cpp:217: > error: > > 'mMode' was > > >> not declared in this scope > > >> hardware/alsa_sound/AudioHardwareInterface.cpp:220: > error: > > 'mRoutes' > > >> was not declared in this scope > > >> > > >> Rgds, > > >> Vandy > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
--~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
