How to install cross-compiled linux-uvc in OMAP3530
Hi,
For Omap3530 I have cross compiled linux-uvc with arm-none-linux-gnueabi tool chain. It is cross compiled successfully without giving any error or warning, and uvcvideo.ko is creating. But when I want to insert this module with "insmod uvcvideo.ko" then It is giving error that Invalid module format. so, I have checked the kernel version for which the linux-uvc is cross compiled and the kernel running in the board. They both are same 2.6.22.18-omap3. Now can anyone tell me why this error is coming and how can i resolve this error. Thanks, Anirban Roy Choudhury |
The module can only be inserted into a
kernel compiled with an identical compiler. But may be insmod isn't working, it is a primitive tool, try # 'modprobe <module>' instead. .... |
Hi knudfl,
I have already tried with modprobe but that is also giving the same error. And I cant undestand what do you want to mean by "The module can only be inserted into a kernel compiled with an identical compiler" Please clarify. Note I have cross compiled the camera driver with the tool chain supplied with the board. Thanks, Anirban |
The command 'cat /proc/version' will usually tell which
version of compiler was used for the kernel build. 'gcc-arm-none-linux -v' (please use actual "gcc" name) will write gcc version etc. |
All times are GMT -5. The time now is 10:02 AM. |