OS : ubuntu 10.04 LTS
JDK : sun-java1.5.0-jdk
~/froyo$ make clean && make clobber
~/froyo$ make -j2
**** error message ****
frameworks/base/core/java/com/android/internal/os/ZygoteInit.java:554: cannot find symbol
symbol : method forkSystemServer(int,int,int[],int,<nulltype>,long,long)
location: class dalvik.system.Zygote
pid = Zygote.forkSystemServer(
^
target Strip: gralloc.default (out/target/product/generic/obj/lib/gralloc.default.so)
target Strip: sensors.goldfish (out/target/product/generic/obj/lib/sensors.goldfish.so)
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.
1 error
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
*****************************************************************************************************
What's wrong?! help pleases...
packages/apps/ROMControl/src/com/roman/romcontrol/fragments/UserInterface.java:118: cannot find symbol
symbol : variable config_enableCrtAnimations
location: class com.android.internal.R.bool
if (!getResources().getBoolean (com.android.internal.R.bool.config_enableCrtAnimations)) {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
make: *** [out/target/common/obj/APPS/ROMControl_intermediates/classes-full-debug.jar] Error 41
Please help, don't know what is happening.
My guess is your not using the proper gcc version... I got the error with 4.4 but 4.3 it builds fine
Hi. I'm trying to compile CM9 for my Galaxy Mini, but I always get these errors:
Code:
frameworks/base/core/java/android/view/inputmethod/InputMethodManager.java:1485: cannot find symbol
symbol : variable config_symKeyShowsImePicker
location: class com.android.internal.R.bool
if (context.getResources().getBoolean(com.android.internal.R.bool.config_symKeyShowsImePicker)) {
^
frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaDataConnectionTracker.java:127: cannot find symbol
symbol : variable config_cdma_dun_supported_types
location: class com.android.internal.R.array
com.android.internal.R.array.config_cdma_dun_supported_types);
^
frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/BearerData.java:884: cannot find symbol
symbol : variable config_smsSamsungCdmaAlternateMessageIDEncoding
location: class com.android.internal.R.bool
.getBoolean(com.android.internal.R.bool.config_smsSamsungCdmaAlternateMessageIDEncoding);
^
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.
3 errors
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
[email protected] ~ $
Any solutions would be appreciated. Thanks.
i guess there are more errors on top of that...you could try to provide more output...i think you missed to checkout some repositories or so
Here's some more output: http://pastebin.com/pQy9T0uU
I am compiling the AOSP Gingerbread 2.3.7 for Samsung Galaxy Fit. I have made a successful build but now i am fixing the RIL for the incoming Calls. I am using the cyanogenmod 7.2 sources to patch the AOSP source , but i am getting these errors
Code:
Copying: out/target/common/obj/JAVA_LIBRARIES/core_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/framework/dx.jar
Install: out/host/linux-x86/bin/dx
Copying: out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/bin/aidl
Copying: out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/emma_out/lib/classes-jarjar.jar
target Java: framework (out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes)
frameworks/base/telephony/java/com/android/internal/telephony/RIL.java:628: cannot find symbol
symbol : variable config_rilNeedsNullPath
location: class com.android.internal.R.bool
rilNeedsNullPath = context.getResources().getBoolean(com.android.internal.R.bool.config_rilNeedsNullPath);
^
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.
1 error
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
Please help me and please fix this problem.
Compiling SDK Stubs: /home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar
Install: /home/asyan4ik/firmware/aokp/out/target/product/hwmt1_u06/system/app/Settings.apk
target R.java/Manifest.java: SettingsProvider (/home/asyan4ik/firmware/aokp/out/target/common/obj/APPS/SettingsProvider_intermediates/src/R.stamp)
Symlink: /home/asyan4ik/firmware/aokp/out/target/product/hwmt1_u06/system/bin/su -> /system/xbin/su
target Java: SettingsProvider (/home/asyan4ik/firmware/aokp/out/target/common/obj/APPS/SettingsProvider_intermediates/classes)
Note: frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Copying: /home/asyan4ik/firmware/aokp/out/target/common/obj/APPS/SettingsProvider_intermediates/classes-jarjar.jar
Copying: /home/asyan4ik/firmware/aokp/out/target/common/obj/APPS/SettingsProvider_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/asyan4ik/firmware/aokp/out/target/common/obj/APPS/SettingsProvider_intermediates/classes.jar
Proguard: /home/asyan4ik/firmware/aokp/out/target/common/obj/APPS/SettingsProvider_intermediates/proguard.classes.jar
ProGuard, version 4.4
Reading program jar [/home/asyan4ik/firmware/aokp/out/target/common/obj/APPS/SettingsProvider_intermediates/classes.jar]
Reading library jar [/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes.jar]
Reading library jar [/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar]
Reading library jar [/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar]
Reading library jar [/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar]
Reading library jar [/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar]
/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/org/apache/http/impl/conn/tsccm/BasicPoolEntryRef.java:5: warning: [unchecked] unchecked conversion
found : java.lang.ref.ReferenceQueue
required: java.lang.ref.ReferenceQueue<? super org.apache.http.impl.conn.tsccm.BasicPoolEntry>
public BasicPoolEntryRef(org.apache.http.impl.conn.tsccm.BasicPoolEntry entry, java.lang.ref.ReferenceQueue<java.lang.Object> queue) { super(null,(java.lang.ref.ReferenceQueue)null); throw new RuntimeException("Stub!"); }
^
/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/security/cert/PKIXBuilderParameters.java:5: warning: [unchecked] unchecked conversion
found : java.util.Set
required: java.util.Set<java.security.cert.TrustAnchor>
public PKIXBuilderParameters(java.util.Set<java.security.cert.TrustAnchor> trustAnchors, java.security.cert.CertSelector targetConstraints) throws java.security.InvalidAlgorithmParameterException { super((java.util.Set)null); throw new RuntimeException("Stub!"); }
^
Preparing output jar [/home/asyan4ik/firmware/aokp/out/target/common/obj/APPS/SettingsProvider_intermediates/proguard.classes.jar]
Copying resources from program jar [/home/asyan4ik/firmware/aokp/out/target/common/obj/APPS/SettingsProvider_intermediates/classes.jar]
target Dex: SettingsProvider
/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/util/concurrent/ScheduledThreadPoolExecutor.java:6: warning: [unchecked] unchecked conversion
found : java.util.concurrent.BlockingQueue
required: java.util.concurrent.BlockingQueue<java.lang.Runnable>
public ScheduledThreadPoolExecutor(int corePoolSize) { super(0,0,0,(java.util.concurrent.TimeUnit)null,(java.util.concurrent.BlockingQueue)null,(java.util.concurrent.ThreadFactory)null,(java.util.concurrent.RejectedExecutionHandler)null); throw new RuntimeException("Stub!"); }
^
/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/util/concurrent/ScheduledThreadPoolExecutor.java:7: warning: [unchecked] unchecked conversion
found : java.util.concurrent.BlockingQueue
required: java.util.concurrent.BlockingQueue<java.lang.Runnable>
public ScheduledThreadPoolExecutor(int corePoolSize, java.util.concurrent.ThreadFactory threadFactory) { super(0,0,0,(java.util.concurrent.TimeUnit)null,(java.util.concurrent.BlockingQueue)null,(java.util.concurrent.ThreadFactory)null,(java.util.concurrent.RejectedExecutionHandler)null); throw new RuntimeException("Stub!"); }
^
/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/util/concurrent/ScheduledThreadPoolExecutor.java:8: warning: [unchecked] unchecked conversion
found : java.util.concurrent.BlockingQueue
required: java.util.concurrent.BlockingQueue<java.lang.Runnable>
public ScheduledThreadPoolExecutor(int corePoolSize, java.util.concurrent.RejectedExecutionHandler handler) { super(0,0,0,(java.util.concurrent.TimeUnit)null,(java.util.concurrent.BlockingQueue)null,(java.util.concurrent.ThreadFactory)null,(java.util.concurrent.RejectedExecutionHandler)null); throw new RuntimeException("Stub!"); }
^
/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/util/concurrent/ScheduledThreadPoolExecutor.java:9: warning: [unchecked] unchecked conversion
found : java.util.concurrent.BlockingQueue
required: java.util.concurrent.BlockingQueue<java.lang.Runnable>
public ScheduledThreadPoolExecutor(int corePoolSize, java.util.concurrent.ThreadFactory threadFactory, java.util.concurrent.RejectedExecutionHandler handler) { super(0,0,0,(java.util.concurrent.TimeUnit)null,(java.util.concurrent.BlockingQueue)null,(java.util.concurrent.ThreadFactory)null,(java.util.concurrent.RejectedExecutionHandler)null); throw new RuntimeException("Stub!"); }
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
6 warnings
res/drawable-land-hdp�/jog_tab_bar_right_end_confirm_gray.9.png: mismatching "local" filename (res/drawable-land-hdpi/jog_tab_bar_right_end_confirm_gray.9.png),
continuing with "central" filename version
make: *** [/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar] Ошибка 1
make: *** Ожидание завершения заданий...
how to fix ?