logo       

Re: creative ns ultra webcam: msg#01064

linux.ubuntu.user.italian

Subject: Re: creative ns ultra webcam

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@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-1ggtkMrCeZFoG1tgCFlPok6FHaWFtxp8@xxxxxxxxxxxxxxxx>

Attachment: signature.asc
Description: This is a digitally signed message part



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise