insmod error version magic
I am trying to compile module for android. When I compile for the emulator I can get it working. However there are problems when compiling it for the device. The module compiles properly, when I try to install it I get this error.
insmod: init_module 'ioctl.ko' failed (Exec format error)
this is the dmesg out put,
ioctl: version magic '2.6.35.7-I900XXJVP-CL264642 preempt mod_unload ARMv7 ' should be '2.6.35.7-I9000XXJVP-CL264642 preempt mod_unload ARMv7
On some forums it was said the problem is in the make file. What places should I change in the make file(if the problem is in make file)?
Thanks in advance
|