-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make multirom_zip error #99
Comments
Duplicate of #84 |
i think you should add some kernel head .. to port out the ATOMIC_INT struct |
How to do that? |
use grep to grap,, whic kernel head file define ATOMIC_INIT,, |
Do you mean to define Atomic_int inside makefile of kernel? |
include the head file ,which define it .. |
@Pavlex4, you must remove below line in boardconfig.mk to fix this problem
|
I don't have that line :USE_CLANG_PLATFORM_BUILD := true inside boardconfig.mk!!!!!! |
I got this error with CM13 and i removed it to fix your issue! You can use Omnirom6.0 to compile multirom without any problem |
I have this errors with omni: http://pastebin.com/WctXu75Z |
Maybe there is something wrong with the |
I have this included inside boardconfig.mk http://pastebin.com/Y90rsaBG |
@Pavlex4 |
MR_USE_QCOM_OVERLAY := true |
You can config like my device tree. |
I don't have this path: MR_QCOM_OVERLAY_HEADER := device/pantech/ef63s/multirom/mr_qcom_overlay.h |
Please creat it and try to compile again. You can copy my mr_qcom_overlay.h |
But I don't have this file inside my device folder: mr_qcom_overlay.h |
Do you have source kernel?? |
Yes |
Ok. Now you creat a new folder with name to be "multirom" in your device tree, you must copy msm_ion.h, msm_mdp.h, ion.h in "include/linux" in your kernel to multirom folder. And then copy my mr_qcom_overlay.h to multirom folder |
I configured boardconfig like this: |
But now I have this problem; make failed to build some targets (31 seconds) |
Can you send me your full boarconfig?? Do you make clean?? |
why i don't see you multirom folder?? Please push full your device to github |
+MR_QCOM_OVERLAY_HEADER := "device/samsung/s3ve3g/multirom/mr_qcom_overlay.h |
Please push full your device to github |
How to push device to github? |
I am using this device tree: https://github.com/LovelyRaccoon/android_device_samsung_s3ve3g-twrp?files=1 and I added multirom folder witg msm_mdp.h and msm_ion.h and mr_qcom_overlay.h |
@chautruongthinh I have a problem at the qcom overlay stuff: I have copied your
EDIT: I managed to compile it now. I had to change the line |
@z3ntu
Note: If your kernel is 5.x, you must delete msm_mdp.h and then rename msm_mdp.h.coloros to msm_mdp.h. Because msm_mdp.h is header of 4.4.2 kernel |
@chautruongthinh Did you write this message with my edits in consideration? I don't think now the header files are the problem. See #98 for more info. |
Yeh, header files are not the problem!! But you must edit them to compile succes! |
The compilation succeeds (after patching a bit). |
You don't must pacthing anything!! just replace header kernel files |
As I said before, the compilation worked now so there is no problem with compiling anymore. Multirom just doesn't start (it never did successfully before). |
I am trying to compile multirom but I have error:
system/extras/multirom/lib/framebuffer.c:1094:17: error: member reference base type 'atomic_int' (aka '_Atomic(int)') is not a structure or union
expected.__val = 1; // might be reseted by atomic_compare_exchange_strong
The text was updated successfully, but these errors were encountered: