Hello, I compiled Omni for i9300 twice, but now I get errors that I dont know how to fix. Found this thread by accident if any one can help me. I have deleted the entire Omni directory twice and started over again.
Followed this guide for setting up build environment
http://xdaforums.com/showpost.php?p=50748836&postcount=25
Then followed this guide for Omni
http://docs.omnirom.org/Build_for_i9300#Install_and_Sync_the_Source_Code
Also having the same build errors when trying to compile for cyanogenmod for i9300
Here is the error code for Omni
Code:
Install: /home/john/android/omni/out/target/product/i9300/system/app/DocumentsUI.apk
Copying: /home/john/android/omni/out/target/common/obj/JAVA_LIBRARIES/com.android.emailsync_intermediates/emma_out/lib/classes-jarjar.jar
arch/arm/mach-exynos/Kconfig:875:warning: choice value used outside its choice group
arch/arm/mach-exynos/Kconfig:877:warning: defaults for choice values not supported
Copying: /home/john/android/omni/out/target/common/obj/APPS/Gallery2_intermediates/emma_out/lib/classes-jarjar.jar
Reading library jar [/home/john/android/omni/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar]
warning: (SEC_MODEM_M0_C2C && SEC_MODEM_M0 && SEC_MODEM_U1 && SEC_MODEM_IRON && SEC_MODEM_T0_TD_DUAL) selects LINK_DEVICE_HSIC which has unmet direct dependencies (MISC_DEVICES && MACH_U1 && SEC_MODEM)
warning: (SEC_MODEM_M0_C2C && SEC_MODEM_M0 && SEC_MODEM_IRON && SEC_MODEM_T0_TD_DUAL) selects UMTS_MODEM_XMM6262 which has unmet direct dependencies (MISC_DEVICES && MACH_U1 && SEC_MODEM)
warning: (SEC_MODEM_M0_C2C && SEC_MODEM_M0 && SEC_MODEM_U1 && SEC_MODEM_IRON && SEC_MODEM_T0_TD_DUAL) selects LINK_DEVICE_HSIC which has unmet direct dependencies (MISC_DEVICES && MACH_U1 && SEC_MODEM)
warning: (SEC_MODEM_M0_C2C && SEC_MODEM_M0 && SEC_MODEM_IRON && SEC_MODEM_T0_TD_DUAL) selects UMTS_MODEM_XMM6262 which has unmet direct dependencies (MISC_DEVICES && MACH_U1 && SEC_MODEM)
#
# configuration written to .config
#
make[1]: Leaving directory `/home/john/android/omni/kernel/samsung/smdk4412'
target R.java/Manifest.java: OmniTorch (/home/john/android/omni/out/target/common/obj/APPS/OmniTorch_intermediates/src/R.stamp)
Reading library jar [/home/john/android/omni/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar]
ProGuard, version 4.4
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Reading program jar [/home/john/android/omni/out/target/common/obj/APPS/LatinIME_intermediates/classes.jar]
ProGuard, version 4.4
Reading program jar [/home/john/android/omni/out/target/common/obj/APPS/PhotoTable_intermediates/classes.jar]
Reading library jar [/home/john/android/omni/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar]
Reading library jar [/home/john/android/omni/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar]
Warning: com.andrew.apollo.lastfm.Caller: can't find referenced class javax.xml.parsers.DocumentBuilder
Warning: com.andrew.apollo.lastfm.Caller: can't find referenced class javax.xml.parsers.DocumentBuilderFactory
Warning: com.andrew.apollo.lastfm.Caller: can't find referenced class javax.xml.parsers.DocumentBuilderFactory
Warning: com.andrew.apollo.lastfm.Caller: can't find referenced class javax.xml.parsers.ParserConfigurationException
Warning: com.andrew.apollo.lastfm.Caller: can't find referenced class javax.xml.parsers.DocumentBuilder
Warning: com.andrew.apollo.lastfm.Caller: can't find referenced class javax.xml.parsers.DocumentBuilderFactory
Warning: com.andrew.apollo.lastfm.Caller: can't find referenced class javax.xml.parsers.DocumentBuilder
Warning: com.andrew.apollo.lastfm.Caller: can't find referenced class javax.xml.parsers.DocumentBuilderFactory
Warning: com.andrew.apollo.lastfm.Caller: can't find referenced class javax.xml.parsers.ParserConfigurationException
Note: android.support.v4.text.ICUCompatIcs: can't find dynamically referenced class libcore.icu.ICU
Reading library jar [/home/john/android/omni/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar]
Note: android.support.v4.text.ICUCompatIcs accesses a method 'getScript(java.lang.String)' dynamically
Maybe this is program method 'android.support.v4.text.ICUCompat { java.lang.String getScript(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImpl { java.lang.String getScript(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImplBase { java.lang.String getScript(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImplIcs { java.lang.String getScript(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompatIcs { java.lang.String getScript(java.lang.String); }'
Note: android.support.v4.text.ICUCompatIcs: can't find dynamically referenced class libcore.icu.ICU
Note: android.support.v4.text.ICUCompatIcs accesses a method 'addLikelySubtags(java.lang.String)' dynamically
Maybe this is program method 'android.support.v4.text.ICUCompat { java.lang.String addLikelySubtags(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImpl { java.lang.String addLikelySubtags(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImplBase { java.lang.String addLikelySubtags(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImplIcs { java.lang.String addLikelySubtags(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompatIcs { java.lang.String addLikelySubtags(java.lang.String); }'
Note: android.support.v4.text.ICUCompatIcs accesses a method 'getScript(java.lang.String)' dynamically
Maybe this is program method 'android.support.v4.text.ICUCompat { java.lang.String getScript(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImpl { java.lang.String getScript(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImplBase { java.lang.String getScript(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImplIcs { java.lang.String getScript(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompatIcs { java.lang.String getScript(java.lang.String); }'
Note: android.support.v4.text.ICUCompatIcs accesses a method 'addLikelySubtags(java.lang.String)' dynamically
Maybe this is program method 'android.support.v4.text.ICUCompat { java.lang.String addLikelySubtags(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImpl { java.lang.String addLikelySubtags(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImplBase { java.lang.String addLikelySubtags(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImplIcs { java.lang.String addLikelySubtags(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompatIcs { java.lang.String addLikelySubtags(java.lang.String); }'
Note: there were 1 unresolved dynamic references to classes or interfaces.
You should check if you need to specify additional program jars.
Note: there were 2 accesses to class members by means of introspection.
You should consider explicitly keeping the mentioned class members
(using '-keep' or '-keepclassmembers').
Warning: there were 9 unresolved references to classes or interfaces.
You may need to specify additional library jars (using '-libraryjars'),
or perhaps the '-dontskipnonpubliclibraryclasses' option.
Error: Please correct the above warnings first.
make: *** [/home/john/android/omni/out/target/common/obj/APPS/Apollo_intermediates/proguard.classes.jar] Error 1
make: *** Waiting for unfinished jobs....
Note: there were 1 unresolved dynamic references to classes or interfaces.
You should check if you need to specify additional program jars.
Note: there were 2 accesses to class members by means of introspection.
You should consider explicitly keeping the mentioned class members
(using '-keep' or '-keepclassmembers').
Note: android.support.v4.text.ICUCompatIcs: can't find dynamically referenced class libcore.icu.ICU
Note: com.android.timezonepicker.TimeZoneInfo accesses a declared field 'mTransitions' dynamically
Maybe this is program field 'com.android.timezonepicker.TimeZoneInfo { int[] mTransitions; }'
Note: android.support.v4.text.ICUCompatIcs accesses a method 'getScript(java.lang.String)' dynamically
Maybe this is program method 'android.support.v4.text.ICUCompat { java.lang.String getScript(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImpl { java.lang.String getScript(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImplBase { java.lang.String getScript(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImplIcs { java.lang.String getScript(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompatIcs { java.lang.String getScript(java.lang.String); }'
Note: android.support.v4.text.ICUCompatIcs accesses a method 'addLikelySubtags(java.lang.String)' dynamically
Maybe this is program method 'android.support.v4.text.ICUCompat { java.lang.String addLikelySubtags(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImpl { java.lang.String addLikelySubtags(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImplBase { java.lang.String addLikelySubtags(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImplIcs { java.lang.String addLikelySubtags(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompatIcs { java.lang.String addLikelySubtags(java.lang.String); }'
Preparing output jar [/home/john/android/omni/out/target/common/obj/APPS/PhotoTable_intermediates/proguard.classes.jar]
Copying resources from program jar [/home/john/android/omni/out/target/common/obj/APPS/PhotoTable_intermediates/classes.jar]
Preparing output jar [/home/john/android/omni/out/target/common/obj/APPS/DeskClock_intermediates/proguard.classes.jar]
Copying resources from program jar [/home/john/android/omni/out/target/common/obj/APPS/DeskClock_intermediates/classes.jar]
Note: android.support.v4.text.ICUCompatIcs: can't find dynamically referenced class libcore.icu.ICU
Note: there were 1 unresolved dynamic references to classes or interfaces.
You should check if you need to specify additional program jars.
Note: there were 3 accesses to class members by means of introspection.
You should consider explicitly keeping the mentioned class members
(using '-keep' or '-keepclassmembers').
Note: android.support.v4.text.ICUCompatIcs accesses a method 'getScript(java.lang.String)' dynamically
Maybe this is program method 'android.support.v4.text.ICUCompat { java.lang.String getScript(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImpl { java.lang.String getScript(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImplBase { java.lang.String getScript(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImplIcs { java.lang.String getScript(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompatIcs { java.lang.String getScript(java.lang.String); }'
Note: android.support.v4.text.ICUCompatIcs accesses a method 'addLikelySubtags(java.lang.String)' dynamically
Maybe this is program method 'android.support.v4.text.ICUCompat { java.lang.String addLikelySubtags(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImpl { java.lang.String addLikelySubtags(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImplBase { java.lang.String addLikelySubtags(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompat$ICUCompatImplIcs { java.lang.String addLikelySubtags(java.lang.String); }'
Maybe this is program method 'android.support.v4.text.ICUCompatIcs { java.lang.String addLikelySubtags(java.lang.String); }'
Note: com.android.common.SharedPreferencesCompat accesses a method 'apply()' dynamically
Maybe this is library method 'android.content.SharedPreferences$Editor { void apply(); }'
Maybe this is library method 'android.media.MediaMetadataEditor { void apply(); }'
Maybe this is library method 'android.media.RemoteControlClient$MetadataEditor { void apply(); }'
Maybe this is library method 'android.media.RemoteController$MetadataEditor { void apply(); }'
Note: the configuration refers to the unknown class 'com.android.internal.widget.DialogTitle'
Note: the configuration keeps the entry point 'com.android.inputmethod.latin.makedict.BinaryDictDecoderUtils { com.android.inputmethod.latin.makedict.FusionDictionary readDictionaryBinary(com.android.inputmethod.latin.makedict.DictDecoder,com.android.inputmethod.latin.makedict.FusionDictionary); }', but not the descriptor class 'com.android.inputmethod.latin.makedict.DictDecoder'
Note: the configuration keeps the entry point 'com.android.inputmethod.latin.DictionaryFactory { com.android.inputmethod.latin.Dictionary createDictionaryForTest(com.android.inputmethod.latin.AssetFileAddress[],boolean,java.util.Locale); }', but not the descriptor class 'com.android.inputmethod.latin.AssetFileAddress'
Note: the configuration keeps the entry point 'com.android.inputmethod.latin.Suggest { Suggest(com.android.inputmethod.latin.AssetFileAddress[],java.util.Locale); }', but not the descriptor class 'com.android.inputmethod.latin.AssetFileAddress'
Note: the configuration keeps the entry point 'com.android.inputmethod.latin.makedict.BinaryDictIOUtils { int getTerminalPosition(com.android.inputmethod.latin.makedict.DictDecoder,java.lang.String); }', but not the descriptor class 'com.android.inputmethod.latin.makedict.DictDecoder'
Note: there were 1 references to unknown classes.
You should check your configuration for typos.
Note: there were 4 unkept descriptor classes in kept class members.
You should consider explicitly keeping the mentioned classes
(using '-keep').
Note: there were 1 unresolved dynamic references to classes or interfaces.
You should check if you need to specify additional program jars.
Note: there were 3 accesses to class members by means of introspection.
You should consider explicitly keeping the mentioned class members
(using '-keep' or '-keepclassmembers').
Preparing output jar [/home/john/android/omni/out/target/common/obj/APPS/Calendar_intermediates/proguard.classes.jar]
Copying resources from program jar [/home/john/android/omni/out/target/common/obj/APPS/Calendar_intermediates/classes.jar]
Preparing output jar [/home/john/android/omni/out/target/common/obj/APPS/LatinIME_intermediates/proguard.classes.jar]
Copying resources from program jar [/home/john/android/omni/out/target/common/obj/APPS/LatinIME_intermediates/classes.jar]
real1m13.965s
user2m30.052s
sys0m12.042s
john@X58:~/android/omni$
Any help would be appreciated Thanks