Got Clockwork Recovery functional, Attempting to compile Froyo from the froyo-stable branch... Getting a good way through it all. Until I hit this.
Any suggestions? Thanks!
Code:
target Dex: Gallery3D
frameworks/base/services/java/com/android/server/status/StatusBarService.java:338: cannot find symbol
symbol : variable statusbar_background_sq
location: class com.android.internal.R.drawable
mStatusBarView.setBackgroundDrawable(res.getDrawable(com.android.internal.R.drawable.statusbar_background_sq,
^
frameworks/base/services/java/com/android/server/status/StatusBarService.java:340: cannot find symbol
symbol : variable statusbar_background_sq
location: class com.android.internal.R.drawable
mDateView.setBackgroundDrawable(res.getDrawable(com.android.internal.R.drawable.statusbar_background_sq,
^
frameworks/base/services/java/com/android/server/status/StatusBarService.java:959: cannot find symbol
symbol : variable status_bar_item_background_normal_cust
location: class com.android.internal.R.drawable
Drawable colornormal = res.getDrawable(com.android.internal.R.drawable.status_bar_item_background_normal_cust);
^
frameworks/base/services/java/com/android/server/status/StatusBarService.java:960: cannot find symbol
symbol : variable status_bar_item_background_focus_cust
location: class com.android.internal.R.drawable
Drawable colorfocused = res.getDrawable(com.android.internal.R.drawable.status_bar_item_background_focus_cust);
^
frameworks/base/services/java/com/android/server/status/StatusBarService.java:961: cannot find symbol
symbol : variable status_bar_item_background_pressed_cust
location: class com.android.internal.R.drawable
Drawable colorpressed = res.getDrawable(com.android.internal.R.drawable.status_bar_item_background_pressed_cust);
^
frameworks/base/services/java/com/android/server/status/StatusBarService.java:2232: cannot find symbol
symbol : variable status_bar_close_on_cust
location: class com.android.internal.R.drawable
closerDrawable = res.getDrawable(com.android.internal.R.drawable.status_bar_close_on_cust);
^
frameworks/base/services/java/com/android/server/status/StatusBarService.java:2233: cannot find symbol
symbol : variable status_bar_header_background_cust
location: class com.android.internal.R.drawable
expBarHeadDrawable = res.getDrawable(com.android.internal.R.drawable.status_bar_header_background_cust,
^
frameworks/base/services/java/com/android/server/status/StatusBarService.java:2235: cannot find symbol
symbol : variable title_bar_portrait_cust
location: class com.android.internal.R.drawable
expBarNotifTitleDrawable = res.getDrawable(com.android.internal.R.drawable.title_bar_portrait_cust,
^
frameworks/base/services/java/com/android/server/status/StatusBarService.java:2363: cannot find symbol
symbol : variable statusbar_background_sq
location: class com.android.internal.R.drawable
res.getDrawable(com.android.internal.R.drawable.statusbar_background_sq,
^
frameworks/base/services/java/com/android/server/status/StatusBarService.java:2366: cannot find symbol
symbol : variable statusbar_background_sq
location: class com.android.internal.R.drawable
res.getDrawable(com.android.internal.R.drawable.statusbar_background_sq,
^
frameworks/base/services/java/com/android/server/status/TrackingPatternView.java:82: cannot find symbol
symbol : variable status_bar_background_cust
location: class com.android.internal.R.drawable
com.android.internal.R.drawable.status_bar_background_cust);
^
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.
11 errors
make: *** [out/target/common/obj/JAVA_LIBRARIES/services_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
Related
Heyo, I've already posted about a Paranoid's compiling problem, since I couldn't make it though, I changed to AOKP (4.2.2, yet). I still use TheWhisp's repos and it's almost finished, but I'm getting this error...
Code:
'/home/capleochi/android/AOKP_Jellybean/out/target/common/obj/APPS/VideoEditor_intermediates/classes.dex' as 'classes.dex'...
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/objects/Projects.java:20: package com.google.gson does not exist
import com.google.gson.JsonDeserializationContext;
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/objects/Projects.java:21: package com.google.gson does not exist
import com.google.gson.JsonDeserializer;
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/objects/Projects.java:22: package com.google.gson does not exist
import com.google.gson.JsonElement;
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/objects/Projects.java:23: package com.google.gson does not exist
import com.google.gson.JsonObject;
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/objects/Projects.java:24: package com.google.gson does not exist
import com.google.gson.JsonParseException;
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/objects/Projects.java:32: cannot find symbol
symbol: class JsonDeserializer
public class Projects implements JsonDeserializer<Projects> {
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/objects/Projects.java:32: interface expected here
public class Projects implements JsonDeserializer<Projects> {
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/objects/Projects.java:41: cannot find symbol
symbol : class JsonElement
location: class com.jbirdvegas.mgerrit.objects.Projects
public Projects deserialize(JsonElement jsonElement, Type type,
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/objects/Projects.java:42: cannot find symbol
symbol : class JsonDeserializationContext
location: class com.jbirdvegas.mgerrit.objects.Projects
JsonDeserializationContext deserializationContext)
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/objects/Projects.java:43: cannot find symbol
symbol : class JsonParseException
location: class com.jbirdvegas.mgerrit.objects.Projects
throws JsonParseException {
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/tasks/Deserializers.java:20: package com.google.gson does not exist
import com.google.gson.Gson;
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/tasks/Deserializers.java:21: package com.google.gson does not exist
import com.google.gson.GsonBuilder;
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/tasks/Deserializers.java:22: package com.google.gson does not exist
import com.google.gson.JsonDeserializationContext;
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/tasks/Deserializers.java:23: package com.google.gson does not exist
import com.google.gson.JsonDeserializer;
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/tasks/Deserializers.java:24: package com.google.gson does not exist
import com.google.gson.JsonElement;
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/tasks/Deserializers.java:25: package com.google.gson does not exist
import com.google.gson.JsonParseException;
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/tasks/Deserializers.java:35: cannot find symbol
symbol : class JsonDeserializer
location: class com.jbirdvegas.mgerrit.tasks.Deserializers
private static final JsonDeserializer<Reviewer> reviewerJsonDeserializer = new JsonDeserializer<Reviewer>() {
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/tasks/Deserializers.java:50: cannot find symbol
symbol : class GsonBuilder
location: class com.jbirdvegas.mgerrit.tasks.Deserializers
protected static void addDeserializers(GsonBuilder gsonBuilder) {
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/tasks/GsonRequest.java:28: package com.google.gson does not exist
import com.google.gson.Gson;
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/tasks/GsonRequest.java:29: package com.google.gson does not exist
import com.google.gson.JsonSyntaxException;
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/tasks/GsonRequest.java:40: cannot find symbol
symbol : class Gson
location: class com.jbirdvegas.mgerrit.tasks.GsonRequest<T>
private final Gson gson;
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/tasks/GsonRequest.java:54: cannot find symbol
symbol : class Gson
location: class com.jbirdvegas.mgerrit.tasks.GsonRequest<T>
public GsonRequest(String url, Gson gson, Class<T> clazz, int trimStart,
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/tasks/ProjectListProcessor.java:22: package com.google.gson does not exist
import com.google.gson.Gson;
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/tasks/ProjectListProcessor.java:23: package com.google.gson does not exist
import com.google.gson.GsonBuilder;
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/tasks/SyncProcessor.java:26: package com.google.gson does not exist
import com.google.gson.Gson;
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/tasks/SyncProcessor.java:27: package com.google.gson does not exist
import com.google.gson.GsonBuilder;
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/tasks/SyncProcessor.java:51: cannot find symbol
symbol : class Gson
location: class com.jbirdvegas.mgerrit.tasks.SyncProcessor<T>
private static Gson gson;
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/CardsFragment.java:147: cannot find symbol
symbol : method getCommitterObject()
location: class com.jbirdvegas.mgerrit.GerritControllerActivity
mParent.getCommitterObject(),
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/CardsFragment.java:145: internal error; cannot instantiate com.jbirdvegas.mgerrit.cards.CommitCard.<init> at com.jbirdvegas.mgerrit.cards.CommitCard to ()
return new CommitCard(
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/CardsFragment.java:172: cannot find symbol
symbol : constructor ImageCard(com.android.volley.RequestQueue,com.jbirdvegas.mgerrit.GerritControllerActivity,com.jbirdvegas.mgerrit.CardsFragment,java.lang.String,com.jbirdvegas.mgerrit.objects.CommitterObject)
location: class com.jbirdvegas.mgerrit.cards.ImageCard
ImageCard userImageCard = new ImageCard(mRequestQueue,
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/CardsFragment.java:180: cannot find symbol
symbol : method clearCommitterObject()
location: class com.jbirdvegas.mgerrit.GerritControllerActivity
mParent.clearCommitterObject();
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/CardsFragment.java:186: cannot find symbol
symbol : method refreshTabs()
location: class com.jbirdvegas.mgerrit.GerritControllerActivity
mParent.refreshTabs();
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/CardsFragment.java:194: inconvertible types
found : android.support.v4.app.FragmentActivity
required: com.jbirdvegas.mgerrit.GerritControllerActivity
mParent = (GerritControllerActivity) this.getActivity();
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/CardsFragment.java:214: cannot find symbol
symbol : method getCurrentProject(com.jbirdvegas.mgerrit.GerritControllerActivity)
location: class com.jbirdvegas.mgerrit.Prefs
String project = Prefs.getCurrentProject(mParent);
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/CardsFragment.java:217: cannot find symbol
symbol : method getCommitterObject()
location: class com.jbirdvegas.mgerrit.GerritControllerActivity
CommitterObject user = mParent.getCommitterObject();
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/CardsFragment.java:278: getLastUpdatedDate() in com.jbirdvegas.mgerrit.objects.JSONCommit cannot be applied to (android.content.Context)
.getJsonCommit().getLastUpdatedDate(mParent.getApplicationContext());
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/CardsFragment.java:316: cannot find symbol
symbol : method getCurrentProject(com.jbirdvegas.mgerrit.GerritControllerActivity)
location: class com.jbirdvegas.mgerrit.Prefs
return new ProjectCard(mParent, Prefs.getCurrentProject(mParent));
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/cards/ProjectCard.java:51: cannot find symbol
symbol : method setCurrentProject(android.content.Context,java.lang.String)
location: class com.jbirdvegas.mgerrit.Prefs
Prefs.setCurrentProject(v.getContext(), "");
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/cards/ProjectCard.java:53: cannot find symbol
symbol : method refreshTabs()
location: class com.jbirdvegas.mgerrit.GerritControllerActivity
mGerritControllerActivity.refreshTabs();
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/helpers/Tools.java:53: cannot find symbol
symbol : variable caused_by
location: class com.jbirdvegas.mgerrit.R.string
context.getString(R.string.caused_by),
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/message/HandshakeError.java:48: cannot find symbol
symbol : variable handshake_fail_message
location: class com.jbirdvegas.mgerrit.R.string
return getContext().getString(R.string.handshake_fail_message);
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/message/StartingRequest.java:46: cannot find symbol
symbol : variable connection_starting
location: class com.jbirdvegas.mgerrit.R.string
return getContext().getString(R.string.connection_starting);
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/objects/Projects.java:45: cannot find symbol
symbol : class JsonObject
location: class com.jbirdvegas.mgerrit.objects.Projects
JsonObject json = jsonElement.getAsJsonObject();
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/objects/Projects.java:46: cannot find symbol
symbol : class JsonElement
location: class com.jbirdvegas.mgerrit.objects.Projects
Iterator<Map.Entry<String, JsonElement>> it = json.entrySet().iterator();
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/objects/Projects.java:48: cannot find symbol
symbol : class JsonElement
location: class com.jbirdvegas.mgerrit.objects.Projects
Map.Entry<String, JsonElement> project = it.next();
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/objects/Projects.java:50: cannot find symbol
symbol : class JsonObject
location: class com.jbirdvegas.mgerrit.objects.Projects
JsonObject details = project.getValue().getAsJsonObject();
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/objects/Projects.java:53: Project(java.lang.String,java.lang.String,java.lang.String) has private access in com.jbirdvegas.mgerrit.objects.Project
projects.add(new Project(path, kind, id));
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/objects/Projects.java:40: method does not override or implement a method from a supertype
[user=439709]@override[/user]
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/PrefsActivity.java:36: cannot find symbol
symbol : method replace(int,com.jbirdvegas.mgerrit.Prefs)
location: class android.app.FragmentTransaction
.replace(android.R.id.content, new Prefs())
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/ProjectsList.java:190: cannot find symbol
symbol : method setCurrentProject(android.content.Context,java.lang.String)
location: class com.jbirdvegas.mgerrit.Prefs
Prefs.setCurrentProject(getApplicationContext(), project);
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/tasks/Deserializers.java:35: cannot find symbol
symbol : class JsonDeserializer
location: class com.jbirdvegas.mgerrit.tasks.Deserializers
private static final JsonDeserializer<Reviewer> reviewerJsonDeserializer = new JsonDeserializer<Reviewer>() {
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/tasks/GsonRequest.java:83: cannot find symbol
symbol : class JsonSyntaxException
location: class com.jbirdvegas.mgerrit.tasks.GsonRequest<T>
} catch (JsonSyntaxException e) {
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/tasks/SyncProcessor.java:53: cannot find symbol
symbol : class GsonBuilder
location: class com.jbirdvegas.mgerrit.tasks.SyncProcessor<T>
GsonBuilder gsonBuilder = new GsonBuilder();
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/tasks/SyncProcessor.java:53: cannot find symbol
symbol : class GsonBuilder
location: class com.jbirdvegas.mgerrit.tasks.SyncProcessor<T>
GsonBuilder gsonBuilder = new GsonBuilder();
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/widgets/AddTeamView.java:60: cannot find symbol
symbol : variable please_enter_gerrit_name
location: class com.jbirdvegas.mgerrit.R.string
name.setHint(R.string.please_enter_gerrit_name);
^
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/src/com/jbirdvegas/mgerrit/widgets/AddTeamView.java:61: cannot find symbol
symbol : variable please_enter_gerrit_url
location: class com.jbirdvegas.mgerrit.R.string
url.setHint(R.string.please_enter_gerrit_url);
^
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.
56 errors
make: ** [/home/capleochi/android/AOKP_Jellybean/out/target/common/obj/APPS/ROMControl_intermediates/classes-full-debug.jar] Erro 41
Any help would be appreciated, really. I love this ROM and I would love having it running on my device.
Thank you for your time,
Caple Ochi
Ask @TheWhisp or try to contact @erikcas ,they're both very good at android developing and Porting AOSP ROMs
Sent from my GT-S7500 using xda premium
blinqipa said:
Ask @TheWhisp or try to contact @erikcas ,they're both very good at android developing and Porting AOSP ROMs
Sent from my GT-S7500 using xda premium
Click to expand...
Click to collapse
I've updated to 4.3, it compiles without any error, but it's unbootable 8) it gets stuck on the first Samsung logo.
capleochi said:
I've updated to 4.3, it compiles without any error, but it's unbootable 8) it gets stuck on the first Samsung logo.
Click to expand...
Click to collapse
Why just why did you port 4.3 when we have no source for it (at least stable source) why not compile 4.2.2?
Sent from my GT-S7500 using xda premium
hi guys i try to decompile the one apk file its decompileing but it isn't recompile !!!
apk multi tool log is :
Code:
libpng error: Not a PNG file
ERROR: Failure processing PNG image D:\APK-Multi-Tool\other\..\projects\1.apk\res\drawable-xhdpi\yasmin.png
D:\APK-Multi-Tool\other\..\projects\1.apk\res\values\public.xml:4: error: Public symbol drawable/[B]abana[/B] declared here is not defined.
D:\APK-Multi-Tool\other\..\projects\1.apk\res\values\public.xml:5: error: Public symbol drawable/[B]abilify[/B] declared here is not defined.
D:\APK-Multi-Tool\other\..\projects\1.apk\res\values\public.xml:6: error: Public symbol drawable/[B]acaiberry[/B] declared here is not defined.
D:\APK-Multi-Tool\other\..\projects\1.apk\res\values\public.xml:7: error: Public symbol drawable/[B]accupril[/B] declared here is not defined.
D:\APK-Multi-Tool\other\..\projects\1.apk\res\values\public.xml:8: error: Public symbol drawable/[B]accutane[/B] declared here is not defined.
D:\APK-Multi-Tool\other\..\projects\1.apk\res\values\public.xml:9: error: Public symbol drawable/[B]aceon[/B] declared here is not defined.
i dont make changes but apkmulti tool is't recompile
abana.png&........... there in drawable folder but it isn't recomple
i compile & recompile many apk files with very change but this apk file like to kill me
pls help me
i forget to say :
i try defferent version of apk multii tool and other application about apktool &........ but i don't give answer
tanx
i forget to say :
i try defferent version of apk multii tool and other application about apktool &........but i don't give answer
tanx
Hi,
I don't know if this question belongs here, so mods feel free to move it to a more appropriate place.
I tried to build cm11 from source to help testing, but it ran into an error with libril which I don't know how to fix.
I followed the instructions given here: https://github.com/M2Dev/local_manifest
but after brunch runs a while it spits out the following error:
Code:
device/sony/qcom-common/libril/ril.cpp:149:33: warning: 'rild' initialized and declared 'extern' [enabled by default]
In file included from device/sony/qcom-common/libril/ril.cpp:274:0:
device/sony/qcom-common/libril/ril_commands.h:138:6: error: 'RIL_REQUEST_SIM_TRANSMIT_BASIC' was not declared in this scope
device/sony/qcom-common/libril/ril_commands.h:139:6: error: 'RIL_REQUEST_SIM_OPEN_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril_commands.h:140:6: error: 'RIL_REQUEST_SIM_CLOSE_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril_commands.h:141:6: error: 'RIL_REQUEST_SIM_TRANSMIT_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril_commands.h:142:6: error: 'RIL_REQUEST_SIM_GET_ATR' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp: In function 'void android::dispatchSIM_IO(android::Parcel&, android::RequestInfo*)':
device/sony/qcom-common/libril/ril.cpp:782:14: error: 'struct RIL_SIM_IO_v6' has no member named 'cla'
device/sony/qcom-common/libril/ril.cpp:783:35: error: 'RIL_REQUEST_SIM_TRANSMIT_BASIC' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:784:40: error: 'RIL_REQUEST_SIM_TRANSMIT_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:786:18: error: 'struct RIL_SIM_IO_v6' has no member named 'cla'
device/sony/qcom-common/libril/ril.cpp: In function 'int android::responseGetDataCallProfile(android::Parcel&, void*, size_t)':
device/sony/qcom-common/libril/ril.cpp:3014:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
device/sony/qcom-common/libril/ril.cpp: In function 'const char* android::requestToString(int)':
device/sony/qcom-common/libril/ril.cpp:4064:14: error: 'RIL_REQUEST_SIM_TRANSMIT_BASIC' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:4065:14: error: 'RIL_REQUEST_SIM_OPEN_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:4066:14: error: 'RIL_REQUEST_SIM_CLOSE_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:4067:14: error: 'RIL_REQUEST_SIM_TRANSMIT_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:4068:14: error: 'RIL_REQUEST_SIM_GET_ATR' was not declared in this scope
build/core/binary.mk:432: recipe for target '/data/build/cm11/out/target/product/eagle/obj/SHARED_LIBRARIES/libril_intermediates/ril.o' failed
make: *** [/data/build/cm11/out/target/product/eagle/obj/SHARED_LIBRARIES/libril_intermediates/ril.o] Error 1
So what did I do wrong?
sudden36 said:
Hi,
I don't know if this question belongs here, so mods feel free to move it to a more appropriate place.
I tried to build cm11 from source to help testing, but it ran into an error with libril which I don't know how to fix.
I followed the instructions given here: https://github.com/M2Dev/local_manifest
but after brunch runs a while it spits out the following error:
Code:
device/sony/qcom-common/libril/ril.cpp:149:33: warning: 'rild' initialized and declared 'extern' [enabled by default]
In file included from device/sony/qcom-common/libril/ril.cpp:274:0:
device/sony/qcom-common/libril/ril_commands.h:138:6: error: 'RIL_REQUEST_SIM_TRANSMIT_BASIC' was not declared in this scope
device/sony/qcom-common/libril/ril_commands.h:139:6: error: 'RIL_REQUEST_SIM_OPEN_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril_commands.h:140:6: error: 'RIL_REQUEST_SIM_CLOSE_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril_commands.h:141:6: error: 'RIL_REQUEST_SIM_TRANSMIT_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril_commands.h:142:6: error: 'RIL_REQUEST_SIM_GET_ATR' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp: In function 'void android::dispatchSIM_IO(android::Parcel&, android::RequestInfo*)':
device/sony/qcom-common/libril/ril.cpp:782:14: error: 'struct RIL_SIM_IO_v6' has no member named 'cla'
device/sony/qcom-common/libril/ril.cpp:783:35: error: 'RIL_REQUEST_SIM_TRANSMIT_BASIC' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:784:40: error: 'RIL_REQUEST_SIM_TRANSMIT_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:786:18: error: 'struct RIL_SIM_IO_v6' has no member named 'cla'
device/sony/qcom-common/libril/ril.cpp: In function 'int android::responseGetDataCallProfile(android::Parcel&, void*, size_t)':
device/sony/qcom-common/libril/ril.cpp:3014:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
device/sony/qcom-common/libril/ril.cpp: In function 'const char* android::requestToString(int)':
device/sony/qcom-common/libril/ril.cpp:4064:14: error: 'RIL_REQUEST_SIM_TRANSMIT_BASIC' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:4065:14: error: 'RIL_REQUEST_SIM_OPEN_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:4066:14: error: 'RIL_REQUEST_SIM_CLOSE_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:4067:14: error: 'RIL_REQUEST_SIM_TRANSMIT_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:4068:14: error: 'RIL_REQUEST_SIM_GET_ATR' was not declared in this scope
build/core/binary.mk:432: recipe for target '/data/build/cm11/out/target/product/eagle/obj/SHARED_LIBRARIES/libril_intermediates/ril.o' failed
make: *** [/data/build/cm11/out/target/product/eagle/obj/SHARED_LIBRARIES/libril_intermediates/ril.o] Error 1
So what did I do wrong?
Click to expand...
Click to collapse
@sudden36 did u find the solution?
Yes the proper commands to build are in this post: http://forum.xda-developers.com/showthread.php?p=56341637
Hi.
I'm trying to build CM13 for a yet unsupported device (Kingzone N5, MT6735M) using a prebuilt kernel.
The build goes far enough to create the system partition image, but it fails on some Java test targets
(FrameworkServicesTests, TelecomUnitTests).
In case I don't need these packages, how can I remove them from the build?
Here's the first error of the two targets.
target Java: FrameworksServicesTests (/home/adminuser/cm12/out/target/common/obj/APPS/FrameworksServicesTests_intermediates/classes)
frameworks/base/services/tests/servicestests/src/com/android/server/pm/PackageManagerSettingsTests.java:266: error: method readLPw in class Settings cannot be applied to given types;
assertEquals(true, settings.readLPw(null, null, 0, false));
^
required: PackageManagerService,List<UserInfo>,int,boolean,Installer
found: <null>,<null>,int,boolean
reason: actual and formal argument lists differ in length
[..]
make: *** [/home/adminuser/cm12/out/target/common/obj/APPS/FrameworksServicesTests_intermediates/classes-full-debug.jar] Error 41
target Java: TelecomUnitTests (/home/adminuser/cm12/out/target/common/obj/APPS/TelecomUnitTests_intermediates/classes)
packages/services/Telecomm/tests/../src/com/android/server/telecom/CallsManager.java:147: error: cannot find symbol
private final CallInfoProvider mCallInfoProvider;
^
symbol: class CallInfoProvider
location: class CallsManager
So I was compiling kernel for my Meizu m2 note and I encountered this error :
Code:
In file included from /home/suvam/RRMM/kernel/meizu/m2note/arch/arm64/include/asm/io.h:243:0,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/clocksource.h:19,
from /home/suvam/RRMM/kernel/meizu/m2note/include/clocksource/arm_arch_timer.h:19,
from /home/suvam/RRMM/kernel/meizu/m2note/arch/arm64/include/asm/arch_timer.h:27,
from /home/suvam/RRMM/kernel/meizu/m2note/arch/arm64/include/asm/timex.h:19,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/timex.h:65,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/jiffies.h:8,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/ktime.h:25,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/timer.h:5,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/workqueue.h:8,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/pm.h:25,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/device.h:25,
from drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:11:
/home/suvam/RRMM/kernel/meizu/m2note/include/asm-generic/iomap.h:31:21: note: expected 'void *' but argument is of type 'long unsigned int'
extern unsigned int ioread32(void __iomem *);
^
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:99:26: warning: passing argument 1 of 'ioread32' makes pointer from integer without a cast
#define ISP_RD32(addr) ioread32(addr)
^
/home/suvam/RRMM/kernel/meizu/m2note/include/linux/printk.h:248:38: note: in expansion of macro 'ISP_RD32'
no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
^
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:87:37: note: in expansion of macro 'pr_debug'
#define LOG_DBG(format, args...) pr_debug(MyTag format, ##args)
^
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:10828:3: note: in expansion of macro 'LOG_DBG'
LOG_DBG("0x%08X %08X", (unsigned int)(ISP_TPIPE_ADDR + 0x00a8), (unsigned int)ISP_RD32(ISP_ADDR + 0x00a8));
^
In file included from /home/suvam/RRMM/kernel/meizu/m2note/arch/arm64/include/asm/io.h:243:0,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/clocksource.h:19,
from /home/suvam/RRMM/kernel/meizu/m2note/include/clocksource/arm_arch_timer.h:19,
from /home/suvam/RRMM/kernel/meizu/m2note/arch/arm64/include/asm/arch_timer.h:27,
from /home/suvam/RRMM/kernel/meizu/m2note/arch/arm64/include/asm/timex.h:19,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/timex.h:65,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/jiffies.h:8,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/ktime.h:25,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/timer.h:5,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/workqueue.h:8,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/pm.h:25,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/device.h:25,
from drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:11:
/home/suvam/RRMM/kernel/meizu/m2note/include/asm-generic/iomap.h:31:21: note: expected 'void *' but argument is of type 'long unsigned int'
extern unsigned int ioread32(void __iomem *);
^
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c: At top level:
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:175:22: warning: 'g_isp_base_dase' defined but not used [-Wunused-variable]
static void __iomem *g_isp_base_dase;
^
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:176:22: warning: 'g_isp_inner_base_dase' defined but not used [-Wunused-variable]
static void __iomem *g_isp_inner_base_dase;
^
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:177:22: warning: 'g_imgsys_config_base_dase' defined but not used [-Wunused-variable]
static void __iomem *g_imgsys_config_base_dase;
^
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c: In function 'compat_put_isp_read_register_data':
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:8407:6: warning: 'err' is used uninitialized in this function [-Wuninitialized]
err |= get_user(count, &data->Count);
^
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c: In function 'ISP_DONE_Buf_Time.isra.4':
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:5522:49: warning: 'out' may be used uninitialized in this function [-Wmaybe-uninitialized]
pstRTBuf->ring_buf[i_dma].img_cnt = sof_count[out];
^
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c: In function 'ISP_Buf_CTRL_FUNC':
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:4447:34: warning: 'out' may be used uninitialized in this function [-Wmaybe-uninitialized]
deque_buf.sof_cnt = sof_count[out];
^
LD drivers/misc/mediatek/mach/mt6735/built-in.o
LD drivers/misc/mediatek/mach/built-in.o
make[4]: *** [drivers/misc/mediatek] Error 2
make[3]: *** [drivers/misc] Error 2
make[2]: *** [drivers] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/suvam/RRMM/kernel/meizu/m2note'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (09:32 (mm:ss)) ####
Can somebody please help me out ?