Android(oreo) compilation issue

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

Android(oreo) compilation issue

7,726 Views
pavandornadula7
Contributor I

Hii,

I was compiling the android source code for sabresd_6dq with the freshly downloaded code, but it fails everytime. Here are the logs,

:~/android_build$ sudo make -j4
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.0.0
TARGET_PRODUCT=aosp_arm
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-31-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=OPD1.170816.018
OUT_DIR=out
============================================
[38/38] bootstrap out/soong/.minibootstrap/build.ninja.in
[1/2] out/soong/.bootstrap/bin/minibp out/soong/.minibootstrap/build.ninja.in
[4/4] out/soong/.bootstrap/bin/minibp out/soong/.bootstrap/build.ninja
[791/792] glob vendor/*/*/Android.bp
[47/47] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -b out/soong -d out/soong/build.ninja.d -o out/soong/build.ninja Android.bp
error: frameworks/av/media/libstagefright/Android.bp:7:1: module "libstagefright" variant "android_arm_armv7-a_shared_core": source path vendor/nxp/fsl-codec/ghdr/common does not exist
ninja: build stopped: subcommand failed.
12:30:47 soong failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
 

0 Kudos
1 Reply

1,024 Views
Yuri
NXP Employee
NXP Employee

Hello,

  refer to  the following thread

https://community.nxp.com/message/1038423 


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos