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