[General Questions and Answers] henry0504:
I build cm11 for aries for my Xiaomi 2S. Using Ubuntu 10.04.

I use 'brunch aries'. Here is the reult:

GEN selinux/Config.in

/home/henry/android/system/external/busybox/scripts/kconfig/mconf.c: In function ‘exec_conf’:

/home/henry/android/system/external/busybox/scripts/kconfig/mconf.c:481: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result

/home/henry/android/system/external/busybox/scripts/kconfig/mconf.c: In function ‘show_textbox’:

/home/henry/android/system/external/busybox/scripts/kconfig/mconf.c:847: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

SHIPPED scripts/kconfig/zconf.tab.c

SHIPPED scripts/kconfig/lex.zconf.c

SHIPPED scripts/kconfig/zconf.hash.c

/home/henry/android/system/external/busybox/applets/applet_tables.c:144: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result

GEN include/usage_compressed.h

GEN include/applet_tables.h

CC applets/applets.o

HOSTCC applets/usage_pod

LD applets/built-in.o

make[1]: Leaving directory `/home/henry/android/system/external/busybox'

Export includes file: bootable/recovery/applypatch/Android.mk -- /home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/applypatch_intermediates/export_includes

Notice file: bootable/recovery/applypatch/NOTICE -- /home/henry/android/system/out/target/product/aries/obj/NOTICE_FILES/src//system/bin/applypatch.txt

Notice file: bootable/recovery/applypatch/NOTICE -- /home/henry/android/system/out/target/product/aries/obj/NOTICE_FILES/src//system/lib/libapplypatch.a.txt

Notice file: external/bzip2/NOTICE -- /home/henry/android/system/out/target/product/aries/obj/NOTICE_FILES/src//system/lib/libbz.a.txt

Import includes file: /home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/arec_intermediates/import_includes

Export includes file: hardware/qcom/audio-caf/legacy/libalsa-intf/Android.mk -- /home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/arec_intermediates/export_includes

Import includes file: /home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/atrace_intermediates/import_includes

Export includes file: frameworks/native/cmds/atrace/Android.mk -- /home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/atrace_intermediates/export_includes

Notice file: frameworks/native/cmds/atrace/NOTICE -- /home/henry/android/system/out/target/product/aries/obj/NOTICE_FILES/src//system/bin/atrace.txt

Import includes file: /home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/auditd_intermediates/import_includes

Export includes file: system/core/auditd/Android.mk -- /home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/auditd_intermediates/export_includes

make: *** No rule to make target `/home/henry/android/system/out/target/product/aries/obj/SHARED_LIBRARIES/libqminvapi_intermediates/export_includes', needed by `/home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/bdAddrLoader_intermediates/import_includes'. Stop.

make: *** Waiting for unfinished jobs....

Notice file: system/core/auditd/NOTICE -- /home/henry/android/system/out/target/product/aries/obj/NOTICE_FILES/src//system/bin/auditd.txt

henry@henry-desktop:~/android/system$

So, the problem is

make: *** No rule to make target `/home/henry/android/system/out/target/product/aries/obj/SHARED_LIBRARIES/libqminvapi_intermediates/export_includes', needed by `/home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/bdAddrLoader_intermediates/import_includes'. Stop.

But I googled for it and couldn't find a solution. Is something called 'libqminvapi.so' that I have to edit?

Please help! Thanks in advance!

##EDIT##

This warning too:

************************************************************

You are attempting to build with an unsupported JDK.

You use OpenJDK but only Sun/Oracle JDK is supported.

Please follow the machine setup instructions at

https://source.android.com/source/download.html

Continue at your own peril!

************************************************************

************************************************************

You are attempting to build with an unsupported version

of java.

Your version is: java version "1.6.0_33".

The correct version is: Java SE 1.6 or 1.7.

Please follow the machine setup instructions at

https://source.android.com/source/download.html

************************************************************