It looks I got more stuff not building. I recently added BOARD_HAVE_BLUETOOTH, but it didn't build hcitool hciconfig sdptool. It only had hciattach and hcid?
I notice the libasound in the Android.mk, but it doesn't seem to actually build it. On Mar 10, 3:00 pm, Androidphan <niels.kee...@tass.nl> wrote: > I got both alsa-lib as alsa_sound. > > On Mar 10, 2:14 pm, Sean McNeil <seanmcne...@gmail.com> wrote: > > > You need both platform/hardware/alsa_audio and platform/external/alsa-lib > > > Androidphan wrote: > > > That worked, but now I'm getting the following error: > > > > target thumb C++: libaudioflinger <= frameworks/base/libs/audioflinger/ > > > A2dpAudioInterface.cpp > > > make: *** No rule to make target `out/target/product/eee_701/obj/ > > > STATIC_LIBRARIES/libasound_intermediates/libasound.a', needed by `out/ > > > target/product/eee_701/obj/SHARED_LIBRARIES/libaudio_intermediates/ > > > LINKED/libaudio.so'. Stop. > > > > Any clue? > > > > On Mar 9, 2:03 am, Sean McNeil <seanmcne...@gmail.com> wrote: > > > >> We have updated the repository now. Just perform a repo sync and you > > >> should be fine. > > > >> Jack stone wrote: > > > >>> you should search in this group. There is a patch : > > >>>http://groups.google.com/group/android-porting/browse_thread/thread/b... > > > >>> On Mar 6, 8:34 pm,Androidphan<niels.kee...@tass.nl> wrote: > > > >>>> My local_manifest.xml: > > > >>>> <?xml version="1.0" encoding="UTF-8"?> > > >>>> <manifest> > > >>>> <project name="platform/vendor/asus/eee_701" path="vendor/asus/ > > >>>> eee_701"/> > > >>>> <project name="platform/external/alsa-lib" path="external/alsa-lib"/> > > >>>> <project name="platform/hardware/alsa_sound" path="hardware/ > > >>>> alsa_sound"/> > > >>>> </manifest> > > > >>>> I changed BoardConfig with BOARD_USES_ALSA_AUDIO := true > > > >>>> I'm getting the following error: > > >>>> In file included from hardware/alsa_sound/AudioHardwareInterface.cpp: > > >>>> 27: > > >>>> hardware/alsa_sound/AudioHardwareStub.h:24:45: error: hardware/ > > >>>> AudioHardwareInterface.h: No such file or directory > > >>>> In file included from hardware/alsa_sound/AudioHardwareInterface.cpp: > > >>>> 27: > > >>>> hardware/alsa_sound/AudioHardwareStub.h:30: error: expected class-name > > >>>> before '{' token > > >>>> hardware/alsa_sound/AudioHardwareStub.h:39: error: expected ',' or > > >>>> '...' before '<' token > > >>>> hardware/alsa_sound/AudioHardwareStub.h:39: error: ISO C++ forbids > > >>>> declaration of 'Vector' with no type > > >>>> hardware/alsa_sound/AudioHardwareStub.h: In member function 'virtual > > >>>> int android::AudioStreamOutStub::format() const': > > >>>> hardware/alsa_sound/AudioHardwareStub.h:36: error: 'AudioSystem' has > > >>>> not been declared > > >>>> hardware/alsa_sound/AudioHardwareStub.h: At global scope: > > >>>> hardware/alsa_sound/AudioHardwareStub.h:42: error: expected class-name > > >>>> before '{' token > > >>>> hardware/alsa_sound/AudioHardwareStub.h:51: error: expected ',' or > > >>>> '...' before '<' token > > >>>> hardware/alsa_sound/AudioHardwareStub.h:51: error: ISO C++ forbids > > >>>> declaration of 'Vector' with no type > > >>>> hardware/alsa_sound/AudioHardwareStub.h: In member function 'virtual > > >>>> int android::AudioStreamInStub::format() const': > > >>>> hardware/alsa_sound/AudioHardwareStub.h:48: error: 'AudioSystem' has > > >>>> not been declared > > >>>> hardware/alsa_sound/AudioHardwareStub.h: At global scope: > > >>>> hardware/alsa_sound/AudioHardwareStub.h:55: error: expected class-name > > >>>> before '{' token > > >>>> hardware/alsa_sound/AudioHardwareStub.h:72: error: ISO C++ forbids > > >>>> declaration of 'AudioStreamOut' with no type > > >>>> hardware/alsa_sound/AudioHardwareStub.h:72: error: 'AudioStreamOut' > > >>>> declared as a 'virtual' field > > >>>> hardware/alsa_sound/AudioHardwareStub.h:72: error: expected ';' before > > >>>> '*' token > > >>>> hardware/alsa_sound/AudioHardwareStub.h:77: error: ISO C++ forbids > > >>>> declaration of 'AudioStreamIn' with no type > > >>>> hardware/alsa_sound/AudioHardwareStub.h:77: error: 'AudioStreamIn' > > >>>> declared as a 'virtual' field > > >>>> hardware/alsa_sound/AudioHardwareStub.h:77: error: expected ';' before > > >>>> '*' token > > >>>> hardware/alsa_sound/AudioHardwareStub.h:84: error: expected ',' or > > >>>> '...' before '<' token > > >>>> hardware/alsa_sound/AudioHardwareStub.h:84: error: ISO C++ forbids > > >>>> declaration of 'Vector' with no type > > >>>> hardware/alsa_sound/AudioHardwareStub.h:88: error: expected ',' or > > >>>> '...' before '<' token > > >>>> hardware/alsa_sound/AudioHardwareStub.h:88: error: ISO C++ forbids > > >>>> declaration of 'Vector' with no type > > >>>> In file included from hardware/alsa_sound/AudioHardwareInterface.cpp: > > >>>> 28: > > >>>> hardware/alsa_sound/AudioHardwareALSA.h:116: error: 'Mutex' does not > > >>>> name a type > > >>>> hardware/alsa_sound/AudioHardwareALSA.h:130: error: expected class- > > >>>> name before ',' token > > >>>> hardware/alsa_sound/AudioHardwareALSA.h:161: error: expected ',' or > > >>>> '...' before '<' token > > >>>> hardware/alsa_sound/AudioHardwareALSA.h:161: error: ISO C++ forbids > > >>>> declaration of 'Vector' with no type > > >>>> hardware/alsa_sound/AudioHardwareALSA.h:177: error: expected class- > > >>>> name before ',' token > > >>>> hardware/alsa_sound/AudioHardwareALSA.h:211: error: expected ',' or > > >>>> '...' before '<' token > > >>>> hardware/alsa_sound/AudioHardwareALSA.h:211: error: ISO C++ forbids > > >>>> declaration of 'Vector' with no type > > >>>> hardware/alsa_sound/AudioHardwareALSA.h:224: error: expected class- > > >>>> name before '{' token > > >>>> hardware/alsa_sound/AudioHardwareALSA.h:234: error: ISO C++ forbids > > >>>> declaration of 'AudioStreamOut' with no type > > >>>> hardware/alsa_sound/AudioHardwareALSA.h:234: error: 'AudioStreamOut' > > >>>> declared as a 'virtual' field > > >>>> hardware/alsa_sound/AudioHardwareALSA.h:234: error: expected ';' > > >>>> before '*' token > > >>>> hardware/alsa_sound/AudioHardwareALSA.h:238: error: ISO C++ forbids > > >>>> declaration of 'AudioStreamIn' with no type > > >>>> hardware/alsa_sound/AudioHardwareALSA.h:238: error: 'AudioStreamIn' > > >>>> declared as a 'virtual' field > > >>>> hardware/alsa_sound/AudioHardwareALSA.h:238: error: expected ';' > > >>>> before '*' token > > >>>> hardware/alsa_sound/AudioHardwareALSA.h:249: error: expected ',' or > > >>>> '...' before '<' token > > >>>> hardware/alsa_sound/AudioHardwareALSA.h:249: error: ISO C++ forbids > > >>>> declaration of 'Vector' with no type > > >>>> hardware/alsa_sound/AudioHardwareALSA.h:259: error: 'Mutex' does not > > >>>> name a type > > >>>> hardware/alsa_sound/AudioHardwareInterface.cpp:87: error: expected > > >>>> constructor, destructor, or type conversion before '*' token > > >>>> hardware/alsa_sound/AudioHardwareInterface.cpp:230: error: expected > > >>>> `}' at end of input > > >>>> make: *** [out/target/product/eee_701/obj/SHARED_LIBRARIES/ > > >>>> libaudio_intermediates/AudioHardwareInterface.o] Error 1 > > > >>>> Why is that? I notice AudioHardwareInterface.h is missing? --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---