FORUMS

Galaxy S6 Weekly Shooting Challenge

Over in our forums this weekend, XDA Forum member DevonSloan has started a thread for talented … more

Which Features from Apple Watch Do You Think Android Wear Will Copy?

The Apple Watch and Android Wear are both growing platforms. Now … more

XDA Picks: Best Apps of the Week (May 15 – 22)

Apps are at the front and center of any smartphone experience, and with over a … more

Android 5.1 for the Nvidia Shield Tablet is Out!

Nvidia is quite good at delivering updates in a timely fashion. The producer of famous … more
Post Reply Subscribe to Thread Email Thread

section mismatch in android 2.3 v20s kernel

19th April 2014, 04:45 PM |#1  
OP Senior Member
Thanks Meter: 24
 
More
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
 
Donate to Me
More
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
 
More
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
 
More
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
 
More
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
 
More
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
 
More
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
 
More
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