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 '22.214.171.124-I900XXJVP-CL264642 preempt mod_unload ARMv7 ' should be '126.96.36.199-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