[MOD][4.1.2] Media scanner Fix for I9070 - Galaxy S Advance I9070 Android Development
Finally ported this mod for our device:
[How-To] Potential Media Scanner Fix for XXLSJ-MS1/XWLS8-LSD-LSE-LSJ
Requirements:
- Touchwiz 4.1.2
- Knowledge in decompile/recompile jar file
- A nandroid backup to restore in case of failure
Steps:
1) Decompile Framework.jar
2) Paste MediaScanner.smali to \framework\smali\android\media\ (in attachment)
3) Recompile.
Or try my flashable zip, valid just for a deodexed UBLPK firmware.
Note: This fix is not exactly equal to shoman94 fix, to result compatible for our device.
In case you flash a new rom or a nandroid backup, you'll have always to clean Media Storage in this way:
Settings > Applications > Media Storage > Clear data, force stop and reboot.
Thanks to:
jeboo
Google
cyanogenmod
shoman94
Click to expand...
Click to collapse
Thanks for sharing! I was looking for a way to do this - but I'm glad that you figured it out first!
Unfortunately, I can't recompile my framework.jar after replacing my MediaScanner.smali with yours. This is the error I get:
Code:
P:\APKTOOL>apktool b framework framework.jar
I: Checking whether sources has changed...
I: Smaling...
[1148,4] Error for input '.param': Invalid directive
[1300,4] Error for input '.param': Invalid directive
[1301,4] Error for input '.param': Invalid directive
[1302,4] Error for input '.param': Invalid directive
[1303,4] Error for input '.param': Invalid directive
[1304,4] Error for input '.param': Invalid directive
[1782,4] Error for input '.param': Invalid directive
[1795,4] Error for input '.param': Invalid directive
[1796,4] Error for input '.param': Invalid directive
[1797,4] Error for input '.param': Invalid directive
[1798,4] Error for input '.param': Invalid directive
[1809,4] Error for input '.param': Invalid directive
[1810,4] Error for input '.param': Invalid directive
[1825,4] Error for input '.param': Invalid directive
[1826,4] Error for input '.param': Invalid directive
[1841,4] Error for input '.param': Invalid directive
[1852,4] Error for input '.param': Invalid directive
[1873,4] Error for input '.param': Invalid directive
[1884,4] Error for input '.param': Invalid directive
[1885,4] Error for input '.param': Invalid directive
[1900,4] Error for input '.param': Invalid directive
[1911,4] Error for input '.param': Invalid directive
[1922,4] Error for input '.param': Invalid directive
[1935,4] Error for input '.param': Invalid directive
[1946,4] Error for input '.param': Invalid directive
[1957,4] Error for input '.param': Invalid directive
[1968,4] Error for input '.param': Invalid directive
[1979,4] Error for input '.param': Invalid directive
[1980,4] Error for input '.param': Invalid directive
[1991,4] Error for input '.param': Invalid directive
[2002,4] Error for input '.param': Invalid directive
[2013,4] Error for input '.param': Invalid directive
[2014,4] Error for input '.param': Invalid directive
[2025,4] Error for input '.param': Invalid directive
[2036,4] Error for input '.param': Invalid directive
[2047,4] Error for input '.param': Invalid directive
[2048,4] Error for input '.param': Invalid directive
[2059,4] Error for input '.param': Invalid directive
[2070,4] Error for input '.param': Invalid directive
[2081,4] Error for input '.param': Invalid directive
[2098,4] Error for input '.param': Invalid directive
[2099,4] Error for input '.param': Invalid directive
[2114,4] Error for input '.param': Invalid directive
[2115,4] Error for input '.param': Invalid directive
[2130,4] Error for input '.param': Invalid directive
[2147,4] Error for input '.param': Invalid directive
[2158,4] Error for input '.param': Invalid directive
[2169,4] Error for input '.param': Invalid directive
[2170,4] Error for input '.param': Invalid directive
[2181,4] Error for input '.param': Invalid directive
[2182,4] Error for input '.param': Invalid directive
[2183,4] Error for input '.param': Invalid directive
[2194,4] Error for input '.param': Invalid directive
[2205,4] Error for input '.param': Invalid directive
[2216,4] Error for input '.param': Invalid directive
[2233,4] Error for input '.param': Invalid directive
[2250,4] Error for input '.param': Invalid directive
[2261,4] Error for input '.param': Invalid directive
[2272,4] Error for input '.param': Invalid directive
[2273,4] Error for input '.param': Invalid directive
[2411,4] Error for input '.param': Invalid directive
[2555,4] Error for input '.param': Invalid directive
[2556,4] Error for input '.param': Invalid directive
[2607,4] Error for input '.param': Invalid directive
[2704,4] Error for input '.param': Invalid directive
[2870,4] Error for input '.param': Invalid directive
[2981,4] Error for input '.param': Invalid directive
[2982,4] Error for input '.param': Invalid directive
[3080,4] Error for input '.param': Invalid directive
[3081,4] Error for input '.param': Invalid directive
[3264,4] Error for input '.param': Invalid directive
[3318,4] Error for input '.param': Invalid directive
[3319,4] Error for input '.param': Invalid directive
[3887,4] Error for input '.param': Invalid directive
[3888,4] Error for input '.param': Invalid directive
[3937,4] Error for input '.param': Invalid directive
[3938,4] Error for input '.param': Invalid directive
[3939,4] Error for input '.param': Invalid directive
[4090,4] Error for input '.param': Invalid directive
[4091,4] Error for input '.param': Invalid directive
[4092,4] Error for input '.param': Invalid directive
[4093,4] Error for input '.param': Invalid directive
[4094,4] Error for input '.param': Invalid directive
[4327,4] Error for input '.param': Invalid directive
[4328,4] Error for input '.param': Invalid directive
[4742,4] Error for input '.param': Invalid directive
[4743,4] Error for input '.param': Invalid directive
[4744,4] Error for input '.param': Invalid directive
[4745,4] Error for input '.param': Invalid directive
[4746,4] Error for input '.param': Invalid directive
[4989,4] Error for input '.param': Invalid directive
[4990,4] Error for input '.param': Invalid directive
[4991,4] Error for input '.param': Invalid directive
[4992,4] Error for input '.param': Invalid directive
[4993,4] Error for input '.param': Invalid directive
[5525,4] Error for input '.param': Invalid directive
[5612,4] Error for input '.param': Invalid directive
[5731,4] Error for input '.param': Invalid directive
[5986,4] Error for input '.param': Invalid directive
[5987,4] Error for input '.param': Invalid directive
[7025,4] Error for input '.param': Invalid directive
[7026,4] Error for input '.param': Invalid directive
[7027,4] Error for input '.param': Invalid directive
[7028,4] Error for input '.param': Invalid directive
[7403,4] Error for input '.param': Invalid directive
[7404,4] Error for input '.param': Invalid directive
[7405,4] Error for input '.param': Invalid directive
[1148,11] mismatched input 'p1' expecting END_METHOD_DIRECTIVE
[1300,11] mismatched input 'p1' expecting END_METHOD_DIRECTIVE
[1782,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[1795,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[1809,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[1825,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[1841,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[1852,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[1873,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[1884,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[1900,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[1911,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[1922,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[1935,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[1946,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[1957,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[1968,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[1979,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[1991,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2002,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2013,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2025,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2036,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2047,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2059,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2070,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2081,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2098,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2114,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2130,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2147,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2158,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2169,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2181,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2194,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2205,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2216,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2233,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2250,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2261,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2272,11] mismatched input 'p1' expecting END_METHOD_DIRECTIVE
[2411,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2555,11] mismatched input 'p1' expecting END_METHOD_DIRECTIVE
[2607,11] mismatched input 'p1' expecting END_METHOD_DIRECTIVE
[2704,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2870,11] mismatched input 'p0' expecting END_METHOD_DIRECTIVE
[2981,11] mismatched input 'p1' expecting END_METHOD_DIRECTIVE
[3080,11] mismatched input 'p1' expecting END_METHOD_DIRECTIVE
[3264,11] mismatched input 'p1' expecting END_METHOD_DIRECTIVE
[3271,4] missing EOF at '.prologue'
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file
: P:\APKTOOL\framework\smali\android\media\MediaScanner.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:37)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:257)
at brut.androlib.Androlib.buildSources(Androlib.java:214)
at brut.androlib.Androlib.build(Androlib.java:205)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
If you don't mind, can you please share your framework.jar with me/us?
Sami Kabir said:
Thanks for sharing! I was looking for a way to do this - but I'm glad that you figured it out first!
Unfortunately, I can't recompile my framework.jar after replacing my MediaScanner.smali with yours. This is the error I get:
If you don't mind, can you please share your framework.jar with me/us?
Click to expand...
Click to collapse
OP updated with a flashable zip, please test it because I'd like to know if it works for your ROM.
Remember to make a backup!
If it doesn't work, then I suggest you to decompile / recompile framework.jar again using this tool:
http://forum.xda-developers.com/showthread.php?t=2311766
isaak said:
OP updated with a flashable zip, please test it because I'd like to know if it works for your ROM.
Remember to make a backup!
If it doesn't work, then I suggest you to decompile / recompile framework.jar again using this tool:
http://forum.xda-developers.com/showthread.php?t=2311766
Click to expand...
Click to collapse
Thanks for sharing your framework.jar. I decompiled it and used your MediaScanner.smali in my framework.jar - and it recompiled without any errors this time :laugh:
I checked both the MediaScanner smali files and although they were the same, there was a difference of 2 KB. So I've shared this MediaScanner.smali (see below) in case someone gets the same errors I got earlier.
Download: View attachment MediaScanner.zip
One more thing. Did you change your username from littlethings to isaak?
Sami Kabir said:
One more thing. Did you change your username from littlethings to isaak?
Click to expand...
Click to collapse
yah ! i saw littlethings 2 days ago
Related
Compiling jb code for defy
can anyone guide how to compile original JB source code for motorola defy ........... i.e. how to make working JB rom for defy ... dont want to use cyanogen mod rom ............. want to create my own can anyone guide
thank u! it really helps! thanks for all the tips! master! Sent from my MB526 using xda premium
nogoodusername said: thank u! it really helps! thanks for all the tips! master! Sent from my MB526 using xda premium Click to expand... Click to collapse i didnt get u! what exactly you want to say?
Wrong section bro... this should go in Q&A or even in General, but definitely not here...
I think it is also a development part ........ building environment & development of custom rom from source ....
latadswapnil said: I think it is also a development part ........ building environment & development of custom rom from source .... Click to expand... Click to collapse Development section is meant for development not discussions, tutorials, How-Tos etc. This is where roms, mods and other cool stuff go. It is a place where something is being worked on and where devs and the community can contribute and work together. Questions are for the Q&A and General section whether or not they are development related has Hairo has said.
Kayant said: Development section is meant for development not discussions, tutorials, How-Tos etc. This is where roms, mods and other cool stuff go. It is a place where something is being worked on and where devs and the community can contribute and work together. Questions are for the Q&A and General section whether or not they are development related has Hairo has said. Click to expand... Click to collapse Ok but this can be moved to the respective section and answered there na? I too want a lil novice guide on compiling roms Sent from my MB525 using xda app-developers app
vedhasd said: Ok but this can be moved to the respective section and answered there na? I too want a lil novice guide on compiling roms Sent from my MB525 using xda app-developers app Click to expand... Click to collapse It will be soon Then your best friend is search google, XDA and whatever else......however, if you know how to code then it should be easy if not look at my github and look at the commits I cherry-pick from our CM team those are what is need to get the defy to boot on an AOSP rom. Look at the android source code and see how it works you will know what to do from there look at other roms like AOKP, CM and CNA etc. When I ported AOKP and CNA and soon Slim i don't know how to code one bit however, I just know how to look at things and see how they work by searching, using my brain, comparing for hours and learning. Learning to use git is necessary for all this to happen it's quite easy once you get the hang of it just search the commands if you don't know what they mean or do. Good luck and next time latadswapnil please post in the right section.
Moved to Q&A. Please do not posts questions in development sections.
TeeJay3800 said: Moved to Q&A. Please do not posts questions in development sections. Click to expand... Click to collapse Sorry Sent from my MB525 using xda app-developers app ---------- Post added at 08:41 AM ---------- Previous post was at 08:37 AM ---------- @kayant yes dude, especially its very good of you, I have used ur aokp builds and luved it! And i just want from where to start...I have a lil knowledge of c,c++,java coding but don't know how to apply in compiling! I have done some apps...dunno if that knowledge is useful..! Sent from my MB525 using xda app-developers app
sorry ...bro ...
i have sync the android source & build required environment .... please guide me to where to look & what are the important factors to look while learning . .
Kayant said: It will be soon Then your best friend is search google, XDA and whatever else......however, if you know how to code then it should be easy if not look at my github and look at the commits I cherry-pick from our CM team those are what is need to get the defy to boot on an AOSP rom. Look at the android source code and see how it works you will know what to do from there look at other roms like AOKP, CM and CNA etc. When I ported AOKP and CNA and soon Slim i don't know how to code one bit however, I just know how to look at things and see how they work by searching, using my brain, comparing for hours and learning. Learning to use git is necessary for all this to happen it's quite easy once you get the hang of it just search the commands if you don't know what they mean or do. Good luck and next time latadswapnil please post in the right section. Click to expand... Click to collapse Can you post some links!! to start from begin ....! it will be very helpful
latadswapnil said: Can you post some links!! to start from begin ....! it will be very helpful Click to expand... Click to collapse I won't post links as that will be spoon feeding and you can't do this if I do that but search the general section i have a guide on compiling roms for the defy and also there's a thread where Quarx helped me when I was porting AOKP JB. Good luck ^_^
It takes hours to compile the code ....... it will be helpful if you suggest ... some sort of changes for that we have to look..... before compiling More or less....forum is made for helping each other......providing link will reduce the work...... Sent from my MB526 using xda app-developers app
latadswapnil said: It takes hours to compile the code ....... it will be helpful if you suggest ... some sort of changes for that we have to look..... before compiling More or less....forum is made for helping each other......providing link will reduce the work...... Sent from my MB526 using xda app-developers app Click to expand... Click to collapse Yes but you wouldn't be learning the point of a forum is to give a guiding hand and you do the rest = learning less problems and person remembering that skill..... Well I ported gummy rom for the first time(even though it didn't boot probably in the end) no one helped me because I read around, read a lot before doing what I did and I have given a lot of info already on where to find stuff i cba to search it it's already out there for you. You just need to find it like i did ---------- Post added at 08:43 PM ---------- Previous post was at 08:41 PM ---------- vedhasd said: @kayant yes dude, especially its very good of you, I have used ur aokp builds and luved it! And i just want from where to start...I have a lil knowledge of c,c++,java coding but don't know how to apply in compiling! I have done some apps...dunno if that knowledge is useful..! Sent from my MB525 using xda app-developers app Click to expand... Click to collapse Once you learn how AOSP works it should help you write in some new code if you want to add some new features and also to identify and fix errors when they come up when compiling.....
ERROR::!!! out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:98:39: error: invalid use of undefined type 'struct xt_connmark_tginfo1' out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:98:39: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:100:39: error: invalid use of undefined type 'struct xt_connmark_tginfo1' out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONN MARK.c:100:39: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c: In function 'connmark_tg_init': out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:133:6: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:133:6: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:134:6: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:134:6: error: request for member 'nfmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c: In function 'CONNMARK_parse': out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:144:20: error: 'XT_CONNMARK_SET' undeclared (first use in this function) out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:144:20: note: each undeclared identifier is reported only once for each function it appears in out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:144:18: warning: assignment makes integer from pointer without a cast [enabled by default] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:149:20: error: 'XT_CONNMARK_SAVE' undeclared (first use in this function) out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:149:18: warning: assignment makes integer from pointer without a cast [enabled by default] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:152:20: error: 'XT_CONNMARK_RESTORE' undeclared (first use in this function) out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:152:18: warning: assignment makes integer from pointer without a cast [enabled by default] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c: In function 'connmark_tg_parse': out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:167:7: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:167:7: error: request for member 'mode' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:167:18: error: 'XT_CONNMARK_SET' undeclared (first use in this function) out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:168:7: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:168:7: error: request for member 'ctmark' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:169:7: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:169:7: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:172:7: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:172:7: error: request for member 'mode' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:173:7: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:173:7: error: request for member 'ctmark' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:174:7: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:174:7: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:177:7: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:177:7: error: request for member 'mode' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:178:7: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:178:7: error: request for member 'ctmark' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:179:7: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:179:7: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:182:7: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:182:7: error: request for member 'mode' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:183:7: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:183:7: error: request for member 'ctmark' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:184:7: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:184:7: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:187:7: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:187:7: error: request for member 'mode' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:188:7: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:188:7: error: request for member 'ctmark' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:189:7: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:189:7: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:192:7: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:192:7: error: request for member 'mode' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:192:16: error: 'XT_CONNMARK_SAVE' undeclared (first use in this function) out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:195:7: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:195:7: error: request for member 'mode' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:195:16: error: 'XT_CONNMARK_RESTORE' undeclared (first use in this function) out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:198:7: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:198:7: error: request for member 'nfmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:198:22: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:198:22: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c: In function 'CONNMARK_print': out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:229:7: error: 'XT_CONNMARK_SET' undeclared (first use in this function) out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:234:7: error: 'XT_CONNMARK_SAVE' undeclared (first use in this function) out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:238:7: error: 'XT_CONNMARK_RESTORE' undeclared (first use in this function) out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c: In function 'connmark_tg_print': out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:254:14: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:254:14: error: request for member 'mode' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:255:7: error: 'XT_CONNMARK_SET' undeclared (first use in this function) out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:256:11: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:256:11: error: request for member 'ctmark' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:258:40: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:258:40: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:258:35: error: wrong type argument to bit-complement out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:259:16: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:259:16: error: request for member 'ctmark' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:259:32: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:259:32: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:260:36: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:260:36: error: request for member 'ctmark' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:260:4: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:261:16: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:261:16: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:262:37: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:262:37: error: request for member 'ctmark' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:262:4: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:263:16: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:263:16: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:263:25: warning: comparison between pointer and integer [enabled by default] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:264:37: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:264:37: error: request for member 'ctmark' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:264:4: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:267:15: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:267:15: error: request for member 'ctmark' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:267:29: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:267:29: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:267:11: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:267:11: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct xt_option_entry const *' [-Wformat] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:269:7: error: 'XT_CONNMARK_SAVE' undeclared (first use in this function) out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:270:11: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:270:11: error: request for member 'nfmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:270:20: warning: comparison between pointer and integer [enabled by default] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:270:41: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:270:41: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:270:50: warning: comparison between pointer and integer [enabled by default] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:272:16: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:272:16: error: request for member 'nfmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:272:32: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:272:32: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:273:43: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:273:43: error: request for member 'nfmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:273:4: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:276:15: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:276:15: error: request for member 'nfmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:276:29: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:276:29: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:276:11: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:276:11: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct xt_option_entry const *' [-Wformat] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:278:7: error: 'XT_CONNMARK_RESTORE' undeclared (first use in this function) out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:279:11: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:279:11: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:279:20: warning: comparison between pointer and integer [enabled by default] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:279:41: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:279:41: error: request for member 'nfmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:279:50: warning: comparison between pointer and integer [enabled by default] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:281:16: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:281:16: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:281:32: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:281:32: error: request for member 'nfmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:282:46: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:282:46: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:282:4: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:285:15: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:285:15: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:285:29: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:285:29: error: request for member 'nfmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:285:11: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:285:11: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct xt_option_entry const *' [-Wformat] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c: In function 'CONNMARK_save': out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:300:7: error: 'XT_CONNMARK_SET' undeclared (first use in this function) out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:305:7: error: 'XT_CONNMARK_SAVE' undeclared (first use in this function) out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:309:7: error: 'XT_CONNMARK_RESTORE' undeclared (first use in this function) out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c: In function 'connmark_tg_save': out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:332:14: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:332:14: error: request for member 'mode' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:333:7: error: 'XT_CONNMARK_SET' undeclared (first use in this function) out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:334:40: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:334:40: error: request for member 'ctmark' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:334:54: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:334:54: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:334:3: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:334:3: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct xt_option_entry const *' [-Wformat] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:336:7: error: 'XT_CONNMARK_SAVE' undeclared (first use in this function) out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:338:14: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:338:14: error: request for member 'nfmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:338:28: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:338:28: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:338:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:338:10: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct xt_option_entry const *' [-Wformat] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:340:7: error: 'XT_CONNMARK_RESTORE' undeclared (first use in this function) out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:342:14: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:342:14: error: request for member 'nfmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:342:28: error: dereferencing pointer to incomplete type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:342:28: error: request for member 'ctmask' in something not a structure or union out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:342:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat] out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:342:10: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct xt_option_entry const *' [-Wformat]
ERROR::!!! Continue target thumb C: libext <= out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_conntrack.c out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c: At top level: out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:371:20: error: invalid application of 'sizeof' to incomplete type 'struct xt_connmark_tginfo1' out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:371:20: error: invalid application of 'sizeof' to incomplete type 'struct xt_connmark_tginfo1' out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:371:20: error: cast specifies array type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:371:20: error: invalid operands to binary + (have 'struct xt_option_entry const *' and 'struct xt_option_entry const *') out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:371:20: error: invalid application of 'sizeof' to incomplete type 'struct xt_connmark_tginfo1' out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:371:20: error: cast specifies array type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:371:20: error: wrong type argument to bit-complement out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:371:20: error: invalid operands to binary & (have 'struct xt_option_entry const *' and 'struct xt_option_entry const *') out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:371:20: error: initializer element is not constant out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:371:20: error: (near initialization for 'connmark_tg_reg[1].size') out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:372:20: error: invalid application of 'sizeof' to incomplete type 'struct xt_connmark_tginfo1' out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:372:20: error: invalid application of 'sizeof' to incomplete type 'struct xt_connmark_tginfo1' out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:372:20: error: cast specifies array type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:372:20: error: invalid operands to binary + (have 'struct xt_option_entry const *' and 'struct xt_option_entry const *') out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:372:20: error: invalid application of 'sizeof' to incomplete type 'struct xt_connmark_tginfo1' out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:372:20: error: cast specifies array type out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:372:20: error: wrong type argument to bit-complement out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:372:20: error: invalid operands to binary & (have 'struct xt_option_entry const *' and 'struct xt_option_entry const *') out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:372:20: error: initializer element is not constant out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:372:20: error: (near initialization for 'connmark_tg_reg[1].userspacesize') make: *** [out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.o] Error 1 make: *** Waiting for unfinished jobs.... [email protected]:~/defy_rom$ repo status platform/bionic project bionic/ (*** NO BRANCH ***) -- libc/kernel/common/linux/netfilter/.goutputstream-A166LW -- libc/kernel/common/linux/netfilter/.goutputstream-C8EWLW -- libc/kernel/common/linux/netfilter_ipv6/.goutputstream-I0Z6LW got this while trying to build the source first i have installed ubuntu 32bit as guest on virtual box & done all repo sync .........................& later i came to know i have to do it on the ubuntu 64 bit ...........so i have copied all source to host OS windows7 .........then i have installed ubuntu 64bit guest os & copied all source to it..... then i have done all procedure again & also done repo sync again ........... only some updates downloaded & done successfuly then tried to build the source & got the above error
You need to read around before trying. Have you done that yet??? You do know you're compiling for the galaxy nexus not the defy at the moment you need to add support for the defy through mk files and changing some things in some other places..... And try and condense the error log it's quite hard to following and am not going to know how to fix everything I have no programming skills it's must better to search first then if you can't find the answer then post..
Kayant said: You need to read around before trying. Have you done that yet??? You do know you're compiling for the galaxy nexus not the defy at the moment you need to add support for the defy through mk files and changing some things in some other places..... And try and condense the error log it's quite hard to following and am not going to know how to fix everything I have no programming skills it's must better to search first then if you can't find the answer then post.. Click to expand... Click to collapse Yes i do know i am compiling for nexus .. but i am doing that for emulator purpose ............... i read about that error ........ on google group ..but solution is not working & also ubuntu is having case sensitive file system i am not getting what exactly to do because there is nothing more about it on google .......... any developer can help me out here ?
[Q] Get kernel framebuffer console
Hello XDA users! I'm so confused with this thing. I've been trying to do that nearly a month. After a billion google queries and phone reboots (if my N4 could throw up, it would) I got nothing. First of all, I can't compile the kernel. Sys info: I'm on Arch Linux 3.12.1-3-ARCH 64 bit. I have all the three google toolchains (arm-linux-androideabi-4.{6,7,8}) and currently I'm trying with 4.8. With default config (I stress that) I get this: http://showterm.io/1a41b9af919653f53a890 I use google's repo (https://android.googlesource.com/kernel/msm.git) on the android-msm-mako-3.4-kitkat-mr0 branch (I use occam-krt16o build on my N4). I know this must be noobish problem, but I have no idea what's the problem... Thanks in advance!
I've got some news! First of all, you need to edit scripts/gcc-wrapper.py to use python2.7 and not 3. However, 4.8 toolchain spits some errors and I'm not really into casting spells just to compile with 4.8 instead of 4.7. If there is a major difference between them (performance improvements etc.) I'll look into it. Now it's time to implement the framebuffer changes to the .config for more info: http://forum.xda-developers.com/showpost.php?p=10075806&postcount=3 http://forum.xda-developers.com/showpost.php?p=18256605&postcount=1 UPDATE: Well, I applied this patch (https://github.com/Tasssadar/kernel...a9d#diff-94babbe85a910bf17f882465a760c431R608), I can only get blank screen. Any ideas?
Bump.
Hi does anyone know how to get this to work. I have an Alcatel OT918D ANDROID 2.3.5. I have managed to compile my own kernel and boot it. But for adding the frame buffer option in the makefile I get this error during compilation: ************************************************************************************************************** drivers/video/console/fbcon.c:638: note: expected 'struct file *' but argument is of type 'struct fb_info *' drivers/video/console/fbcon.c:638: error: too few arguments to function 'info->fbops->fb_open' drivers/video/console/fbcon.c: In function 'con2fb_release_oldinfo': drivers/video/console/fbcon.c:670: warning: passing argument 1 of 'oldinfo->fbops->fb_release' from incompatible pointer type drivers/video/console/fbcon.c:670: note: expected 'struct file *' but argument is of type 'struct fb_info *' drivers/video/console/fbcon.c:670: error: too few arguments to function 'oldinfo->fbops->fb_release' drivers/video/console/fbcon.c:673: warning: passing argument 1 of 'newinfo->fbops->fb_release' from incompatible pointer type drivers/video/console/fbcon.c:673: note: expected 'struct file *' but argument is of type 'struct fb_info *' drivers/video/console/fbcon.c:673: error: too few arguments to function 'newinfo->fbops->fb_release' drivers/video/console/fbcon.c: In function 'fbcon_startup': drivers/video/console/fbcon.c:868: warning: passing argument 1 of 'info->fbops->fb_open' from incompatible pointer type drivers/video/console/fbcon.c:868: note: expected 'struct file *' but argument is of type 'struct fb_info *' drivers/video/console/fbcon.c:868: error: too few arguments to function 'info->fbops->fb_open' drivers/video/console/fbcon.c: In function 'fbcon_exit': drivers/video/console/fbcon.c:3388: warning: passing argument 1 of 'info->fbops->fb_release' from incompatible pointer type drivers/video/console/fbcon.c:3388: note: expected 'struct file *' but argument is of type 'struct fb_info *' drivers/video/console/fbcon.c:3388: error: too few arguments to function 'info->fbops->fb_release' make[3]: *** [drivers/video/console/fbcon.o] Error 1 make[2]: *** [drivers/video/console] Error 2 make[1]: *** [drivers/video] Error 2 make: *** [drivers] Error 2 make: *** Waiting for unfinished jobs.... CC [M] ../mediatek/source/kernel/drivers/lttng/probes/net-extended-trace.o CC [M] ../mediatek/source/kernel/drivers/lttng/probes/block-trace.o CC ../mediatek/source/kernel/kernel/trace_mt65xx_mon.o LD [M] ../mediatek/source/kernel/drivers/lttng/ltt-relay.o CC ../mediatek/source/kernel/drivers/m4u/m4u_kernel.o ../mediatek/source/kernel/drivers/m4u/m4u_kernel.c: In function 'm4u_user_v2p': ../mediatek/source/kernel/drivers/m4u/m4u_kernel.c:66: warning: format '%d' expects type 'int', but argument 3 has type 'struct task_struct *' ************************************************************************************************************
Chromium_org gives error all the time
Hello, I'm trying to compile OmniRom but after last repo sync I'm getting this error: Code: In file included from external/chromium_org/content/common/android/hash_set.cc:5:0: /home/lozohcum/OmniRom/out/target/product/jlo/obj/GYP/shared_intermediates/content/jni/HashSet_jni.h:24:20: error: expected initializer before '<' token /home/lozohcum/OmniRom/out/target/product/jlo/obj/GYP/shared_intermediates/content/jni/HashSet_jni.h:26:17: error: expected initializer before '<' token /home/lozohcum/OmniRom/out/target/product/jlo/obj/GYP/shared_intermediates/content/jni/HashSet_jni.h:29:22: error: expected '{' before '<' token /home/lozohcum/OmniRom/out/target/product/jlo/obj/GYP/shared_intermediates/content/jni/HashSet_jni.h:29:22: error: expected unqualified-id before '<' token external/chromium_org/content/common/android/hash_set.cc:30:1: error: expected '}' at end of input cc1plus: all warnings being treated as errors I have tried with chromium_org from CM11 (which compile without any errors) and the same thing appear. cc1plus: all warnings being treated as errors Click to expand... Click to collapse So I suppose adding a flag somewhere will fix that error but I'm not sure which flag and where. Do you have any clue how to solve it?
[Q] Smali Error
How to fix this smali? Log. mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient$1.smali[24,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient$1.smali[40,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient$1.smali[41,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient$1.smali[40,15] mismatched input '"context"' expecting END_METHOD_DIRECTIVE mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[43,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[44,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[43,15] mismatched input '"arg0"' expecting END_METHOD_DIRECTIVE mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[66,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[67,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[78,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[79,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[90,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[91,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[102,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[103,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[114,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[115,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[126,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[127,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[138,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[139,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[150,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[151,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[162,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[417,15] no viable alternative at input 'e' mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[417,17] no viable alternative at input 'Ljava/lang/Exception;' mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[580,15] no viable alternative at input 'filter' mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[580,22] no viable alternative at input 'Landroid/content/IntentFilter;' mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[642,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[643,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[642,15] mismatched input '"bottomColor"' expecting END_METHOD_DIRECTIVE mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[910,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[911,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[910,15] mismatched input '"first"' expecting END_METHOD_DIRECTIVE mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[912,4] Error for input '.parameter': Invalid directive mnt/sdcard/BBM/classes_dex/potato/mariozawa/statusbargradient/Gradient.smali[913,4] Error for input '.parameter': Invalid directive
are you using apktool version 1.5.2 to compile the apk assuming you have copied the smali correctly it will work If you use apktool 2 or above it will not compile
Varios issues porting AOSP/CyanogenMod/Any other such ROM(s)...
Hey everyone! As the title says, but more exactly I kinda lost my mind trying to port custom firmware for Asus A500CG. And all of it end up with errors with "hardware/intel/img/psb_video/src/android/psb_android_glue.cpp". I've used the master branch of the device tree here by quanganh2627. I'm trying to build Android M currently . I've disabled SELinux things. And to solve the psb_video error I removed the folder itself. I get a successful build but ends up with building the one for medfield. I'll post the error in the next post. And could someone guide me properly to build the ROM and for the right device. Also I'm building it on Ubuntu 14.04.02. I get the Medfield info because it literally gets stuck in the splash screen, so I used adb devices & I used adb logcat. I see that most of the services fail to start & to be more precise a bootloop without boot animation. I'd appreciate help from anyone with more experience working with custom firmware.
frameworks/native/include/binder/IInterface.h:42:22: note: template argument deduction/substitution failed: hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:124:21: error: NULL used in arithmetic [-Werror=pointer-arith] if (imds == NULL) ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:12: error: 'IMultiDisplayInfoProvider' was not declared in this scope sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider(); ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:37: error: template argument 1 is invalid sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider(); ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:43: error: invalid type in declaration before '=' token sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider(); ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:49: error: base operand of '->' is not a pointer sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider(); ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:127:20: error: NULL used in arithmetic [-Werror=pointer-arith] if (mds != NULL) { ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:128:22: error: base operand of '->' is not a pointer ret = mds->getVppState(); ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:130:13: error: converting to non-pointer type 'int' from NULL [-Werror=conversion-null] mds = NULL; ^ cc1plus: all warnings being treated as errors make: *** [/home/paletrox-z/euphoria/out/target/product/a500cg/obj/SHARED_LIBRARIES/pvr_drv_video_intermediates/android/psb_android_glue.o] Error 1
Next set of errors: hardware/intel/img/psb_video/src/android/psb_gralloc.cpp:38:25: fatal error: ufo/gralloc.h: No such file or directory #include <ufo/gralloc.h> ^ compilation terminated. make: *** [/home/paletrox-z/euphoria/out/target/product/a500cg/obj/SHARED_LIBRARIES/pvr_drv_video_intermediates/android/psb_gralloc.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:45:0: hardware/intel/img/psb_video/src/android/psb_mds.h:51:8: error: 'IMDService' was not declared in this scope sp<IMDService> mMds; ^ hardware/intel/img/psb_video/src/android/psb_mds.h:51:18: error: template argument 1 is invalid sp<IMDService> mMds; ^ hardware/intel/img/psb_video/src/android/psb_mds.h:52:8: error: 'IMultiDisplayInfoProvider' was not declared in this scope sp<IMultiDisplayInfoProvider> mListener; ^ hardware/intel/img/psb_video/src/android/psb_mds.h:52:33: error: template argument 1 is invalid sp<IMultiDisplayInfoProvider> mListener; ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp: In function 'int psb_android_get_mds_vpp_state(void*)': hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:12: error: 'IMDService' was not declared in this scope sp<IMDService> imds = interface_cast<IMDService>( ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:22: error: template argument 1 is invalid sp<IMDService> imds = interface_cast<IMDService>( ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:29: error: invalid type in declaration before '=' token sp<IMDService> imds = interface_cast<IMDService>( ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:46: error: the value of 'IMDService' is not usable in a constant expression sp<IMDService> imds = interface_cast<IMDService>( ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:12: note: 'IMDService' was not declared 'constexpr' sp<IMDService> imds = interface_cast<IMDService>( ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:123:65: error: no matching function for call to 'interface_cast(android::sp<android::IBinder>)' sm->getService(String16(INTEL_MDS_SERVICE_NAME))); ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:123:65: note: candidate is: In file included from frameworks/native/include/binder/IServiceManager.h:21:0, from hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:33: frameworks/native/include/binder/IInterface.h:42:22: note: template<class INTERFACE> android::sp<T> android::interface_cast(const android::sp<android::IBinder>&) inline sp<INTERFACE> interface_cast(const sp<IBinder>& obj) ^ frameworks/native/include/binder/IInterface.h:42:22: note: template argument deduction/substitution failed: hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:12: error: 'IMultiDisplayInfoProvider' was not declared in this scope sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider(); ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:37: error: template argument 1 is invalid sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider(); ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:43: error: invalid type in declaration before '=' token sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider(); ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:49: error: base operand of '->' is not a pointer sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider(); ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:128:22: error: base operand of '->' is not a pointer ret = mds->getVppState(); ^ make: *** [/home/paletrox-z/euphoria/out/target/product/a500cg/obj/SHARED_LIBRARIES/pvr_drv_video_intermediates/android/psb_android_glue.o] Error 1 #### make failed to build some targets (03:04 (mm:ss)) ####
Go to psb_video folder and delete all files here apart all folders and Android.mk file. Open Android.mk file and comment all strings there using # symbol. My CM12.1 is booted without this folder. You should compile Lollipop rom and only after that you should compile Marshmallow.
But mate it creates pvr_drv_video.so module. So would it be right to do so?
Just try.
I tried and it built it again for medfield mate....