XDA Xposed Tuesday: Modify the Look of Your Volume Control – XDA TV

How many screenshots have you seen with a volume status bar in the … more

Prepare Your Nokia X2 for Battle with Nokia X2 Tools

Unveiled in June this year, the Nokia X2 is the Finnish companys second crack at an … more

Increase the Speaker Volume of Your Samsung Gear 2 with Tool and Tutorial

I think its pretty safe to say that any sound coming out of a … more

Unlock Hidden Camera Settings on Your Moto G

At one point in time or another, weve all gotten very fiddly with the camera settings on our … more
Post Reply

section mismatch in android 2.3 v20s kernel

19th April 2014, 04:45 PM   |  #1  
OP Senior Member
Thanks Meter: 24
 
135 posts
Join Date:Joined: Dec 2012
I am trying to compile android 2.3 v20s kernel and it is giving me 18 mismatch section ...I sorted out first three.....but I am not expecting the other 15.....has any one faced this.......I have use arm-eabi -4.4.3 and 4.4.0 and also 4.6 ...but no change.....

I know there are dev's who has successfully compiled it.....can any one tell me whether they saw so many mismatches ....because it is original source from lg......

I did not face these many mismatch or i think there were none during 4.0.4 compile.....

I know they can be fixed by putting of adding/removing __init etc but i am not expecting them


I have attached the build log ...
Attached Files
File Type: txt mylogfile.txt - [Click for QR Code] (102.5 KB, 3 views)
20th April 2014, 12:27 AM   |  #2  
Duarte777's Avatar
Recognized Contributor
Flag Braga
Thanks Meter: 2,019
 
950 posts
Join Date:Joined: Nov 2011
Donate to Me
You canīt complete the compile ? Check if its complete, because if you are getting something like:
Code:
"WARNING: modpost: Found X section mismatch(es)."
Thats just a adice/warning and the compelition should be fine.
20th April 2014, 06:49 AM   |  #3  
OP Senior Member
Thanks Meter: 24
 
135 posts
Join Date:Joined: Dec 2012
Quote:
Originally Posted by Duarte777

You canīt complete the compile ? Check if its complete, because if you are getting something like:

Code:
"WARNING: modpost: Found X section mismatch(es)."
Thats just a adice/warning and the compelition should be fine.

They are just warnings....The build is complete
...But i think section mismatches are bad...and these are too many....

Sent from my LG-P970 using xda app-developers app
20th April 2014, 08:06 AM   |  #4  
OP Senior Member
Thanks Meter: 24
 
135 posts
Join Date:Joined: Dec 2012
Quote:
Originally Posted by Duarte777

You canīt complete the compile ? Check if its complete, because if you are getting something like:

Code:
"WARNING: modpost: Found X section mismatch(es)."
Thats just a adice/warning and the compelition should be fine.

Also the lines where mismatch is coming ...the code is same in 4.0.4 but they don't give warnings ...I used 4.6 for 2.3 also but same ....

Are there any compiler flags to be set in makefile which can take care of these.....

Sent from my LG-P970 using xda app-developers app
21st April 2014, 06:49 AM   |  #5  
OP Senior Member
Thanks Meter: 24
 
135 posts
Join Date:Joined: Dec 2012
Can any more dev's put some light on this....

Sent from my LG-P970 using xda app-developers app
21st April 2014, 11:44 PM   |  #6  
OP Senior Member
Thanks Meter: 24
 
135 posts
Join Date:Joined: Dec 2012
I downloaded arm-linux-androideabi-4.6 from https://android.googlesource.com/pla...droideabi-4.6/
and then only got one warning which I fixed and no warnings now.....

but if i use arm-eabi-4.6 https://android.googlesource.com/pla.../arm-eabi-4.6/
or any arm-eabi- version then i get 14 mismatch ,,,,,,

AFAIK arm-eabi- is used to build kernels and androideabi is used to build android layer.......but the later also builds kernel and i don't get any warnings now.......

Also found one reference where arm-linux-androideab- is used to build nexus S kernel.....
http://glandium.org/blog/?p=2214

So is it safe to use kernel built by arm-linux-androideab-
23rd April 2014, 05:02 AM   |  #7  
OP Senior Member
Thanks Meter: 24
 
135 posts
Join Date:Joined: Dec 2012
Smile
I see there is no response .But that is OK,as I have fixed all the section mismatches .The issue was in LG's code..and now compiled with arm-eabi-4.6 with zero section mismatch errors....I will try the kernel after applying rmcc patch ..maybe this weekend.
The Following User Says Thank You to rajeshmk2012 For This Useful Post: [ View ]
4th May 2014, 03:44 PM   |  #8  
OP Senior Member
Thanks Meter: 24
 
135 posts
Join Date:Joined: Dec 2012
got the kernel booting
see below post for info
http://forum.xda-developers.com/show...4&postcount=13

https://github.com/rajeshmk2011/lg_p...readkernel.git

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Optimus Black Android Development by ThreadRank