Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1604 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Débats

  Besoin d'aide pour installer ma webcam !

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Besoin d'aide pour installer ma webcam !

n°162235
kaiska
Posté le 25-09-2002 à 19:32:07  profilanswer
 

Bonjour j'arrive maintenant à faire marcher tous mes périphériques sous ma mandrake 9.0 sauf ma jolie webcam !
Je suis sur que c'est possible. J'ai trouvé ça http://sourceforge.net/projects/qce-ga ca devrait marcher pour ma quickcam web de logitech.
Seulement il y a un hic ! Quand je fais le make comme il est dit dans le readme ca chioum :
 


 
[kaiska@miaoumix qce-ga-0.40c]$ make
cc -I/usr/src/linux/drivers/usb -I/usr/src/linux/include -include /usr/src/linux/include/linux/config.h  -O3 -Wall -Wstrict-prototypes -fomit-frame-pointer  -pipe -DMODULE -D__KERNEL__  -c quickcam.c
quickcam.c: /usr/src/linux/include/linux/config.h: No such file or directory
In file included from /usr/include/linux/prefetch.h:13,
                 from /usr/include/linux/list.h:6,
                 from /usr/include/linux/wait.h:14,
                 from /usr/include/linux/fs.h:11,
                 from /usr/include/linux/capability.h:17,
                 from /usr/include/linux/binfmts.h:6,
                 from /usr/include/linux/sched.h:8,
                 from quickcam.c:39:
/usr/include/asm/processor.h:55: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/processor.h:55: requested alignment is not a constant
In file included from quickcam.c:41:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error "   compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "   instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
quickcam.c:42:41: missing binary operator before '('
In file included from quickcam.c:45:
/usr/include/linux/malloc.h:4:2: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead.
In file included from /usr/include/linux/videodev.h:5,
                 from quickcam.c:50:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error "   compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "   instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from /usr/include/linux/module.h:296,
                 from quickcam.c:53:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error "   compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "   instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from quickcam.c:53:
/usr/include/linux/module.h:298: parse error before "UTS_RELEASE"
In file included from /usr/include/linux/usb.h:136,
                 from quickcam.c:55:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error "   compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "   instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from /usr/include/asm/hardirq.h:6,
                 from /usr/include/linux/interrupt.h:45,
                 from /usr/include/linux/usb.h:139,
                 from quickcam.c:55:
/usr/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/irq.h:65: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:45,
                 from /usr/include/linux/usb.h:139,
                 from quickcam.c:55:
/usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from /usr/include/linux/usb.h:139,
                 from quickcam.c:55:
/usr/include/linux/interrupt.h:128: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/interrupt.h:128: requested alignment is not a constant
quickcam.c:80:41: missing binary operator before '('
quickcam.c:92:41: missing binary operator before '('
quickcam.c:98:41: missing binary operator before '('
quickcam.c:120:41: missing binary operator before '('
quickcam.c:135:41: missing binary operator before '('
quickcam.c:182:41: missing binary operator before '('
quickcam.c:1354:41: missing binary operator before '('
quickcam.c:2174:41: missing binary operator before '('
quickcam.c: In function `usb_quickcam_configure':
quickcam.c:2177: too few arguments to function `video_register_device'
quickcam.c:2228:41: missing binary operator before '('
quickcam.c:2250:40: missing binary operator before '('
quickcam.c:2307:41: missing binary operator before '('
quickcam.c:2347:41: missing binary operator before '('
quickcam.c: At top level:
quickcam.c:2350: warning: initialization from incompatible pointer type
quickcam.c:2356:41: missing binary operator before '('
quickcam.c:2366:41: missing binary operator before '('
make: *** [quickcam.o] Erreur 1
[kaiska@miaoumix qce-ga-0.40c]$
 
 
 

 
 
Que puis je faire ??


Message édité par kaiska le 25-09-2002 à 19:33:18
mood
Publicité
Posté le 25-09-2002 à 19:32:07  profilanswer
 

n°162251
rem5
Posté le 25-09-2002 à 20:04:20  profilanswer
 

as tu installé les sources et les header du kernel ???

n°162465
kaiska
Posté le 25-09-2002 à 20:25:24  profilanswer
 

