je viens de commenter la ligne 282, mais j'obtiens pleins d'autres erreurs,
je te mets tout ce que m'affiche le script, j'espere que tu vas pas prendre peur :-S
./quickcam.sh
/usr/bin/whoami
/bin/su
/bin/ls
/bin/cat
/usr/bin/gcc
/usr/bin/gcc
/usr/bin/make
/bin/grep
/bin/egrep
/usr/bin/awk
/bin/sed
/usr/bin/tail
/usr/bin/head
/usr/bin/install
/usr/bin/ld
/bin/uname
/usr/bin/tr
/usr/bin/xawtv
/usr/X11R6/bin/xdpyinfo
/bin/dmesg
/usr/bin/wc
which: no realpath in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
which: no realpath in (/usr/local/bin)
/usr/bin/readlink
gcc version: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
gcc version: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
Make version: GNU Make 3.80/usr/bin/whoami
/bin/su
/bin/ls
/bin/cat
/usr/bin/gcc
/usr/bin/gcc
/usr/bin/make
/bin/grep
/bin/egrep
/usr/bin/awk
/bin/sed
/usr/bin/tail
/usr/bin/head
/usr/bin/install
/usr/bin/ld
/bin/uname
/usr/bin/tr
/usr/bin/xawtv
/usr/X11R6/bin/xdpyinfo
/bin/dmesg
/usr/bin/wc
which: no realpath in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
which: no realpath in (/usr/local/bin)
/usr/bin/readlink
gcc version: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
gcc version: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
Make version: GNU Make 3.80
Linker version: GNU ld version 2.15.92.0.2 20040927
Kernel compiler: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-3mdk)
[!] Kernel compiler and gcc seem to be different versions.
Instead, they should be the same. If you have many compilers
installed, you can specify the correct one with command (in bash)
export CC=kgcc
before trying to install the driver. Replace kgcc with the command
required for compiling kernels (kgcc is often used in Red Hat systems).
Looking for more necessary programs...
which: no depmod in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
Found program /sbin/depmod
which: no insmod in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
Found program /sbin/insmod
which: no rmmod in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
Found program /sbin/rmmod
which: no modprobe in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
Found program /sbin/modprobe
Found program /bin/mount
which: no lsusb in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
which: no lsusb in (/sbin)
Found program /usr/sbin/lsusb
depmod version: module-init-tools 3.0
insmod version: module-init-tools version 3.0
rmmod version: module-init-tools version 3.0
modprobe version: module-init-tools version 3.0
Checking whether we're root... olivier
Checking for driver source code...
Checking for write permission...
Previous round done. Now checking if you have kernel source installed.
Press Ctrl+C to quit, Enter to continue --->
which: no depmod in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
awk: cmd. ligne:1: Fatal: ne peut ouvrir le fichier « /lib/modules/2.6.11-6mdk/build/include/linux/version.h » en lecture (No such file or directory)
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
Kernel source directory: /lib/modules/2.6.11-6mdk/build
[!] Can not find kernel source or even headers.
Make sure that they are installed (install with e.g. rpm or apt-get
if necessary) and ensure that you have read rights to the files.
WARNING: If you press Enter, I'll try to continue anyway,
but this probably will fail. You SHOULD press Ctrl+C now.
Press Ctrl+C to quit, Enter to continue --->
Linker version: GNU ld version 2.15.92.0.2 20040927
Kernel compiler: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-3mdk)
[!] Kernel compiler and gcc seem to be different versions.
Instead, they should be the same. If you have many compilers
installed, you can specify the correct one with command (in bash)
export CC=kgcc
before trying to install the driver. Replace kgcc with the command
required for compiling kernels (kgcc is often used in Red Hat systems).
Looking for more necessary programs...
which: no depmod in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
Found program /sbin/depmod
which: no insmod in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
Found program /sbin/insmod
which: no rmmod in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
Found program /sbin/rmmod
which: no modprobe in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
Found program /sbin/modprobe
Found program /bin/mount
which: no lsusb in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
which: no lsusb in (/sbin)
Found program /usr/sbin/lsusb
depmod version: module-init-tools 3.0
insmod version: module-init-tools version 3.0
rmmod version: module-init-tools version 3.0
modprobe version: module-init-tools version 3.0
Checking whether we're root... olivier
Checking for driver source code...
Checking for write permission...
Previous round done. Now checking if you have kernel source installed.
Press Ctrl+C to quit, Enter to continue --->
which: no depmod in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
awk: cmd. ligne:1: Fatal: ne peut ouvrir le fichier « /lib/modules/2.6.11-6mdk/build/include/linux/version.h » en lecture (No such file or directory)
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
Kernel source directory: /lib/modules/2.6.11-6mdk/build
[!] Can not find kernel source or even headers.
Make sure that they are installed (install with e.g. rpm or apt-get
if necessary) and ensure that you have read rights to the files.
WARNING: If you press Enter, I'll try to continue anyway,
but this probably will fail. You SHOULD press Ctrl+C now.
Press Ctrl+C to quit, Enter to continue --->
Je pense que ca va etre long si tu veux m'aider ....
et en relancant mon script cela me donne toujours la meme erreur que voici :
which: no realpath in (/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin)
which: no realpath in (/usr/local/bin)
/usr/bin/readlink
gcc version: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
gcc version: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
Make version: GNU Make 3.80
Linker version: GNU ld version 2.15.92.0.2 20040927
Kernel compiler: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-3mdk)
[!] Kernel compiler and gcc seem to be different versions.
Instead, they should be the same. If you have many compilers
installed, you can specify the correct one with command (in bash)
export CC=kgcc
before trying to install the driver. Replace kgcc with the command
required for compiling kernels (kgcc is often used in Red Hat systems).
je ne comprend pas trop là, ca n'a rien fait apparemment....
ok je veux bien recompiler mon kernel mais c'est une tache un peu délicate non???
saurais tu me donner qques explications pour pouvoir le compiler simplement?
Sinon pourquoi je veux la même:
en fait j'ai poster un message dans la rubrique forum débutant , tu le verras sous le sujet :"installation driver webcam quickcam messenger!!!!!"
en clair j'ai un script a lancer, et il me met que ma version de gcc et la version de gcc du kernel est différente.
Si tu veux m'aider, ca serait super sympa, je galere pas mal là...
dans le repertoire usr/bin/ j'ai ca comme gcc:
gcc
gcc-3.4.3
gcc3.4-version
Voila ce que j'obtiens en faisant cat /proc/version :
Linux version 2.6.11-6mdk (gb@n2.mandrakesoft.com) (gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-3mdk)) #1 Tue Mar 22 16:04:32 CET 2005
je viens d'essayer de faire un export de CC
en tapant export CC=/usr/bin/gcc-3.4.3
et résultat ca fonctionne toujours pas :-(..
j'obtiens dans le script de quickam.sh :
/usr/bin/gcc-3.4.3 version: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
gcc version: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
Make version: GNU Make 3.80
Linker version: GNU ld version 2.15.92.0.2 20040927
Kernel compiler: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-3mdk)
[!] Kernel compiler and /usr/bin/gcc-3.4.3 seem to be different versions.
Instead, they should be the same. If you have many compilers
installed, you can specify the correct one with command (in bash)
export CC=kgcc
before trying to install the driver. Replace kgcc with the command
required for compiling kernels (kgcc is often used in Red Hat systems).
oui je viens de faire un "export CC=kgcc",
mais je n'ai pas kgcc d'installé.
which: no kgcc in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
Warning: kgcc missing
/usr/bin/gcc
/usr/bin/make
/bin/grep
/bin/egrep
/usr/bin/awk
/bin/sed
/usr/bin/tail
/usr/bin/head
/usr/bin/install
/usr/bin/ld
/bin/uname
/usr/bin/tr
/usr/bin/xawtv
/usr/X11R6/bin/xdpyinfo
/bin/dmesg
/usr/bin/wc
[!] Some important programs can not be found on default path.
Probably they aren't installed.
You should install them, for example, by using apt-get or rpm.
WARNING: If you press Enter, I'll try to continue anyway,
"
je pourrais installer, kgcc, enfin il faut que j'essaye du moins.
Mais normalement, si j'ai bien compris cela devrait marcher, mais avec une autre version, de gcc, non?? (laquelle?? 3.4.3-3 ou 3.4.3-7???)
[^] # Re: SAVOIR LIRE
Posté par rduke2 . En réponse au message Comment avoir la meme version de gcc et du kernek compiler gcc?????????. Évalué à 1.
Pour information dans /lib/modules/ j'ai deux dossiers :
2.6.11-6mdk/ et 2.6.11-6mdkcustom/
J'ai du faire une erreur une fois en recompilant et j'ai du creer le dossier 2.6.11-6mdkcustom/ peut etre que c'est ca, qui ne va pas???
[^] # Re: Facile
Posté par rduke2 . En réponse au message Comment avoir la meme version de gcc et du kernek compiler gcc?????????. Évalué à 0.
je te mets tout ce que m'affiche le script, j'espere que tu vas pas prendre peur :-S
./quickcam.sh
/usr/bin/whoami
/bin/su
/bin/ls
/bin/cat
/usr/bin/gcc
/usr/bin/gcc
/usr/bin/make
/bin/grep
/bin/egrep
/usr/bin/awk
/bin/sed
/usr/bin/tail
/usr/bin/head
/usr/bin/install
/usr/bin/ld
/bin/uname
/usr/bin/tr
/usr/bin/xawtv
/usr/X11R6/bin/xdpyinfo
/bin/dmesg
/usr/bin/wc
which: no realpath in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
which: no realpath in (/usr/local/bin)
/usr/bin/readlink
gcc version: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
gcc version: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
Make version: GNU Make 3.80/usr/bin/whoami
/bin/su
/bin/ls
/bin/cat
/usr/bin/gcc
/usr/bin/gcc
/usr/bin/make
/bin/grep
/bin/egrep
/usr/bin/awk
/bin/sed
/usr/bin/tail
/usr/bin/head
/usr/bin/install
/usr/bin/ld
/bin/uname
/usr/bin/tr
/usr/bin/xawtv
/usr/X11R6/bin/xdpyinfo
/bin/dmesg
/usr/bin/wc
which: no realpath in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
which: no realpath in (/usr/local/bin)
/usr/bin/readlink
gcc version: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
gcc version: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
Make version: GNU Make 3.80
Linker version: GNU ld version 2.15.92.0.2 20040927
Kernel compiler: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-3mdk)
[!] Kernel compiler and gcc seem to be different versions.
Instead, they should be the same. If you have many compilers
installed, you can specify the correct one with command (in bash)
export CC=kgcc
before trying to install the driver. Replace kgcc with the command
required for compiling kernels (kgcc is often used in Red Hat systems).
Looking for more necessary programs...
which: no depmod in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
Found program /sbin/depmod
which: no insmod in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
Found program /sbin/insmod
which: no rmmod in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
Found program /sbin/rmmod
which: no modprobe in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
Found program /sbin/modprobe
Found program /bin/mount
which: no lsusb in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
which: no lsusb in (/sbin)
Found program /usr/sbin/lsusb
depmod version: module-init-tools 3.0
insmod version: module-init-tools version 3.0
rmmod version: module-init-tools version 3.0
modprobe version: module-init-tools version 3.0
Checking whether we're root... olivier
Checking for driver source code...
Checking for write permission...
Previous round done. Now checking if you have kernel source installed.
Press Ctrl+C to quit, Enter to continue --->
which: no depmod in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
awk: cmd. ligne:1: Fatal: ne peut ouvrir le fichier « /lib/modules/2.6.11-6mdk/build/include/linux/version.h » en lecture (No such file or directory)
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
Kernel source directory: /lib/modules/2.6.11-6mdk/build
[!] Can not find kernel source or even headers.
Make sure that they are installed (install with e.g. rpm or apt-get
if necessary) and ensure that you have read rights to the files.
WARNING: If you press Enter, I'll try to continue anyway,
but this probably will fail. You SHOULD press Ctrl+C now.
Press Ctrl+C to quit, Enter to continue --->
Linker version: GNU ld version 2.15.92.0.2 20040927
Kernel compiler: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-3mdk)
[!] Kernel compiler and gcc seem to be different versions.
Instead, they should be the same. If you have many compilers
installed, you can specify the correct one with command (in bash)
export CC=kgcc
before trying to install the driver. Replace kgcc with the command
required for compiling kernels (kgcc is often used in Red Hat systems).
Looking for more necessary programs...
which: no depmod in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
Found program /sbin/depmod
which: no insmod in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
Found program /sbin/insmod
which: no rmmod in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
Found program /sbin/rmmod
which: no modprobe in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
Found program /sbin/modprobe
Found program /bin/mount
which: no lsusb in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
which: no lsusb in (/sbin)
Found program /usr/sbin/lsusb
depmod version: module-init-tools 3.0
insmod version: module-init-tools version 3.0
rmmod version: module-init-tools version 3.0
modprobe version: module-init-tools version 3.0
Checking whether we're root... olivier
Checking for driver source code...
Checking for write permission...
Previous round done. Now checking if you have kernel source installed.
Press Ctrl+C to quit, Enter to continue --->
which: no depmod in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
awk: cmd. ligne:1: Fatal: ne peut ouvrir le fichier « /lib/modules/2.6.11-6mdk/build/include/linux/version.h » en lecture (No such file or directory)
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
Kernel source directory: /lib/modules/2.6.11-6mdk/build
[!] Can not find kernel source or even headers.
Make sure that they are installed (install with e.g. rpm or apt-get
if necessary) and ensure that you have read rights to the files.
WARNING: If you press Enter, I'll try to continue anyway,
but this probably will fail. You SHOULD press Ctrl+C now.
Press Ctrl+C to quit, Enter to continue --->
Je pense que ca va etre long si tu veux m'aider ....
[^] # Re: Facile
Posté par rduke2 . En réponse au message Comment avoir la meme version de gcc et du kernek compiler gcc?????????. Évalué à 1.
j'ai fait le export CC=gcc-3.4.3, et ca marche pas non plus.
Sinon je pense pas que faire le lien symbolique soit nécessaire car il y est déjà
En me mettant dans le dossier /usr/bin/ puis en faisant ls | grep gcc j'obtiens :
lrwxrwxrwx 1 root root 3 oct 1 11:20 cc -> gcc*
lrwxrwxrwx 1 root root 9 déc 12 13:06 gcc -> gcc-3.4.3*
-rwxr-xr-x 1 root root 89560 mar 21 2005 gcc-3.4.3*
-rwxr-xr-x 1 root root 23 mar 21 2005 gcc3.4-version*
-rwxr-xr-x 1 root root 89560 mar 21 2005 i586-mandrake-linux-gnu-gcc*
le lien y est déja non??
[^] # Re: Facile
Posté par rduke2 . En réponse au message Comment avoir la meme version de gcc et du kernek compiler gcc?????????. Évalué à 1.
j'ai donc en faisant gcc -v :
gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
puis en faisant export CC=gcc
et en relancant mon script cela me donne toujours la meme erreur que voici :
which: no realpath in (/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin)
which: no realpath in (/usr/local/bin)
/usr/bin/readlink
gcc version: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
gcc version: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
Make version: GNU Make 3.80
Linker version: GNU ld version 2.15.92.0.2 20040927
Kernel compiler: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-3mdk)
[!] Kernel compiler and gcc seem to be different versions.
Instead, they should be the same. If you have many compilers
installed, you can specify the correct one with command (in bash)
export CC=kgcc
before trying to install the driver. Replace kgcc with the command
required for compiling kernels (kgcc is often used in Red Hat systems).
je ne comprend pas trop là, ca n'a rien fait apparemment....
[^] # Re: Facile
Posté par rduke2 . En réponse au message Comment avoir la meme version de gcc et du kernek compiler gcc?????????. Évalué à 1.
saurais tu me donner qques explications pour pouvoir le compiler simplement?
Sinon pourquoi je veux la même:
en fait j'ai poster un message dans la rubrique forum débutant , tu le verras sous le sujet :"installation driver webcam quickcam messenger!!!!!"
en clair j'ai un script a lancer, et il me met que ma version de gcc et la version de gcc du kernel est différente.
Si tu veux m'aider, ca serait super sympa, je galere pas mal là...
[^] # Re: version de gcc, et du kernel
Posté par rduke2 . En réponse au message installation driver webcam quickcam messenger!!!!!. Évalué à 1.
Je viens de faire un urpmi kernel-source
sinon pr la methode avec kgcc, je vais laisser tomber je pense..
[^] # Re: version de gcc, et du kernel
Posté par rduke2 . En réponse au message installation driver webcam quickcam messenger!!!!!. Évalué à 1.
est - ce que tu sais ou je pourrais trouver les sources, ou rpm de kgcc, car apparemment kgcc et distribué sous les versions redhat , je pense...
Merci encore, je vous tiens o courant ce soir, merci encore...
[^] # Re: version de gcc, et du kernel
Posté par rduke2 . En réponse au message installation driver webcam quickcam messenger!!!!!. Évalué à 2.
gcc
gcc-3.4.3
gcc3.4-version
Voila ce que j'obtiens en faisant cat /proc/version :
Linux version 2.6.11-6mdk (gb@n2.mandrakesoft.com) (gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-3mdk)) #1 Tue Mar 22 16:04:32 CET 2005
je viens d'essayer de faire un export de CC
en tapant export CC=/usr/bin/gcc-3.4.3
et résultat ca fonctionne toujours pas :-(..
j'obtiens dans le script de quickam.sh :
/usr/bin/gcc-3.4.3 version: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
gcc version: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
Make version: GNU Make 3.80
Linker version: GNU ld version 2.15.92.0.2 20040927
Kernel compiler: gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-3mdk)
[!] Kernel compiler and /usr/bin/gcc-3.4.3 seem to be different versions.
Instead, they should be the same. If you have many compilers
installed, you can specify the correct one with command (in bash)
export CC=kgcc
before trying to install the driver. Replace kgcc with the command
required for compiling kernels (kgcc is often used in Red Hat systems).
[^] # Re: version de gcc, et du kernel
Posté par rduke2 . En réponse au message installation driver webcam quickcam messenger!!!!!. Évalué à 1.
mais je n'ai pas kgcc d'installé.
which: no kgcc in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin:/home/olivier/bin:/home/olivier/Downloads/pandore5//bin:/usr/java/jdk1.5.0_05/bin)
Warning: kgcc missing
/usr/bin/gcc
/usr/bin/make
/bin/grep
/bin/egrep
/usr/bin/awk
/bin/sed
/usr/bin/tail
/usr/bin/head
/usr/bin/install
/usr/bin/ld
/bin/uname
/usr/bin/tr
/usr/bin/xawtv
/usr/X11R6/bin/xdpyinfo
/bin/dmesg
/usr/bin/wc
[!] Some important programs can not be found on default path.
Probably they aren't installed.
You should install them, for example, by using apt-get or rpm.
WARNING: If you press Enter, I'll try to continue anyway,
"
je pourrais installer, kgcc, enfin il faut que j'essaye du moins.
Mais normalement, si j'ai bien compris cela devrait marcher, mais avec une autre version, de gcc, non?? (laquelle?? 3.4.3-3 ou 3.4.3-7???)
[^] # Re: version de gcc, et du kernel
Posté par rduke2 . En réponse au message installation driver webcam quickcam messenger!!!!!. Évalué à 1.
mais comment puis je faire pour avoir la meme version de gcc et celle utilisée pour la compilation de mon kernel???