creative ns ultra webcam

Andrea Bedini andrea at poisson.phc.unipi.it
Sat Apr 30 11:06:32 CDT 2005


Il giorno sab, 30/04/2005 alle 16.14 +0200, Matteo Bassi ha scritto:
> sulla guida on-line di ubuntu ho trovato
> http://www.ubuntulinux.org/wiki/Spca5xx
> 
> ==
> Problems
> 
> If the kernel was compiled using an other version of gcc, you will get 
> an error message complaining
> 
> FATAL: Error inserting spca5xx (spca5xx.ko): Invalid module format
> 
> Try installing the kernel you built in Step 1. (And this is the one 
> place even linux needs a reboot)
> 
> If this does not help or you get other errors, get the last log entries 
> typing
> ==

ottimo, qui dice che ciò succede quando il kernel e il modulo sono
compilati con versioni diverse del compilatore. 

puoi vedere con che versione del compilatore (è il gcc di solito) è
stato compilato il kernel facendo 

$ cat /proc/version
Linux version 2.6.10-5-powerpc (buildd a adare) (gcc version 3.3.5 (Debian
1:3.3.5-8ubuntu2)) #1 Tue Apr 5 12:44:32 UTC 2005

nel mio caso è compilato con il gcc versione 3.3.5

a questo punto posso specificare che compilatore usare nel modo
seguente :

$ make CC=gcc-3.3 

(prima fai 'make clean' così cancelli il risultato della precedente
compilazione e riparti da zero) 

PS: se non avessi il gcc-3.3 basta installarlo, il pacchetto ha lo
stesso nome. 
-- 
Andrea Bedini <andrea a poisson.phc.unipi.it>
-------------- parte successiva --------------
Un allegato non testuale � stato rimosso....
Nome:        non disponibile
Tipo:        application/pgp-signature
Dimensione:  189 bytes
Descrizione: This is a digitally signed message part
Url:         http://lists.ubuntu.com/archives/ubuntu-it/attachments/20050430/ac1fd3b6/attachment.pgp


More information about the ubuntu-it mailing list