euh nan je savais pas qu'il les fallait ! comment je peut faire ca ? A cou d'urpmi ?
je crois que j'ai un kernel 2.4.19-16 (je viens juste d'installer la mandrake 9).
je doit donc installer le kernel-header-2.4.19-16 et les kernel-sources-2.4.19-16 ?
c'est sur le cd ca ?


Message édité par kaiska le 25-09-2002 à 20:43:08
n°162488
kaiska
Posté le 25-09-2002 à 21:01:43  profilanswer
 

tu as vu juste merci :)
le make c'est bien deroulé ! ensuite je lance ./quickcam.sh comme il dise et ca me donne ca :
 
 


 
[kaiska@miaoumix qce-ga-0.40c]$ ./quickcam.sh
Using /lib/modules/2.4.19-16mdk/kernel/drivers/media/video/videodev.o.gz
insmod: a module named videodev already exists
Using /lib/modules/2.4.19-16mdk/kernel/drivers/usb/usbcore.o.gz
insmod: a module named usbcore already exists
Using /lib/modules/2.4.19-16mdk/kernel/drivers/usb/usb-uhci.o.gz
insmod: a module named usb-uhci already exists
Using /lib/modules/2.4.19-16mdk/kernel/drivers/usb/usb-ohci.o.gz
/lib/modules/2.4.19-16mdk/kernel/drivers/usb/usb-ohci.o.gz: create_module: Operation not permitted
Using /lib/modules/2.4.19-16mdk/kernel/drivers/usb/uhci.o.gz
/lib/modules/2.4.19-16mdk/kernel/drivers/usb/uhci.o.gz: create_module: Operation not permitted
./quickcam.sh: line 36: /proc/sys/kernel/sysrq: Permission denied
insmod: a module named mod_quickcam already exists
Module                  Size  Used by    Not tainted
parport_pc             21672   1 (autoclean)
lp                      6720   0 (autoclean) (unused)
parport                23936   1 (autoclean) [parport_pc lp]
msdos                   5364   0 (autoclean)
isofs                  25652   1 (autoclean)
inflate_fs             17892   0 (autoclean) [isofs]
udf                    85472   0 (autoclean)
sg                     31276   0 (autoclean) (unused)
st                     26740   0 (autoclean) (unused)
sr_mod                 15096   0 (autoclean) (unused)
sd_mod                 11788   0 (autoclean) (unused)
scsi_mod               90372   4 (autoclean) [sg st sr_mod sd_mod]
ide-cd                 28712   1 (autoclean)
cdrom                  26848   0 (autoclean) [sr_mod ide-cd]
floppy                 49340   0 (autoclean)
snd-seq-midi            3680   0 (autoclean) (unused)
snd-emu10k1-synth       4220   0 (autoclean) (unused)
snd-emux-synth         25532   0 (autoclean) [snd-emu10k1-synth]
snd-seq-midi-emul       4880   0 (autoclean) [snd-emux-synth]
snd-seq-virmidi         2888   0 (autoclean) [snd-emux-synth]
snd-seq-oss            26176   0 (unused)
snd-seq-midi-event      3208   0 [snd-seq-midi snd-seq-virmidi snd-seq-oss]
snd-seq                33264   2 [snd-seq-midi snd-emux-synth snd-seq-midi-emul snd-seq-virmidi snd-seq-oss snd-seq-midi-event]
snd-pcm-oss            36932   1
snd-mixer-oss           9016   0 [snd-pcm-oss]
snd-emu10k1            56592   1 [snd-emu10k1-synth]
snd-pcm                55808   0 [snd-pcm-oss snd-emu10k1]
snd-timer               9964   0 [snd-seq snd-pcm]
snd-util-mem            1280   0 [snd-emux-synth snd-emu10k1]
snd-rawmidi            12864   0 [snd-seq-midi snd-seq-virmidi snd-emu10k1]
snd-seq-device          3836   0 [snd-seq-midi snd-emu10k1-synth snd-emux-synth snd-seq-oss snd-seq snd-emu10k1 snd-rawmidi]
snd-ac97-codec         25508   0 [snd-emu10k1]
snd-hwdep               3840   0 [snd-emu10k1]
snd                    24804   0 [snd-seq-midi snd-emux-synth snd-seq-virmidi snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-emu10k1 snd-pcm snd-timer snd-util-mem snd-rawmidi snd-seq-device snd-ac97-codec snd-hwdep]
af_packet              13000   0 (autoclean)
3c59x                  27184   1 (autoclean)
nls_cp850               3580   5 (autoclean)
vfat                    9588   5 (autoclean)
fat                    31864   0 (autoclean) [msdos vfat]
nls_iso8859-15          3356   8 (autoclean)
ntfs                   72908   1 (autoclean)
supermount             14340   2 (autoclean)
tuner                   9536   1 (autoclean)
tvaudio                12156   0 (autoclean) (unused)
bttv                   66880   0
i2c-algo-bit            7432   1 [bttv]
i2c-core               15332   0 [tuner tvaudio bttv i2c-algo-bit]
soundcore               3780   0 [snd bttv]
joydev                  5632   0 (unused)
keybdev                 1920   0 (unused)
mousedev                4116   0 (unused)
mod_quickcam           37968   0
videodev                5792   3 [bttv mod_quickcam]
hid                    18340   0 (unused)
input                   3456   0 [joydev keybdev mousedev hid]
usb-uhci               21676   0 (unused)
usbcore                58304   1 [mod_quickcam hid usb-uhci]
rtc                     6560   0 (autoclean)
ext3                   74004   1
jbd                    38452   1 [ext3]
[kaiska@miaoumix qce-ga-0.40c]$
 

 
 
