Problem cross-compiling modules

g9612753 g9612753 at yuntech.edu.tw
Tue Nov 4 04:15:25 CET 2008


Greetings,

I refered to the openmokowiki 'Webcam' and 'Toolchain' pages to cross-compile the v4l1-common.ko, v4l2-compat.ko, videodev.ko and uvcvideo.ko modules. The toochain is 'openmoko-i686-arm-linux-gnueabi-toolchain.tar.bz2' and the kernel is 'linux-2.6.24.tar.bz2'. Everything seemed to be fine till the modules were generated. But when I tried to 'insmod' these module, I got the error message from terminal:
Error Inserting v4l1-common: Invalid format
Error Inserting v4l2-compat: Invalid format
Error Inserting videodev: Invalid format
Error Inserting uvcvideo: Invalid format

'dmesg' shows:
v4l1-common: version magic '2.6.24 mod_unload ARMv4' should be '2.6.24 preempt mod_unload ARMv4'
v4l2-compat: version magic '2.6.24 mod_unload ARMv4' should be '2.6.24 preempt mod_unload ARMv4'
videodev: version magic '2.6.24 mod_unload ARMv4' should be '2.6.24 preempt mod_unload ARMv4'
uvcviedo: version magic '2.6.24 mod_unload ARMv4' should be '2.6.24 preempt mod_unload ARMv4' 

Is there any way to solve this problem?

Thanks




More information about the community mailing list