Re: Kernel et kernel-source différent - module quickcam
Le Samedi 20 Août 2005 11:35, Jean-Luc Coulon (f5ibh) a écrit :
> CC="gcc-3.4" module-assistant ?
pas de changement, je pense que j'ai raté quelquechose a vos explications
(c'est toujours le bonhomme derrière le clavier qui pose problème ;-) )
# rm /usr/src/qc-usb-modules-2.6.11-1-k7_0.6.3-1+2.6.11-7_i386.deb &&
CC="gcc-3.4" module-assistant
(idem si 'export CC')
Starting the Dialog UI...
W: Unable to locate package arla-modules-source
W: Unable to locate package ftpfs-src
W: Unable to locate package xdslusb-source
W: Unable to locate package plex86-kernel-src
W: Unable to locate package e100-source
W: Unable to locate package freeswan-modules-source
W: Unable to locate package cryptoloop-source
W: Unable to locate package xlibmesa-drm-src
W: Unable to locate package ftape-source
W: Unable to locate package cryptoapi-core-source
W: Unable to locate package openswan-modules-source
Reading package lists... Done
Building dependency tree... Done
qc-usb-source is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Updated infos about 1 packages
Extracting the package tarball, /usr/src/qc-usb-modules.tar.gz
Done with /usr/src/qc-usb-modules-2.6.11-1-k7_0.6.3-1+2.6.11-7_i386.deb .
Version 0.6.3-1+2.6.11-7 of qc-usb-modules-2.6.11-1-k7 already installed,
skipping.
Version 0.6.3-1+2.6.11-7 of qc-usb-modules-2.6.11-1-k7 already installed,
skipping.
Version 0.6.3-1+2.6.11-7 of qc-usb-modules-2.6.11-1-k7 already installed,
skipping.
# dpkg -i /usr/src/qc-usb-modules-2.6.11-1-k7_0.6.3-1+2.6.11-7_i386.deb
(Reading database ... 142601 files and directories currently installed.)
Preparing to replace qc-usb-modules-2.6.11-1-k7 0.6.3-1+2.6.11-7
(using .../qc-usb-modules-2.6.11-1-k7_0.6.3-1+2.6.11-7_i386.deb) ...
Unpacking replacement qc-usb-modules-2.6.11-1-k7 ...
Setting up qc-usb-modules-2.6.11-1-k7 (0.6.3-1+2.6.11-7) ...
# stat /lib/modules/2.6.11-1-k7/misc/quickcam.ko
File: `/lib/modules/2.6.11-1-k7/misc/quickcam.ko'
Size: 90993 Blocks: 192 IO Block: 4096 regular file
Device: 301h/769d Inode: 1156651 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2005-08-20 11:44:34.000000000 +0200
Modify: 2005-08-20 11:43:34.000000000 +0200
Change: 2005-08-20 11:44:25.000000000 +0200
# insmod /lib/modules/2.6.11-1-k7/misc/quickcam.ko
insmod: error inserting '/lib/modules/2.6.11-1-k7/misc/quickcam.ko': -1
Invalid module format
# tail /var/log/syslog | grep -i quickcam
Aug 20 11:45:17 localhost kernel: quickcam: version magic '2.6.11-1-k7 K7
gcc-4.0' should be '2.6.11-1-k7 K7 gcc-3.3'
Reply to: