Aller au contenu
  • Pas encore inscrit ?

    Pourquoi ne pas vous inscrire ? C'est simple, rapide et gratuit.
    Pour en savoir plus, lisez Les avantages de l'inscription... et la Charte de Zébulon.
    De plus, les messages que vous postez en tant qu'invité restent invisibles tant qu'un modérateur ne les a pas validés. Inscrivez-vous, ce sera un gain de temps pour tout le monde, vous, les helpeurs et les modérateurs ! :wink:

[RESOLU]logitech quickcam non reconnu sur Mandriva 2009.1


Messages recommandés

Posté(e)
re,

si tu lisais les fichiers textes fournis avec le tar , tu aurais la réponse , j'ai juste charger le fichier pour d'indiquer la méthode de compilation , ..

a+

Bonjour jeanbi :P ,

en suivant le fichier readme. J' ai fait ceci:

J 'ai compilé le driver mais il y a des erreurs:

 

[alexandre@localhost qc-usb-messenger-1.8]$ make clean

which: no depmod in (/bin:/usr/bin:/usr/local/bin:/usr/games:/usr/lib/qt4/bin:/home/alexandre/bin)

rm -f *.o qcset input_read show *~ .\#* .*.cmd *.mod.c *.ko

rm -rf .tmp_versions

cd testquickcam ; make clean

make[1]: entrant dans le répertoire « /home/alexandre/Bureau/qc-usb-messenger-1.8/testquickcam »

rm -f testquickcam *~ pic.ppm pic.gif

make[1]: quittant le répertoire « /home/alexandre/Bureau/qc-usb-messenger-1.8/testquickcam »

[alexandre@localhost qc-usb-messenger-1.8]$ make all

which: no depmod in (/bin:/usr/bin:/usr/local/bin:/usr/games:/usr/lib/qt4/bin:/home/alexandre/bin)

make -C "/lib/modules/2.6.29.6-desktop-2mnb/build" SUBDIRS="/home/alexandre/Bureau/qc-usb-messenger-1.8" modules V=1 USER_OPT="-DHAVE_UTSRELEASE_H=1"

make[1]: entrant dans le répertoire « /usr/src/linux-2.6.29.6-desktop-2mnb »

test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \

echo; \

echo " ERROR: Kernel configuration is invalid."; \

echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \

echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \

echo; \

/bin/false)

