[XDA-University] arya_ruby:
error when compiling cm-10.2 (unofficial) for ancora device

Hi Sir...

I'm noob and want try compile from source from your tutorial. :)

But when I compiling, I get this Error.

arya_ruby@arya-ruby:~/Source/cm-10.2$ brunch ancora
including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130920-UNOFFICIAL-ancora
TARGET_PRODUCT=cm_ancora
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.5.0-40-generic-x86_64-with-Ubuntu-12.10-quantal
HOST_BUILD_TYPE=release
BUILD_ID=JLS36C
OUT_DIR=/home/arya_ruby/Source/cm-10.2/out
============================================

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130920-UNOFFICIAL-ancora
TARGET_PRODUCT=cm_ancora
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.5.0-40-generic-x86_64-with-Ubuntu-12.10-quantal
HOST_BUILD_TYPE=release
BUILD_ID=JLS36C
OUT_DIR=/home/arya_ruby/Source/cm-10.2/out
============================================
build/core/Makefile:44: warning: overriding commands for target `/home/arya_ruby/Source/cm-10.2/out/target/product/ancora/system/etc/mkshrc'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/arya_ruby/Source/cm-10.2/out/target/product/ancora/system/etc/mkshrc'
build/core/Makefile:44: warning: overriding commands for target `/home/arya_ruby/Source/cm-10.2/out/target/product/ancora/system/app/Torch.apk'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/arya_ruby/Source/cm-10.2/out/target/product/ancora/system/app/Torch.apk'
build/core/Makefile:44: warning: overriding commands for target `/home/arya_ruby/Source/cm-10.2/out/target/product/ancora/obj/lib/libril.so'
build/core/dynamic_binary.mk:112: warning: ignoring old commands for target `/home/arya_ruby/Source/cm-10.2/out/target/product/ancora/obj/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/arya_ruby/Source/cm-10.2/out/target/product/ancora/system/bin/rild'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/arya_ruby/Source/cm-10.2/out/target/product/ancora/system/bin/rild'
build/core/Makefile:44: warning: overriding commands for target `/home/arya_ruby/Source/cm-10.2/out/target/product/ancora/system/lib/libril.so'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/arya_ruby/Source/cm-10.2/out/target/product/ancora/system/lib/libril.so'
No private recovery resources for TARGET_DEVICE ancora
build/core/tasks/kernel.mk:56: ***************************************************************
build/core/tasks/kernel.mk:57: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:58: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:59: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:60: * source repository to kernel/samsung/ancora
build/core/tasks/kernel.mk:61: * See http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building
build/core/tasks/kernel.mk:62: * for more information *
build/core/tasks/kernel.mk:63: ***************************************************************
build/core/tasks/kernel.mk:191: warning: overriding commands for target `/home/arya_ruby/Source/cm-10.2/out/target/product/ancora/kernel'
build/core/Makefile:44: warning: ignoring old commands for target `/home/arya_ruby/Source/cm-10.2/out/target/product/ancora/kernel'
target Java: telephony-common (/home/arya_ruby/Source/cm-10.2/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes)
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:44: cannot find symbol
symbol : class DataCallState
location: package com.android.internal.telephony
import com.android.internal.telephony.DataCallState;
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:45: package com.android.internal.telephony.DataConnection does not exist
import com.android.internal.telephony.DataConnection.FailCause;
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:48: cannot find symbol
symbol : class IccCardApplicationStatus
location: package com.android.internal.telephony
import com.android.internal.telephony.IccCardApplicationStatus;
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:49: cannot find symbol
symbol : class IccCardStatus
location: package com.android.internal.telephony
import com.android.internal.telephony.IccCardStatus;
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:94: cannot find symbol
symbol : variable mp
location: class com.android.internal.telephony.RILRequest
rr.mp.writeInt(1);
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:95: cannot find symbol
symbol : variable mp
location: class com.android.internal.telephony.RILRequest
rr.mp.writeInt(1);
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:97: cannot find symbol
symbol : variable mp
location: class com.android.internal.telephony.RILRequest
rr.mp.writeInt(2);
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:98: cannot find symbol
symbol : variable mp
location: class com.android.internal.telephony.RILRequest
rr.mp.writeInt(0);
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:99: cannot find symbol
symbol : variable mp
location: class com.android.internal.telephony.RILRequest
rr.mp.writeInt(0);
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:303: cannot find symbol
symbol : variable mp
location: class com.android.internal.telephony.RILRequest
rr.mp.writeString(address);
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:304: cannot find symbol
symbol : variable mp
location: class com.android.internal.telephony.RILRequest
rr.mp.writeInt(clirMode);
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:305: cannot find symbol
symbol : variable mp
location: class com.android.internal.telephony.RILRequest
rr.mp.writeInt(0); // UUS information is absent
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:308: cannot find symbol
symbol : variable mp
location: class com.android.internal.telephony.RILRequest
rr.mp.writeInt(0); // UUS information is absent
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:310: cannot find symbol
symbol : variable mp
location: class com.android.internal.telephony.RILRequest
rr.mp.writeInt(1); // UUS information is present
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:311: cannot find symbol
symbol : variable mp
location: class com.android.internal.telephony.RILRequest
rr.mp.writeInt(uusInfo.getType());
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:312: cannot find symbol
symbol : variable mp
location: class com.android.internal.telephony.RILRequest
rr.mp.writeInt(uusInfo.getDcs());
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:313: cannot find symbol
symbol : variable mp
location: class com.android.internal.telephony.RILRequest
rr.mp.writeByteArray(uusInfo.getUserData());
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:327: cannot find symbol
symbol : variable mp
location: class com.android.internal.telephony.RILRequest
rr.mp.writeString(address + "/");
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:328: cannot find symbol
symbol : variable mp
location: class com.android.internal.telephony.RILRequest
rr.mp.writeInt(clirMode);
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:329: cannot find symbol
symbol : variable mp
location: class com.android.internal.telephony.RILRequest
rr.mp.writeInt(0);
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:330: cannot find symbol
symbol : variable mp
location: class com.android.internal.telephony.RILRequest
rr.mp.writeInt(0);
^
target thumb C++: libandroid_runtime <= frameworks/base/core/jni/android/graphics/NinePatch.cpp
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:671: cannot find symbol
symbol : class DataCallState
location: class com.android.internal.telephony.SamsungRIL
DataCallState dataCall = new DataCallState();
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:671: cannot find symbol
symbol : class DataCallState
location: class com.android.internal.telephony.SamsungRIL
DataCallState dataCall = new DataCallState();
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:681: package FailCause does not exist
dataCall.status = FailCause.ERROR_UNSPECIFIED.getErrorCode();
^
frameworks/opt/telephony/../../../device/samsung/ancora/ril/SamsungRIL.java:709: package FailCause does not exist
dataCall.status = FailCause.ERROR_UNSPECIFIED.getErrorCode(); // Who knows?
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
25 errors
make: *** [/home/arya_ruby/Source/cm-10.2/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
arya_ruby@arya-ruby:~/Source/cm-10.2$

Can you help me to tell where the error Sir? :D

Sorry for my bad english.