Talk:Webcam

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(New page: =problem= When I do insmod drivers/media/video/v4l1-compat.ko I have insmod: error inserting 'drivers/media/video/v4l1-compat.ko': -1 Invalid module format and in dmesg v4l1_compat: v...)
 
(Solution for buid problems)
Line 7: Line 7:
 
  v4l1_compat: version magic '2.6.24 preempt mod_unload ARMv4 ' should be '2.6.24-20081103.git7172ec57 preempt mod_unload ARMv4 '
 
  v4l1_compat: version magic '2.6.24 preempt mod_unload ARMv4 ' should be '2.6.24-20081103.git7172ec57 preempt mod_unload ARMv4 '
 
Have you a idea ?
 
Have you a idea ?
 +
 +
== solution ==
 +
I guess the real fix would be to use the 2.6.24-20081103.git7172ec57 source instead of the 2.6.24 one, but there's also another workaround. Just attach <code>EXTRAVERSION=-20081103.git7172ec57</code> whenever you build (use make) a file, e.g.:
 +
<pre>
 +
make EXTRAVERSION=-20081103.git7172ec57 drivers/media/video/v4l1-compat.ko
 +
</pre>

Revision as of 16:11, 17 January 2009

problem

When I do

insmod drivers/media/video/v4l1-compat.ko 

I have

insmod: error inserting 'drivers/media/video/v4l1-compat.ko': -1 Invalid module format

and in dmesg

v4l1_compat: version magic '2.6.24 preempt mod_unload ARMv4 ' should be '2.6.24-20081103.git7172ec57 preempt mod_unload ARMv4 '

Have you a idea ?

solution

I guess the real fix would be to use the 2.6.24-20081103.git7172ec57 source instead of the 2.6.24 one, but there's also another workaround. Just attach EXTRAVERSION=-20081103.git7172ec57 whenever you build (use make) a file, e.g.:

make EXTRAVERSION=-20081103.git7172ec57 drivers/media/video/v4l1-compat.ko
Personal tools

problem

When I do

insmod drivers/media/video/v4l1-compat.ko 

I have

insmod: error inserting 'drivers/media/video/v4l1-compat.ko': -1 Invalid module format

and in dmesg

v4l1_compat: version magic '2.6.24 preempt mod_unload ARMv4 ' should be '2.6.24-20081103.git7172ec57 preempt mod_unload ARMv4 '

Have you a idea ?

solution

I guess the real fix would be to use the 2.6.24-20081103.git7172ec57 source instead of the 2.6.24 one, but there's also another workaround. Just attach EXTRAVERSION=-20081103.git7172ec57 whenever you build (use make) a file, e.g.:

make EXTRAVERSION=-20081103.git7172ec57 drivers/media/video/v4l1-compat.ko