Error in compiling Android 8.0

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

Error in compiling Android 8.0

Jump to solution
1,932 Views
Ketki
Contributor I

Hello ,

I have taken code from the following link :

https://github.com/technexion-android/cookers/tree/tn-o8.0.0_1.0.0-ga#technexion-android-8-sdk-for-i...

I have successfully compiled it and used the code last year .
The same code compiles fine even now.


Now when I pulled a fresh copy on the same system I am facing compilation error after 3% compilation as follows. It's the same everytime. I can't find a specific file where there could be error :


CC drivers/usb/gadget/function/f_ptp.o
CC drivers/usb/gadget/function/f_audio_source.o
CC drivers/usb/gadget/function/f_accessory.o
LD drivers/usb/gadget/function/usb_f_acm.o
LD drivers/usb/gadget/function/usb_f_ss_lb.o
LD drivers/usb/gadget/function/usb_f_serial.o
LD drivers/usb/gadget/function/usb_f_obex.o
LD drivers/usb/gadget/function/usb_f_ncm.o
LD drivers/usb/gadget/function/usb_f_ecm.o
LD drivers/usb/gadget/function/usb_f_eem.o
LD drivers/usb/gadget/function/usb_f_ecm_subset.o
LD drivers/usb/gadget/function/usb_f_rndis.o
LD drivers/usb/gadget/function/usb_f_mass_storage.o
LD drivers/usb/gadget/function/usb_f_midi.o
LD drivers/usb/gadget/function/usb_f_mtp.o
LD drivers/usb/gadget/function/usb_f_ptp.o
LD drivers/usb/gadget/function/usb_f_audio_source.o
LD drivers/usb/gadget/function/usb_f_fs.o
LD drivers/usb/gadget/function/usb_f_accessory.o
LD drivers/usb/gadget/function/built-in.o
LD drivers/usb/gadget/built-in.o
LD drivers/usb/built-in.o
LD drivers/built-in.o
LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 8 of arch/arm/crypto/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 29 of arch/arm/mach-imx/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 1665 of kernel/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 644 of mm/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 1156 of fs/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 51 of crypto/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 565 of block/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 506 of lib/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 21 of drivers/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 6 of sound/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 1201 of net/built-in.o is not in EXIDX output section
KSYM .tmp_kallsyms1.o
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 8 of arch/arm/crypto/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 29 of arch/arm/mach-imx/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 1665 of kernel/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 644 of mm/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 1156 of fs/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 51 of crypto/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 565 of block/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 506 of lib/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 21 of drivers/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 6 of sound/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 1201 of net/built-in.o is not in EXIDX output section
KSYM .tmp_kallsyms2.o
LD vmlinux
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 8 of arch/arm/crypto/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 29 of arch/arm/mach-imx/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 1665 of kernel/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 644 of mm/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 1156 of fs/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 51 of crypto/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 565 of block/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 506 of lib/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 21 of drivers/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 6 of sound/built-in.o is not in EXIDX output section
/home/aczet/Android/Android_8/balance_repo/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 1201 of net/built-in.o is not in EXIDX output section
SORTEX vmlinux
SYSMAP System.map
OBJCOPY arch/arm/boot/Image
Building modules, stage 2.
MODPOST 6 modules
Kernel: arch/arm/boot/Image is ready
CC drivers/media/usb/gspca/gspca_main.mod.o
CC drivers/rpmsg/imx_rpmsg_pingpong.mod.o
CC drivers/rpmsg/imx_rpmsg_tty.mod.o
LDS arch/arm/boot/compressed/vmlinux.lds
AS arch/arm/boot/compressed/head.o
LZO arch/arm/boot/compressed/piggy_data
CC drivers/video/backlight/l4f00242t03.mod.o
CC drivers/video/backlight/lcd.mod.o
CC arch/arm/boot/compressed/misc.o
CC arch/arm/boot/compressed/decompress.o
CC drivers/video/backlight/platform_lcd.mod.o
LD [M] drivers/media/usb/gspca/gspca_main.ko
LD [M] drivers/rpmsg/imx_rpmsg_pingpong.ko
LD [M] drivers/rpmsg/imx_rpmsg_tty.ko
LD [M] drivers/video/backlight/l4f00242t03.ko
LD [M] drivers/video/backlight/lcd.ko
CC arch/arm/boot/compressed/string.o
SHIPPED arch/arm/boot/compressed/hyp-stub.S
SHIPPED arch/arm/boot/compressed/lib1funcs.S
SHIPPED arch/arm/boot/compressed/ashldi3.S
SHIPPED arch/arm/boot/compressed/bswapsdi2.S
AS arch/arm/boot/compressed/hyp-stub.o
LD [M] drivers/video/backlight/platform_lcd.ko
AS arch/arm/boot/compressed/lib1funcs.o
AS arch/arm/boot/compressed/ashldi3.o
AS arch/arm/boot/compressed/bswapsdi2.o
AS arch/arm/boot/compressed/piggy.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
make[1]: Leaving directory '/home/aczet/Android/Android_8/balance_repo/out/target/product/wandboard/obj/KERNEL_OBJ'
make: Leaving directory '/home/aczet/Android/Android_8/balance_repo/vendor/nxp-opensource/kernel_imx'
make: Entering directory '/home/aczet/Android/Android_8/balance_repo/vendor/nxp-opensource/kernel_imx'
make[1]: Entering directory '/home/aczet/Android/Android_8/balance_repo/out/target/product/wandboard/obj/KERNEL_OBJ'
CHK include/config/kernel.release
GEN ./Makefile
CHK include/generated/uapi/linux/version.h
Using /home/aczet/Android/Android_8/balance_repo/vendor/nxp-opensource/kernel_imx as source for kernel
CHK include/generated/utsrelease.h
CHK include/generated/timeconst.h
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL /home/aczet/Android/Android_8/balance_repo/vendor/nxp-opensource/kernel_imx/scripts/checksyscalls.sh
make[1]: Leaving directory '/home/aczet/Android/Android_8/balance_repo/out/target/product/wandboard/obj/KERNEL_OBJ'
make: Leaving directory '/home/aczet/Android/Android_8/balance_repo/vendor/nxp-opensource/kernel_imx'
make: Entering directory '/home/aczet/Android/Android_8/balance_repo/vendor/nxp-opensource/kernel_imx'
make[1]: Entering directory '/home/aczet/Android/Android_8/balance_repo/out/target/product/wandboard/obj/KERNEL_OBJ'
INSTALL drivers/media/usb/gspca/gspca_main.ko
INSTALL drivers/rpmsg/imx_rpmsg_pingpong.ko
INSTALL drivers/rpmsg/imx_rpmsg_tty.ko
INSTALL drivers/video/backlight/l4f00242t03.ko
INSTALL drivers/video/backlight/lcd.ko
INSTALL drivers/video/backlight/platform_lcd.ko
DEPMOD 4.9.17-gf8275d29aa3c
make[1]: Leaving directory '/home/aczet/Android/Android_8/balance_repo/out/target/product/wandboard/obj/KERNEL_OBJ'
make: Leaving directory '/home/aczet/Android/Android_8/balance_repo/vendor/nxp-opensource/kernel_imx'
ninja: build stopped: subcommand failed.
12:21:31 ninja 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 (13:22 (mm:ss)) ####