mkdir -p /home/alexandre/Bureau/qc-usb-messenger-1.8/.tmp_versions ; rm -f /home/alexandre/Bureau/qc-usb-messenger-1.8/.tmp_versions/*

make -f scripts/Makefile.build obj=/home/alexandre/Bureau/qc-usb-messenger-1.8

gcc -Wp,-MD,/home/alexandre/Bureau/qc-usb-messenger-1.8/.qc-driver.o.d -nostdinc -isystem /usr/lib/gcc/i586-manbo-linux-gnu/4.3.2/include -Iinclude -I/usr/src/linux-2.6.29.6-desktop-2mnb/arch/x86/include -include include/linux/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iarch/x86/include/asm/mach-generic -Iarch/x86/include/asm/mach-default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-pointer-sign -fwrapv -DNOKERNEL -DHAVE_UTSRELEASE_H=1 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_driver)" -D"KBUILD_MODNAME=KBUILD_STR(qcmessenger)" -D"DEBUG_HASH=36" -D"DEBUG_HASH2=27" -c -o /home/alexandre/Bureau/qc-usb-messenger-1.8/.tmp_qc-driver.o /home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_frame_exit’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:1619: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:1630: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_frame_get’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:1659: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:1666: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_poll’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2625: erreur: ‘struct video_device’ has no member named ‘priv’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_open’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2677: erreur: ‘struct video_device’ has no member named ‘priv’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2688: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2693: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2708: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2714: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2716: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_close’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2742: erreur: ‘struct video_device’ has no member named ‘priv’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2750: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2752: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2767: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2770: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_read’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2791: erreur: ‘struct video_device’ has no member named ‘priv’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2804: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2826: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_mmap’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2848: erreur: ‘struct video_device’ has no member named ‘priv’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2855: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2862: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_ioctl’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2880: erreur: ‘struct video_device’ has no member named ‘priv’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2884: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2898: erreur: ‘struct video_device’ has no member named ‘type’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3455: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: Hors de toute fonction :

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3487: erreur: unknown field ‘type’ specified in initializer

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3494: attention : initialization from incompatible pointer type

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_usb_init’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3550: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3556: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3559: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3564: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3665: erreur: ‘struct input_dev’ has no member named ‘private’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3739: erreur: ‘struct video_device’ has no member named ‘priv’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3772: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3774: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3784: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3791: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3679: attention : ignoring return value of ‘input_register_device’, declared with attribute warn_unused_result

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_usb_disconnect’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:4060: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:4062: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:4075: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:4079: erreur: request for member ‘counter’ in something not a structure or union

make[2]: *** [/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.o] Erreur 1

make[1]: *** [_module_/home/alexandre/Bureau/qc-usb-messenger-1.8] Erreur 2

make[1]: quittant le répertoire « /usr/src/linux-2.6.29.6-desktop-2mnb »

make: *** [qcmessenger.ko] Erreur 2

[alexandre@localhost qc-usb-messenger-1.8]$ [alexandre@localhost qc-usb-messenger-1.8]$ make clean

bash: [alexandre@localhost: command not found

[alexandre@localhost qc-usb-messenger-1.8]$ which: no depmod in (/bin:/usr/bin:/usr/local/bin:/usr/games:/usr/lib/qt4/bin:/home/alexandre/bin)

bash: syntax error near unexpected token `('

[alexandre@localhost qc-usb-messenger-1.8]$ rm -f *.o qcset input_read show *~ .\#* .*.cmd *.mod.c *.ko

[alexandre@localhost qc-usb-messenger-1.8]$ rm -rf .tmp_versions

[alexandre@localhost qc-usb-messenger-1.8]$ cd testquickcam ; make clean

rm -f testquickcam *~ pic.ppm pic.gif

[alexandre@localhost testquickcam]$ make[1]: entrant dans le répertoire « /home/alexandre/Bureau/qc-usb-messenger-1.8/testquickcam »

bash: make[1]:: command not found

[alexandre@localhost testquickcam]$ rm -f testquickcam *~ pic.ppm pic.gif

[alexandre@localhost testquickcam]$ make[1]: quittant le répertoire « /home/alexandre/Bureau/qc-usb-messenger-1.8/testquickcam »

bash: make[1]:: command not found

[alexandre@localhost testquickcam]$ [alexandre@localhost qc-usb-messenger-1.8]$ make all

bash: [alexandre@localhost: command not found

[alexandre@localhost testquickcam]$ which: no depmod in (/bin:/usr/bin:/usr/local/bin:/usr/games:/usr/lib/qt4/bin:/home/alexandre/bin)

bash: syntax error near unexpected token `('

[alexandre@localhost testquickcam]$ make -C "/lib/modules/2.6.29.6-desktop-2mnb/build" SUBDIRS="/home/alexandre/Bureau/qc-usb-messenger-1.8" modules V=1 USER_OPT="-DHAVE_UTSRELEASE_H=1"

make: entrant dans le répertoire « /usr/src/linux-2.6.29.6-desktop-2mnb »

test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \

echo; \

echo " ERROR: Kernel configuration is invalid."; \

echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \

echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \

echo; \

/bin/false)

mkdir -p /home/alexandre/Bureau/qc-usb-messenger-1.8/.tmp_versions ; rm -f /home/alexandre/Bureau/qc-usb-messenger-1.8/.tmp_versions/*

make -f scripts/Makefile.build obj=/home/alexandre/Bureau/qc-usb-messenger-1.8

gcc -Wp,-MD,/home/alexandre/Bureau/qc-usb-messenger-1.8/.qc-driver.o.d -nostdinc -isystem /usr/lib/gcc/i586-manbo-linux-gnu/4.3.2/include -Iinclude -I/usr/src/linux-2.6.29.6-desktop-2mnb/arch/x86/include -include include/linux/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iarch/x86/include/asm/mach-generic -Iarch/x86/include/asm/mach-default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-pointer-sign -fwrapv -DNOKERNEL -DHAVE_UTSRELEASE_H=1 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_driver)" -D"KBUILD_MODNAME=KBUILD_STR(qcmessenger)" -D"DEBUG_HASH=36" -D"DEBUG_HASH2=27" -c -o /home/alexandre/Bureau/qc-usb-messenger-1.8/.tmp_qc-driver.o /home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_frame_exit’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:1619: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:1630: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_frame_get’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:1659: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:1666: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_poll’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2625: erreur: ‘struct video_device’ has no member named ‘priv’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_open’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2677: erreur: ‘struct video_device’ has no member named ‘priv’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2688: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2693: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2708: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2714: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2716: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_close’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2742: erreur: ‘struct video_device’ has no member named ‘priv’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2750: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2752: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2767: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2770: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_read’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2791: erreur: ‘struct video_device’ has no member named ‘priv’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2804: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2826: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_mmap’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2848: erreur: ‘struct video_device’ has no member named ‘priv’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2855: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2862: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_ioctl’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2880: erreur: ‘struct video_device’ has no member named ‘priv’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2884: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2898: erreur: ‘struct video_device’ has no member named ‘type’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3455: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: Hors de toute fonction :

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3487: erreur: unknown field ‘type’ specified in initializer

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3494: attention : initialization from incompatible pointer type

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_usb_init’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3550: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3556: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3559: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3564: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3665: erreur: ‘struct input_dev’ has no member named ‘private’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3739: erreur: ‘struct video_device’ has no member named ‘priv’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3772: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3774: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3784: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3791: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3679: attention : ignoring return value of ‘input_register_device’, declared with attribute warn_unused_result

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_usb_disconnect’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:4060: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:4062: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:4075: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:4079: erreur: request for member ‘counter’ in something not a structure or union

make[1]: *** [/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.o] Erreur 1

make: *** [_module_/home/alexandre/Bureau/qc-usb-messenger-1.8] Erreur 2

make: quittant le répertoire « /usr/src/linux-2.6.29.6-desktop-2mnb »

[alexandre@localhost testquickcam]$ make[1]: entrant dans le répertoire « /usr/src/linux-2.6.29.6-desktop-2mnb »

 

Puis, j' ai vérifié que le kernel-source corresponde bien au kernel utilisé: c' est le cas.

kernel-headers est présent.

Puis j' ai chargé les drivers en root:

 

modprobe videodev

modprobe usb-uhci

modprobe usb-ohci

 

modprobe quickcam dit que quickcam n' est pas trouvé;

et insmod ./quickcam.0 ne répond pas.

 

Bien sur, la cam ne marche pas :P .

Avant de continuer, j' aimerais bien avoir ton avis.

Merci.

pll

Posté(e)

re,

si le make n'est pas bon ça ne risque pas de fonctionner .

il faut que la compile soit bonne

donne moi juste le resultat du make que je comprenne car la tu bricoles et j'y pige que dalle

a+

Posté(e)
re,

si le make n'est pas bon ça ne risque pas de fonctionner .

il faut que la compile soit bonne

donne moi juste le resultat du make que je comprenne car la tu bricoles et j'y pige que dalle

a+

re,

voici le make:

 

[alexandre@localhost qc-usb-messenger-1.8]$ make

which: no depmod in (/bin:/usr/bin:/usr/local/bin:/usr/games:/usr/lib/qt4/bin:/home/alexandre/bin)

-=- Logitech QuickCam USB camera driver -=-

 

Makefile target examples:

make all - Compile driver and utilities against current running kernel

make all USER_OPT=-DDEBUG - Compile with debugging code and messages

make all LINUX_DIR=/usr/src/linux - Compile against specified kernel source

make install - Copy driver and utilities into standard locations (needs root)

make install PREFIX=/usr - Copy utilities to /usr/bin instead of /usr/local/bin

make install MODULE_DIR=/lib/modules/2.4.0 - Copy module to /lib/modules/2.4.0/misc

make clean - Remove object files from the source directory

 

Current configuration:

Driver source directory (PWD): /home/alexandre/Bureau/qc-usb-messenger-1.8

Kernel source directory (LINUX_DIR): /lib/modules/2.6.29.6-desktop-2mnb/build

Module install directory (MODULE_DIR): /lib/modules/2.6.29.6-desktop-2mnb

Utility install directory (PREFIX): /usr/local

User options (USER_OPT): -DHAVE_UTSRELEASE_H=1

Driver file name (use with insmod): qcmessenger.ko

Kernel version code: 132637

[alexandre@localhost qc-usb-messenger-1.8]$

 

Merci pour ton aide :P .

@+

pll

Posté(e)

Makefile target examples:
make all - Compile driver and utilities against current running kernel
make all USER_OPT=-DDEBUG - Compile with debugging code and messages
make all LINUX_DIR=/usr/src/linux - Compile against specified kernel source
make install - Copy driver and utilities into standard locations (needs root)
make install PREFIX=/usr - Copy utilities to /usr/bin instead of /usr/local/bin
make install MODULE_DIR=/lib/modules/2.4.0 - Copy module to /lib/modules/2.4.0/misc
make clean - Remove object files from the source directory

 

il te faut choisir une de ces cibles en fonction de ce que tu souhaites faire...

 

Driver file name (use with insmod): qcmessenger.ko

voici le nom du module qui sera compilé

Posté(e)
Makefile target examples:
make all - Compile driver and utilities against current running kernel
make all USER_OPT=-DDEBUG - Compile with debugging code and messages
make all LINUX_DIR=/usr/src/linux - Compile against specified kernel source
make install - Copy driver and utilities into standard locations (needs root)
make install PREFIX=/usr - Copy utilities to /usr/bin instead of /usr/local/bin
make install MODULE_DIR=/lib/modules/2.4.0 - Copy module to /lib/modules/2.4.0/misc
make clean - Remove object files from the source directory

 

il te faut choisir une de ces cibles en fonction de ce que tu souhaites faire...

 

Driver file name (use with insmod): qcmessenger.ko

voici le nom du module qui sera compilé

Bonjour Greywolf,

Merci pour tes explications très claires :P . Je souhaite utiliser la webcam avec xsane et amsn.

Il m' a parût opportun de faire ceci:

 

[alexandre@localhost qc-usb-messenger-1.8]$ make clean

which: no depmod in (/bin:/usr/bin:/usr/local/bin:/usr/games:/usr/lib/qt4/bin:/home/alexandre/bin)

rm -f *.o qcset input_read show *~ .\#* .*.cmd *.mod.c *.ko

rm -rf .tmp_versions

cd testquickcam ; make clean

make[1]: entrant dans le répertoire « /home/alexandre/Bureau/qc-usb-messenger-1.8/testquickcam »

rm -f testquickcam *~ pic.ppm pic.gif

make[1]: quittant le répertoire « /home/alexandre/Bureau/qc-usb-messenger-1.8/testquickcam »

[alexandre@localhost qc-usb-messenger-1.8]$ su root

Password:

[root@localhost qc-usb-messenger-1.8]# make install

make -C "/lib/modules/2.6.29.6-desktop-2mnb/build" SUBDIRS="/home/alexandre/Bureau/qc-usb-messenger-1.8" modules V=1 USER_OPT="-DHAVE_UTSRELEASE_H=1"

make[1]: entrant dans le répertoire « /usr/src/linux-2.6.29.6-desktop-2mnb »

test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \

echo; \

echo " ERROR: Kernel configuration is invalid."; \

echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \

echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \

echo; \

/bin/false)

mkdir -p /home/alexandre/Bureau/qc-usb-messenger-1.8/.tmp_versions ; rm -f /home/alexandre/Bureau/qc-usb-messenger-1.8/.tmp_versions/*

make -f scripts/Makefile.build obj=/home/alexandre/Bureau/qc-usb-messenger-1.8

gcc -Wp,-MD,/home/alexandre/Bureau/qc-usb-messenger-1.8/.qc-driver.o.d -nostdinc -isystem /usr/lib/gcc/i586-manbo-linux-gnu/4.3.2/include -Iinclude -I/usr/src/linux-2.6.29.6-desktop-2mnb/arch/x86/include -include include/linux/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iarch/x86/include/asm/mach-generic -Iarch/x86/include/asm/mach-default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-pointer-sign -fwrapv -DNOKERNEL -DHAVE_UTSRELEASE_H=1 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_driver)" -D"KBUILD_MODNAME=KBUILD_STR(qcmessenger)" -D"DEBUG_HASH=36" -D"DEBUG_HASH2=27" -c -o /home/alexandre/Bureau/qc-usb-messenger-1.8/.tmp_qc-driver.o /home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_frame_exit’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:1619: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:1630: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_frame_get’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:1659: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:1666: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_poll’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2625: erreur: ‘struct video_device’ has no member named ‘priv’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_open’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2677: erreur: ‘struct video_device’ has no member named ‘priv’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2688: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2693: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2708: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2714: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2716: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_close’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2742: erreur: ‘struct video_device’ has no member named ‘priv’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2750: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2752: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2767: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2770: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_read’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2791: erreur: ‘struct video_device’ has no member named ‘priv’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2804: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2826: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_mmap’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2848: erreur: ‘struct video_device’ has no member named ‘priv’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2855: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2862: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_ioctl’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2880: erreur: ‘struct video_device’ has no member named ‘priv’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2884: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:2898: erreur: ‘struct video_device’ has no member named ‘type’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3455: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: Hors de toute fonction :

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3487: erreur: unknown field ‘type’ specified in initializer

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3494: attention : initialization from incompatible pointer type

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_usb_init’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3550: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3556: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3559: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3564: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3665: erreur: ‘struct input_dev’ has no member named ‘private’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3739: erreur: ‘struct video_device’ has no member named ‘priv’

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3772: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3774: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3784: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3791: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:3679: attention : ignoring return value of ‘input_register_device’, declared with attribute warn_unused_result

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_usb_disconnect’:

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:4060: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:4062: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:4075: erreur: request for member ‘counter’ in something not a structure or union

/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.c:4079: erreur: request for member ‘counter’ in something not a structure or union

make[2]: *** [/home/alexandre/Bureau/qc-usb-messenger-1.8/qc-driver.o] Erreur 1

make[1]: *** [_module_/home/alexandre/Bureau/qc-usb-messenger-1.8] Erreur 2

make[1]: quittant le répertoire « /usr/src/linux-2.6.29.6-desktop-2mnb »

make: *** [qcmessenger.ko] Erreur 2

[root@localhost qc-usb-messenger-1.8]#

 

J' ai retenu ceci: echo " ERROR: Kernel configuration is invalid.";

Comment dois je faire pour configurer correctement mon kernel ?

Merci.

A bientôt.

pll

Posté(e)

le plus simple est d'installer le package kernel-header correspondant à ton noyau actuel, fais une recherche dans ton gestionnaire de package

 

une fois installé, il te faudra faire un make all avant de faire un make install

Posté(e)
le plus simple est d'installer le package kernel-header correspondant à ton noyau actuel, fais une recherche dans ton gestionnaire de package

 

une fois installé, il te faudra faire un make all avant de faire un make install

Re Greywolf,

voici mon noyau:

 

[alexandre@localhost ~]$ uname -r

2.6.29.6-desktop-2mnb

[alexandre@localhost ~]$

 

Puis le kernel-headers que j' ai installé:

 

kernel-headers-2.6.29-1mnb2.i586.rpm

 

Enfin, le résultat du "make all":

 

[alexandre@localhost qc-usb-messenger-1.8]$ su root

Password:

[root@localhost qc-usb-messenger-1.8]# make all

awk: cmd. ligne:1: Fatal: ne peut ouvrir le fichier « /lib/modules/2.6.29.6-desktop-2mnb/build/include/linux/version.h » en lecture (Aucun fichier ou dossier de ce type)

/bin/sh: line 0: [: -ge: unary operator expected

/bin/sh: line 0: [: -ge: unary operator expected

cc -I/lib/modules/2.6.29.6-desktop-2mnb/build/include -nostdinc -iwithprefix include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wall -Wstrict-prototypes -Wno-trigraphs -DHAVE_UTSRELEASE_H= -pipe -c qc-driver.c

make: cc : commande introuvable

make: *** [qc-driver.o] Erreur 127

[root@localhost qc-usb-messenger-1.8]#

 

Voila...

++

pll

Posté(e)

re,

probleme non

kernel-headers-2.6.29-1mnb2.i586.rpm et ton kernel

2.6.29.6-desktop-2mnb

a mon avis c'est pas les 2 meme ..

a+

Posté(e)
re,

probleme non

kernel-headers-2.6.29-1mnb2.i586.rpm et ton kernel

2.6.29.6-desktop-2mnb

a mon avis c'est pas les 2 meme ..

a+

Bonsoir jeanbi :P ,

tu as sans doute raison :P .

J' ai cherché ici:

http://www.rpmfind.net/linux/rpm2html/sear...=kernel-headers

 

Mes dépôts sont réglés avec easyurpmi par défaut, plf compris...Et, il n'y est pas non plus :P .

Alors où ???

 

A bientôt.

pll

Rejoindre la conversation

Vous publiez en tant qu’invité. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.
Remarque : votre message nécessitera l’approbation d’un modérateur avant de pouvoir être visible.

Invité
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.

  • En ligne récemment   0 membre est en ligne

    • Aucun utilisateur enregistré regarde cette page.
×
×
  • Créer...