Saturday, May 25, 2013 Register
 
www.cyberspacesolutionsinc.com
www.cyberspacesolutionsinc.com Bookmark and Share
  Search
AllDroid Forums
Welcome Guest! To enable all features please try to register or sign in.

Notification

Icon
Error

Version magic errors on driver compiled for Droid X
Rurik
0
#1 Posted : Friday, May 13, 2011 7:26:29 AM(UTC)
Rank: Android
Joined: 5/13/2011(UTC)
Posts: 1
Points: 3
Location: United States

Groups: Registered Users, Subscribers

I'm new to Droid development work, so forgive me if this is a basic question. I've searched a bit extensively and am looking for assistance.
I'm compiling a driver for Droid X. It works with other Android phones.  I downloaded the latest OMAP kernel (2.6.38) and compiled the driver, pushed it to the device and loaded it.

It provided the following error:

xyz: version magic '2.6.38+ SMP mod_unload modversions ARMv6 ' should be '2.6.32.9 preempt mod_unload ARMv7 '

When I check `strings` against the compiled object I do see the 'vermagic=2.6.38+ SMP mod_unload modversions ARMv6'

So, I'm assuming that instead of compiling with the 2.6.38 kernel that I need to find the git branch for 2.6.32.9 and compile against that, or update the kernel on the phone but I'd like to hold off on that. However, in the .config I see no reference to ARMv7 unless that is in its own branch apart from ARMv6?  Since I don't think there are any major differences between the kernels that would affect the code, is there just simply a way to "spoof" the kernel version in the compiled app?
Sponsor
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.134 seconds.
www.cyberspacesolutionsinc.com
 
 

 
This site enhanced by Look out for more enhancements in the near future!
 
www.cyberspacesolutionsinc.com www.cyberspacesolutionsinc.com www.cyberspacesolutionsinc.com