Originally Posted by sumahegde
I am working on an arm based board with Android kernel running on it.I have a logitech webcam and so i've compiled the logitech webcam driver as a module and got the corresponding 'quickcam_messenger.ko' object file.I've compiled webcam driver as a module against the same android kernel running on the board.I checked the modules.dep file which says that webcam driver(quickcam_messenger.ko) depends upon other modules and so i copied those modules along with Module.symvers ,modules.alias, modules.order files into data/ directory in my filesystem.When the board boots up i try to manually install the webcam driver using 'insmod' and i get the following error:
quickcam_messenger.ko:no symbol version for struct_module
insmod:init_module quickcam_messenger.ko failed(Exec format error)
I run insmod from the place where my quickcam_messenger.ko file is present.So can anyone please tell me where am i going wrong?
Yes, the module needs to be present in the directory where your other modules are, usually /lib/modules/<kernel version>/<some directory>. But since you're using a custom board, custom kernel, with a custom module, that YOU compiled, you'd be the one to know where it needs to go.