pwc
[Top] [All Lists]

Re: [pwc] Invalid module format

To: Philips Webcam Linux Driver <>
Subject: Re: [pwc] Invalid module format
From: Luc Saillard <>
Date: Wed, 7 Sep 2005 18:37:25 +0200
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

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU