Dear community,
I'm trying out the instructions in Adobe User Guide 13.4.1 but encountered this error.
ram@ram-Latitude-E6520:~/Prevas/Android_porting/Freescale/imx6/myandroid$ make
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=sabresd_6dq
TARGET_BUILD_VARIANT=user
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=UNKNOWN
BUILD_NUMBER=eng.ram.20130502.182613
============================================
build/core/base_rules.mk:166: *** hardware/alsa_sound: MODULE.TARGET.SHARED_LIBRARIES.libaudio already defined by external/alsa_sound. Stop.
I was under the impression that 13.4.1 is a production release by Freescale. Is this is a known bug? It might be that I could hack a makefile to not build one of the alsa_sound directories. But is there a better solution? Thanks.
Sriram, please click Correct Answer/Helpful Answer if your issue has disappreaed.
Thanks,
Yixing
Hi Yixing,
Thanks for your reply. But I didn't receive ANY answers to my question.
- Sriram
Sriram, please respond to our engineer's question in 3 days, or we will close your question.
Thanks,
Yixing
Hi Jay,
Thanks for your follow up.
No, default.xml does not have external/alsa_sound.
I just try clean build again and didn't see this problem.
From your error, the error means your tree will build libaudio twice.
I can only see hardware/alsa_sound/Android.mk has the definition.
6 ifeq ($(strip $(BOARD_USES_ALSA_AUDIO)),true)
...
26
27 LOCAL_MODULE := libaudio
And I didn't have external/alsa_sound, we don't have it in our default.xml.
Do you sync your working tree correctly?