buliding error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

buliding error

1,233 Views
chenw
Contributor II

build/make/core/base_rules.mk:260: error: vendor/nxp/fsl-codec: MODULE.TARGET.SHARED_LIBRARIES.lib_nb_amr_dec_v2_arm9_elinux already defined by android_build/vendor/fsl-codec.
16:46:47 ckati failed with: exit status 1

wei@wei-VirtualBox:~/work/android/imx-p9.0.0_2.3.0$ source imx_android_setup.sh Start fetching the source for android build
Setting REL_PACKAGE_DIR to /home/wei/work/android/imx-p9.0.0_2.3.0
repo: warning: Python 2 is no longer supported; Please upgrade to Python 3.6+.
repo: warning: Python 2 is no longer supported; Please upgrade to Python 3.6+.
Fetching projects:  28% (193/688) platform/packages/providers/UserDictionaryProvFetching projects:  31% (214/688) platform/hardware/qcom/sdm845/thermal
Fetching projects: 100% (688/688), done.
Checking out projects:  42% (289/688) platform/external/python/google-auth-httplChecking out projects:  50% (344/688) platform/external/subsampling-scale-image-Checking out projects:  77% (530/688) platform/packages/apps/SafetyRegulatoryInfChecking out projects:  80% (551/688) platform/packages/providers/ApplicationsPrChecking out projects:  86% (592/688) platform/prebuilts/gcc/linux-x86/arm/arm-lChecking out projects: 100% (688/688), done.
repo sync has finished successfully.
Android source is ready for the build
wei@wei-VirtualBox:~/work/android/imx-p9.0.0_2.3.0/android_build$

Labels (1)
3 Replies

1,127 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Chen,

   your question is very similar to the description of the link:

android build fails for MX_O8.0.0_1 sabresd_6dq-userdebug 

Check it, please!

In addtion, I have tested P9.0.0_2.3.1 , attachment is detailed steps, for you reference.

Have a nice day!

B.R,

weidong

0 Kudos

1,127 Views
chenw
Contributor II

under my_android path

delete  android_build/vendor

and keep vendor/nxp  , is that ok?

now  it is building for hours ~

0 Kudos

1,127 Views
weidong_sun
NXP TechSupport
NXP TechSupport

I think it is OK.

B.R.

Weidong