host C: mkfs.ubifs <= external/mtd-utils/mkfs.ubifs/hashtable/hashtable.c
host C: mkfs.ubifs <= external/mtd-utils/mkfs.ubifs/hashtable/hashtable_itr.c
Export includes file: external/mtd-utils/mkfs.ubifs/Android.mk -- out/host/linux-x86/obj/EXECUTABLES/mkfs.ubifs_intermediates/export_includes
host Executable: mkfs.ubifs (out/host/linux-x86/obj/EXECUTABLES/mkfs.ubifs_intermediates/mkfs.ubifs)
/usr/bin/ld: skipping incompatible /usr/lib64/liblzo2.so when searching for -llzo2
/usr/bin/ld: cannot find -llzo2
/usr/bin/ld: skipping incompatible /usr/lib64/libuuid.so when searching for -luuid
/usr/bin/ld: cannot find -luuid
collect2: error: ld returned 1 exit status
build/core/host_executable.mk:19: recipe for target 'out/host/linux-x86/obj/EXECUTABLES/mkfs.ubifs_intermediates/mkfs.ubifs' failed
make: *** [out/host/linux-x86/obj/EXECUTABLES/mkfs.ubifs_intermediates/mkfs.ubifs] Error 1
could anyone help me with this error? my SOC is is i.mx6DL on a custom board and im building for android JB 4.2.2
Thanks Jonny
已解决! 转到解答。
Hi
If you are using 64 bit machine than, You can check your Android.mk has following.
LOCAL_CFLAGS+= -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -m64
LOCAL_CFLAGS+= -Wmissing-prototypes -Winline
LOCAL_LDFLAGS += -L/usr/lib/x86_64-linux-gnu
LOCAL_LDLIBS:= -lz -llzo2 -lm -luuid -m64
Regards
Saurabh
Hi
If you are using 64 bit machine than, You can check your Android.mk has following.
LOCAL_CFLAGS+= -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -m64
LOCAL_CFLAGS+= -Wmissing-prototypes -Winline
LOCAL_LDFLAGS += -L/usr/lib/x86_64-linux-gnu
LOCAL_LDLIBS:= -lz -llzo2 -lm -luuid -m64
Regards
Saurabh
Hi,
Yes that has solved that build issue i had, however one that has been re-occuring is :
make: *** No rule to make target 'out/target/product/fsimx6dl_efusa9/obj/STATIC_LIBRARIES/librecovery_ui_imx_intermediates/export_includes', needed by 'out/target/product/fsimx6dl_efusa9/obj/EXECUTABLES/recovery_intermediates/import_includes'. Stop.
the library doesnt even exist its looking for!
Any help again would be greatly appreciated!!
Thanks Jonny