Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,223 Members 52,057 Now Online
XDA Developers Android and Mobile Development Forum

section mismatch in android 2.3 v20s kernel

Tip us?
 
rajeshmk2012
Old
#1  
Senior Member - OP
Thanks Meter 24
Posts: 133
Join Date: Dec 2012
Default section mismatch in android 2.3 v20s kernel

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)
 
Duarte777
Old
#2  
Duarte777's Avatar
Recognized Contributor
Thanks Meter 2018
Posts: 949
Join Date: Nov 2011
Location: Braga

 
DONATE TO ME
You canīt complete the compile ? Check if its complete, because if you are getting something like:
Code:
Select Code
"WARNING: modpost: Found X section mismatch(es)."
Thats just a adice/warning and the compelition should be fine.


My facebook - Latest news, romīs & more.

Help me with my work: Donate Me Thank you
 
rajeshmk2012
Old
#3  
Senior Member - OP
Thanks Meter 24
Posts: 133
Join Date: Dec 2012
Quote:
Originally Posted by Duarte777 View Post
You canīt complete the compile ? Check if its complete, because if you are getting something like:
Code:
Select 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
 
rajeshmk2012
Old
#4  
Senior Member - OP
Thanks Meter 24
Posts: 133
Join Date: Dec 2012
Quote:
Originally Posted by Duarte777 View Post
You canīt complete the compile ? Check if its complete, because if you are getting something like:
Code:
Select 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
 
rajeshmk2012
Old
#5  
Senior Member - OP
Thanks Meter 24
Posts: 133
Join Date: Dec 2012
Can any more dev's put some light on this....

Sent from my LG-P970 using xda app-developers app
 
rajeshmk2012
Old
#6  
Senior Member - OP
Thanks Meter 24
Posts: 133
Join Date: 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-
 
rajeshmk2012
Old
#7  
Senior Member - OP
Thanks Meter 24
Posts: 133
Join Date: Dec 2012
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: [ Click to Expand ]
 
rajeshmk2012
Old
#8  
Senior Member - OP
Thanks Meter 24
Posts: 133
Join Date: 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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Xperia Z1 Stereo Speaker Mod, Cell Phone Unlocking Legal Again! – XDA Developer TV

Cell Phone Unlocking is legal again!! That and much … more

[OTA Captured] Verizon LG G Pad 8.3 Finally Gets Official KitKat Update

It’s been almost nine months since the LG G Pad … more

Enjoy Wallpaper Overload with PhotoPhase

We don’t usually feature live wallpapers on the XDA Portal unless they are somewhat innovative … more

Monitor What Your Phone’s Camera Sees with Android Wear

Having a smart device strapped to your wrist certainly has its merits. A … more