Nvidia and Robotics w/ Barrett Williams – XDA:DevCon 2014

Robotics continues to dominate our videos from this years XDA:DevCon 2014 in … more

Speed Up Deodexing with JoelDroid Batch Deodexer

Android 5.0 Lollipop brings many under-the-hood changes like changing the default compiler … more

Top 5 Apps for 2014 + Top Xposed Mod of 2014 – XDA TV

Its that time of year where you look back and remember the things that happened … more

NVIDIA SHIELD Tablet Gets Android 5.0.1, OTA Available

The NVIDIA SHIELD Tablet is the latest Android-powered device released by famed GPU … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

section mismatch in android 2.3 v20s kernel

OP rajeshmk2012

19th April 2014, 05: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, 01:27 AM   |  #2  
Duarte777's Avatar
Recognized Contributor
Flag Braga
Thanks Meter: 2,019
 
951 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, 07: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, 09: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, 07: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
22nd April 2014, 12:44 AM   |  #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, 06: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, 04: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