AnsweredAssumed Answered

error when porting android on imx6 sabrelite reg.

Question asked by Pratik Pawar on Dec 13, 2013
Latest reply on Dec 24, 2013 by Rita Wang

HI,

 

          I am trying to port android on imx6 sabrelite by following Android_user_Guide.pdf  i followed the steps mentioned in the document and facing with errors

 

$ cd ~/myandroid

$ source build/envsetup.sh

$ lunch sabresd_6dq-user

$ make

 

errors :

 

  OBJCOPY arch/arm/boot/zImage

  Kernel: arch/arm/boot/zImage is ready

  UIMAGE  arch/arm/boot/uImage

Image Name:   Linux-3.0.35-06114-g3b96084

Created:      Sat Dec 14 11:42:14 2013

Image Type:   ARM Linux Kernel Image (uncompressed)

Data Size:    4709256 Bytes = 4598.88 kB = 4.49 MB

Load Address: 10008000

Entry Point:  10008000

  Image arch/arm/boot/uImage is ready

make[1]: Leaving directory `/home/sasidhar/competency_imx/android/myandroid/kernel_imx'

install -D kernel_imx/arch/arm/boot/uImage  out/target/product/sabresd_6dq/uImage

install -D kernel_imx/arch/arm/boot/zImage  out/target/product/sabresd_6dq/kernel

host Executable: mkfs.ubifs (out/host/linux-x86/obj/EXECUTABLES/mkfs.ubifs_intermediates/mkfs.ubifs)

/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.so when searching for -lz

/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.a when searching for -lz

/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/liblzo2.so when searching for -llzo2

/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/liblzo2.a when searching for -llzo2

/usr/bin/ld: cannot find -llzo2

/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libuuid.so when searching for -luuid

/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libuuid.a when searching for -luuid

/usr/bin/ld: cannot find -luuid

/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libm.so when searching for -lm

/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libm.a when searching for -lm

/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.so when searching for -lc

/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.a when searching for -lc

collect2: error: ld returned 1 exit status

make: *** [out/host/linux-x86/obj/EXECUTABLES/mkfs.ubifs_intermediates/mkfs.ubifs] Error 1

 

Please help me to fix these errors.

 

Thanks & Regards,

Pratik

Outcomes