Hi,

I am trying to build android by following instructions provided in 
https://source.android.com/source/devices for HiKey620 board. This mean, I 
am using the master branch of AOSP for the build. I am getting following 
error: 

build/core/base_rules.mk:238: error: device/linaro/hikey/gralloc960: 
MODULE.TARGET.SHARED_LIBRARIES.gralloc.hikey already defined by 
device/linaro/hikey/gralloc.

I have attached the build log that may provide more details. 

Can I get help on how to overcome this? Let me know if I need to share more 
details.

Thanks,
Aananth

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
aananth@m700:~/aosp$ make -j32
============================================
PLATFORM_VERSION_CODENAME=O
PLATFORM_VERSION=O
TARGET_PRODUCT=hikey
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-78-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NYC
OUT_DIR=out
============================================
[38/38] bootstrap out/soong/.minibootstrap/build.ninja.in
[2/2] bootstrap out/soong/.minibootstrap/build.ninja.in
[4/4] cp out/soong/.bootstrap/bin/bpglob
[500/501] glob vendor/*/*/Android.bp
[46/46] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
out/build-hikey.ninja is missing, regenerating...
[135/685] including ./device/linaro/hikey/Android.mk ...
build/core/base_rules.mk:238: error: device/linaro/hikey/gralloc960: 
MODULE.TARGET.SHARED_LIBRARIES.gralloc.hikey already defined by 
device/linaro/hikey/gralloc.
06:21:56 ckati failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1

#### make failed to build some targets (01:02 (mm:ss)) ####

Reply via email to