Joerie, See some big difference between what is used in froyo and your repositories. Could you give some more info what has changes wrt to the froyo implementation.
Hedwin On Mon, Dec 27, 2010 at 6:37 AM, deepak singal <[email protected]> wrote: > > Done. > Thanks a lot for your help. > > > On Sun, Dec 26, 2010 at 5:48 AM, hedwin <[email protected]> wrote: >> >> files attached, one note here missing functions/methods are added but >> have no code yet. >> >> On Sat, Dec 25, 2010 at 5:05 PM, deepak singal <[email protected]> >> wrote: >> > Thanks Hedwin >> > >> > Next error msgs - >> > >> > Install: out/target/product/generic/system/app/Mms.apk >> > target thumb C++: libaudiopolicy <= >> > hardware/alsa_sound/AudioPolicyManagerALSA.cpp >> > hardware/alsa_sound/AudioPolicyManagerALSA.cpp: In function >> > 'android::AudioPolicyInterface* >> > >> > android::createAudioPolicyManager(android::AudioPolicyClientInterface*)': >> > hardware/alsa_sound/AudioPolicyManagerALSA.cpp:1209: error: cannot >> > allocate >> > an object of abstract type 'android::AudioPolicyManagerALSA' >> > hardware/alsa_sound/AudioPolicyManagerALSA.h:39: note: because the >> > following virtual functions are pure within >> > 'android::AudioPolicyManagerALSA': >> > >> > hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:94: >> > note: virtual android::status_t >> > android::AudioPolicyInterface::startOutput(android::audio_io_handle_t, >> > android::AudioSystem::stream_type, int) >> > >> > hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:98: >> > note: virtual android::status_t >> > android::AudioPolicyInterface::stopOutput(android::audio_io_handle_t, >> > android::AudioSystem::stream_type, int) >> > >> > hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:132: >> > note: virtual uint32_t >> > >> > android::AudioPolicyInterface::getStrategyForStream(android::AudioSystem::stream_type) >> > >> > hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:135: >> > note: virtual android::audio_io_handle_t >> > android::AudioPolicyInterface::getOutputForEffect(effect_descriptor_t*) >> > >> > hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:136: >> > note: virtual android::status_t >> > android::AudioPolicyInterface::registerEffect(effect_descriptor_t*, >> > android::audio_io_handle_t, uint32_t, int, int) >> > >> > hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:141: >> > note: virtual android::status_t >> > android::AudioPolicyInterface::unregisterEffect(int) >> > make: *** >> > >> > [out/target/product/generic/obj/SHARED_LIBRARIES/libaudiopolicy_intermediates/AudioPolicyManagerALSA.o] >> > Error 1 >> > >> > Thanks & Regards >> > Deepak >> > >> > On Sat, Dec 25, 2010 at 10:52 PM, hedwin <[email protected]> >> > wrote: >> >> >> >> file attached. missing library libasound added. >> >> >> >> On Sat, Dec 25, 2010 at 10:15 AM, deepak singal <[email protected]> >> >> wrote: >> >> > Thanks Hedwin . >> >> > >> >> > Next error msgs - >> >> > >> >> > Install: out/target/product/generic/system/app/Mms.apk >> >> > target Executable: alsa_amixer >> >> > >> >> > >> >> > (out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/LINKED/alsa_amixer) >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function info:external/alsa-utils/amixer/amixer.c:90: error: >> >> > undefined >> >> > reference to 'snd_ctl_card_info_sizeof' >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function info:external/alsa-utils/amixer/amixer.c:90: error: >> >> > undefined >> >> > reference to 'snd_ctl_card_info_sizeof' >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function info:external/alsa-utils/amixer/amixer.c:91: error: >> >> > undefined >> >> > reference to 'snd_ctl_elem_list_sizeof' >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function info:external/alsa-utils/amixer/amixer.c:91: error: >> >> > undefined >> >> > reference to 'snd_ctl_elem_list_sizeof' >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function info:external/alsa-utils/amixer/amixer.c:93: error: >> >> > undefined >> >> > reference to 'snd_ctl_open' >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function info:external/alsa-utils/amixer/amixer.c:94: error: >> >> > undefined >> >> > reference to 'snd_strerror' >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function info:external/alsa-utils/amixer/amixer.c:98: error: >> >> > undefined >> >> > reference to 'snd_ctl_card_info' >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function info:external/alsa-utils/amixer/amixer.c:99: error: >> >> > undefined >> >> > reference to 'snd_strerror' >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function info:external/alsa-utils/amixer/amixer.c:102: error: >> >> > undefined >> >> > reference to 'snd_ctl_card_info_get_id' >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function info:external/alsa-utils/amixer/amixer.c:102: error: >> >> > undefined >> >> > reference to 'snd_ctl_card_info_get_longname' >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function info:external/alsa-utils/amixer/amixer.c:104: error: >> >> > undefined >> >> > reference to 'snd_ctl_card_info_get_mixername' >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function info:external/alsa-utils/amixer/amixer.c:105: error: >> >> > undefined >> >> > reference to 'snd_ctl_card_info_get_components' >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function info:external/alsa-utils/amixer/amixer.c:106: error: >> >> > undefined >> >> > reference to 'snd_ctl_elem_list' >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function info:external/alsa-utils/amixer/amixer.c:107: error: >> >> > undefined >> >> > reference to 'snd_strerror' >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function info:external/alsa-utils/amixer/amixer.c:109: error: >> >> > undefined >> >> > reference to 'snd_ctl_elem_list_get_count' >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function info:external/alsa-utils/amixer/amixer.c:111: error: >> >> > undefined >> >> > reference to 'snd_ctl_close' >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function info:external/alsa-utils/amixer/amixer.c:112: error: >> >> > undefined >> >> > reference to 'snd_mixer_open' >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function info:external/alsa-utils/amixer/amixer.c:113: error: >> >> > undefined >> >> > reference to 'snd_strerror' >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function info:external/alsa-utils/amixer/amixer.c:116: error: >> >> > undefined >> >> > reference to 'snd_mixer_attach' >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function info:external/alsa-utils/amixer/amixer.c:121: error: >> >> > undefined >> >> > reference to 'snd_mixer_selem_register' >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function info:external/alsa-utils/amixer/amixer.c:126: error: >> >> > undefined >> >> > reference to 'snd_mixer_l >> >> > ..... >> >> > ..... >> >> > ..... >> >> > >> >> > >> >> > prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: >> >> > >> >> > >> >> > out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/amixer/amixer.o: >> >> > in function vol_ops:amixer.c(.data.rel.ro+0x30): error: undefined >> >> > reference >> >> > to 'snd_mixer_selem_get_capture_dB' >> >> > collect2: ld returned 1 exit status >> >> > make: *** >> >> > >> >> > >> >> > [out/target/product/generic/obj/EXECUTABLES/alsa_amixer_intermediates/LINKED/alsa_amixer] >> >> > Error 1 >> >> > r...@laptop:gingerbread# >> >> > >> >> > Thanks & Regards >> >> > Deepak >> >> > On Sat, Dec 25, 2010 at 2:28 AM, hedwin <[email protected]> >> >> > wrote: >> >> >> >> >> >> alisp.c attached >> >> >> >> >> >> On Fri, Dec 24, 2010 at 6:33 PM, Mali Laurent >> >> >> <[email protected]> >> >> >> wrote: >> >> >> > Open the hardware/alsa_sound/Android.mk and add LOCAL_MODULE_TAGS >> >> >> > := >> >> >> > optional on the correct module. >> >> >> > >> >> >> > On Fri, Dec 24, 2010 at 1:39 PM, deepak singal >> >> >> > <[email protected]> >> >> >> > wrote: >> >> >> >> >> >> >> >> Hi All, >> >> >> >> >> >> >> >> I'm working on porting gingerbread to EVM3550 using the froyo >> >> >> >> alsa >> >> >> >> lib >> >> >> >> since their are no gingerbread alsa lib. >> >> >> >> I get the following build errors - >> >> >> >> >> >> >> >> build/core/base_rules.mk:74: *** Module name: alsa.default >> >> >> >> build/core/base_rules.mk:75: *** Makefile location: >> >> >> >> hardware/alsa_sound >> >> >> >> build/core/base_rules.mk:76: * >> >> >> >> build/core/base_rules.mk:77: * Each module must use a >> >> >> >> LOCAL_MODULE_TAGS >> >> >> >> in >> >> >> >> its >> >> >> >> build/core/base_rules.mk:78: * Android.mk. Possible tags declared >> >> >> >> by >> >> >> >> a >> >> >> >> module: >> >> >> >> build/core/base_rules.mk:79: * >> >> >> >> build/core/base_rules.mk:80: * optional, debug, eng, tests, >> >> >> >> samples >> >> >> >> build/core/base_rules.mk:81: * >> >> >> >> build/core/base_rules.mk:82: * If the module is expected to be in >> >> >> >> all >> >> >> >> builds >> >> >> >> build/core/base_rules.mk:83: * of a product, then it should use >> >> >> >> the >> >> >> >> build/core/base_rules.mk:84: * "optional" tag: >> >> >> >> build/core/base_rules.mk:85: * >> >> >> >> build/core/base_rules.mk:86: * Add "LOCAL_MODULE_TAGS := >> >> >> >> optional" >> >> >> >> in >> >> >> >> the >> >> >> >> build/core/base_rules.mk:87: * Android.mk for the affected >> >> >> >> module, >> >> >> >> and >> >> >> >> add >> >> >> >> build/core/base_rules.mk:88: * the LOCAL_MODULE value for that >> >> >> >> component >> >> >> >> build/core/base_rules.mk:89: * into the PRODUCT_PACKAGES >> >> >> >> section >> >> >> >> of >> >> >> >> product >> >> >> >> build/core/base_rules.mk:90: * makefile(s) where it's >> >> >> >> necessary, >> >> >> >> if >> >> >> >> build/core/base_rules.mk:91: * appropriate. >> >> >> >> build/core/base_rules.mk:92: * >> >> >> >> build/core/base_rules.mk:93: * If the component should be in >> >> >> >> EVERY >> >> >> >> build >> >> >> >> of ALL >> >> >> >> build/core/base_rules.mk:94: * products, then add its >> >> >> >> LOCAL_MODULE >> >> >> >> value >> >> >> >> to the >> >> >> >> build/core/base_rules.mk:95: * PRODUCT_PACKAGES section of >> >> >> >> build/core/base_rules.mk:96: * build/target/product/core.mk >> >> >> >> build/core/base_rules.mk:97: * >> >> >> >> build/core/base_rules.mk:98: *** user tag detected on new module >> >> >> >> - >> >> >> >> user >> >> >> >> tags are only supported on legacy modules. Stop. >> >> >> >> >> >> >> >> Thanks & Regards >> >> >> >> Deepak >> >> >> >> >> >> >> >> -- >> >> >> >> unsubscribe: [email protected] >> >> >> >> website: http://groups.google.com/group/android-porting >> >> >> > >> >> >> > -- >> >> >> > unsubscribe: [email protected] >> >> >> > website: http://groups.google.com/group/android-porting >> >> >> > >> >> >> >> >> >> -- >> >> >> unsubscribe: [email protected] >> >> >> website: http://groups.google.com/group/android-porting >> >> > >> >> > >> > >> > > > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