Labels (3)
0 Kudos
Reply
1 Solution
1,904 Views
jimmychan
NXP TechSupport
NXP TechSupport

This is an EVK board from our third party. Their board support package from (https://github.com/technexion-android/) is not maintain by us. Please contact them to request the official support.

Have a nice day.

View solution in original post

0 Kudos
Reply
4 Replies
1,918 Views
jimmychan
NXP TechSupport
NXP TechSupport

Our official release can be found in here:

https://www.nxp.com/design/software/embedded-software/i-mx-software/android-os-for-i-mx-applications...

 

Android O8.0.0_1.0.0 (Linux 4.9 kernel) support i.MX6Q. You can follow the Android user's guide (from Documentation) to compile the BSP.

0 Kudos
Reply
1,915 Views
Ketki
Contributor I

Hi ,

Thank you for your reply.

I am using board EDM-IMX6Q with Wandboard .

I am getting the following error while downloading the code from the above mentioned location:

error: Cannot checkout platform/prebuilts/gradle-plugin: ManifestInvalidRevisionError: revision refs/tags/android-8.0.0_r25 in platform/prebuilts/gradle-plugin not found
error: in `sync`: revision refs/tags/android-8.0.0_r25 in platform/prebuilts/gradle-plugin not found
---------------------------------------------------
------Repo sync failure
---------------------------------------------------

Regards,
Ketki K.

0 Kudos
Reply
1,905 Views
jimmychan
NXP TechSupport
NXP TechSupport

This is an EVK board from our third party. Their board support package from (https://github.com/technexion-android/) is not maintain by us. Please contact them to request the official support.

Have a nice day.

0 Kudos
Reply
1,902 Views
Ketki
Contributor I

Hi Jimmy,

Thank you for immediate reply.

Regards,
Ketki Kule.

0 Kudos
Reply