Has anyone attempted to build the Android Pie environment on Ubuntu?

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

Has anyone attempted to build the Android Pie environment on Ubuntu?

1,166 Views
joelamanna92
Contributor I

./scripts/gcc-version.sh: line 26: gcc: command not found
./scripts/gcc-version.sh: line 27: gcc: command not found
/bin/bash: gcc: command not found
/bin/bash: gcc: command not found
/bin/bash: gcc: command not found
./scripts/gcc-version.sh: line 26: gcc: command not found
./scripts/gcc-version.sh: line 27: gcc: command not found
/bin/bash: gcc: command not found
/bin/bash: gcc: command not found
/bin/bash: gcc: command not found
/bin/bash: gcc: command not found
/bin/bash: gcc: command not found
/bin/bash: gcc: command not found
/bin/bash: gcc: command not found
/bin/bash: gcc: command not found
/bin/bash: gcc: command not found
/bin/bash: gcc: command not found
/bin/bash: gcc: command not found
/bin/bash: gcc: command not found
make: Leaving directory '/home/thebeast/android_build/vendor/nxp-opensource/kernel_imx'
make: Entering directory '/home/thebeast/android_build/vendor/nxp-opensource/kernel_imx'
make[1]: Entering directory '/home/thebeast/android_build/out/target/product/evk_8mq/obj/KERNEL_OBJ'
HOSTCC scripts/basic/fixdep
/bin/bash: gcc: command not found
make[3]: *** [scripts/Makefile.host:102: scripts/basic/fixdep] Error 127
make[2]: *** [/home/thebeast/android_build/vendor/nxp-opensource/kernel_imx/Makefile:464: scripts_basic] Error 2
make[2]: *** Waiting for unfinished jobs....
GEN ./Makefile
make[1]: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'. Stop.
make[1]: Leaving directory '/home/thebeast/android_build/out/target/product/evk_8mq/obj/KERNEL_OBJ'
make: *** [Makefile:146: sub-make] Error 2
make: Leaving directory '/home/thebeast/android_build/vendor/nxp-opensource/kernel_imx'
[ 0% 165/92660] target C++: libv8src <= external/v8/src/snapshot/deserializer.cc
[ 0% 166/92660] target C++: libv8src <= external/v8/src/snapshot/partial-serializer.cc
[ 0% 167/92660] target C++: libv8src <= external/v8/src/snapshot/serializer-common.cc
[ 0% 168/92660] target C++: libv8src <= external/v8/src/snapshot/snapshot-source-sink.cc
[ 0% 169/92660] target C++: libv8src <= external/v8/src/snapshot/serializer.cc
[ 0% 170/92660] target C++: libv8src <= external/v8/src/snapshot/startup-serializer.cc
[ 0% 171/92660] target C++: libv8src <= external/v8/src/snapshot/snapshot-common.cc
[ 0% 172/92660] target C++: libv8src <= external/v8/src/source-position-table.cc
[ 0% 173/92660] target C++: libv8src <= external/v8/src/source-position.cc
ninja: build stopped: subcommand failed.
13:28:54 ninja failed with: exit status 1

#### failed to build some targets (03:43 (mm:ss)) ####

thebeast@ubuntu:~/android_build$

0 Kudos
Reply
1 Reply

872 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

Did you installed the required packages? not even the ones that we specify on the documentation. There are more packages that need to be installed to build the android image. Those packages are specified on the Android web page.

Establishing a Build Environment  |  Android Open Source Project 

Hope this information can help you.

Best regards,

Diego.

0 Kudos
Reply