Alors la j'ai l'impression que ca marche mais comment je vois ma tronche moi ??:D
Y'a un programme pour ca ?


Message édité par kaiska le 25-09-2002 à 21:14:12
n°162525
kaiska
Posté le 25-09-2002 à 21:45:49  profilanswer
 

Up ya les minettes qui m'attendent ! elles veulent voir mon minoi :) si vous m'aidez je fais une dedicasse sur la webcam :)

n°162668
rem5
Posté le 25-09-2002 à 23:25:02  profilanswer
 

heu...la j'ai pas d'idee..... les commande insmod de ton script qui fct pas essaye a la main de faire un modprobe dessus pour voir mais sans conviction aucune........

n°162672
Humidifier
Posté le 25-09-2002 à 23:29:40  profilanswer
 

Voilà ce que l'on peut lire sur le site que tu cite :
 
...
Once the mod_quickcam module has been successfully loaded, it is time to fire up your favourite V4L application to start viewing pictures from the webcam.
...
 
C'est trés con ce que je vais dire, mais as tu installé un soft v4L ?
 
Il y a camstream, camorama, gqcam, ... et tant d'autres ...

n°162694
kaiska
Posté le 26-09-2002 à 00:06:14  profilanswer
 

Nan nan c'est pas con ! j'en ai pas mis ! c'est moi qu'est un peut neuneu ! je decouvre :) merci je vais en installer un :)  :D

n°162696
Humidifier
Posté le 26-09-2002 à 00:10:51  profilanswer
 

Faut bien commencer un jour et puis on a qu'a dire que l'on est fatigué
car on bosse trop.
 
Amuse toi bien avec ta cam.
 
Je te conseille camorama et effectv pour faire mumuse avec pleins d'effets.

n°171704
ZeTortue
Jisas yu holem hand blong mi
Posté le 11-10-2002 à 23:47:41  profilanswer
 

Je up le topic !!
 
Probleme résolu :
 
Sur VIA KT3 + USB 2.0, chez moi seul les ports USB 2.0 fonctionnent, les principaux USB1 (integré a la CM) et sur slot sont inactif. D'ou mon prob...
 
Ah ste galere  :pt1cable:  
 


Message édité par ZeTortue le 12-10-2002 à 00:40:58
mood
Publicité
Posté le 11-10-2002 à 23:47:41  profilanswer
 

n°172019
Killall-9
+on&2foo...
Posté le 12-10-2002 à 18:47:34  profilanswer
 

gnomemeeting est très bien pour tester sa webcam. Pour l'utiliser aussi d'ailleurs...


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Débats

  Besoin d'aide pour installer ma webcam !

 

Sujets relatifs
Installer un prog en tant que simple utilisateurAide pour Wine
Installer Linux via le rezo sans cd[ssh - scp - cvs ... etc... ] besoin d'infos
je pourrais y installer linux dessus ?aide sur mandrake 8.1
debutant linuxien a trouvé aide !!!Besoin d'explikation : PPPOE et FIREWALL
installer une debian par reseau quand on n'a que le CD comment faire..Qui utilise opendchub ici ?? j ai besoin d aide :-/
Plus de sujets relatifs à : Besoin d'aide pour installer ma webcam !


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR