On Wed, Sep 07, 2005 at 06:14:05PM +0200, Zbynek Vrastil wrote:
> Hi folks,
>
> I've just installed pwc module for the first time on my computer, and I
> experienced same troubles this thread was about:
>
> FATAL: Error inserting pwc
> (/lib/modules/2.6.11-1-k7/kernel/drivers/usb/media/pwc.ko): Invalid
> module format
>
> I googled to this thread, but it was not very helpful :). However, by a
> pretty sheer of luck, I have found the source of the problem quickly, so
> I decided to write it here for other desperates.
>
> The problem was, that gcc used to compile the module was of different
> version than gcc used to build debian kernel image (4.0 versus 3.3).
> After changing gcc symlink back to gcc-3.3, everything worked fine.
>
Yes, i've this problem too, because when you compile your kernel, the
makefile chooses 3.3 and not the 4.0 (not enought stable). But my makefile
don't/can't find the right compiler. So i use to build the module without
change symlink, this command
make CC=gcc-3.3
Luc
Tip: use 'dmesg' to see the exact error after inserting the module
_______________________________________________
pwc mailing list
http://lists.saillard.org/mailman/listinfo/pwc
|