Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 10/11/2007, à 22:00

titi89

quickcam messenger plus

bonjour,
j'ai suivi ce tuto pour installer le driver:
http://doc.ubuntu-fr.org/logitech_quickcam#pilote_qc-usb-messenger
comme je suis sous feisty j'ai remplacé la ligne dans le Makefile et voici tout le résultat de l'installation
quelqu'un pourrait-il me dire ce qui coince?
merci d'avance il y en a pas mal à lire.

thierry@thierry01:~$ sudo su
Password:
root@thierry01:/home/thierry# wget http://home.mag.cx/messenger/source/qc-usb-messenger-1.7.tar.gz
--20:40:45--  http://home.mag.cx/messenger/source/qc-usb-messenger-1.7.tar.gz
           => `qc-usb-messenger-1.7.tar.gz.2'
Résolution de home.mag.cx... 82.183.171.139
Connexion vers home.mag.cx|82.183.171.139|:80... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Longueur: 168 467 (165K) [application/x-gzip]

100%[====================================>] 168 467      100.26K/s             

20:40:47 (99.76 KB/s) - « qc-usb-messenger-1.7.tar.gz.2 » sauvegardé [168467/168467]

root@thierry01:/home/thierry# tar xzvf ./qc-usb-messenger-*.tar.gz
qc-usb-messenger-1.7/
qc-usb-messenger-1.7/show.c
qc-usb-messenger-1.7/README
qc-usb-messenger-1.7/qc-pb0100.c
qc-usb-messenger-1.7/README.qce
qc-usb-messenger-1.7/CREDITS
qc-usb-messenger-1.7/qc-hdcs.c
qc-usb-messenger-1.7/quickcam.sh
qc-usb-messenger-1.7/qcweb-info.txt
qc-usb-messenger-1.7/qc-vv6450.c
qc-usb-messenger-1.7/qc-memory.c
qc-usb-messenger-1.7/quickcam.h
qc-usb-messenger-1.7/_README_MESSENGER
qc-usb-messenger-1.7/TODO
qc-usb-messenger-1.7/APPLICATIONS
qc-usb-messenger-1.7/testquickcam/
qc-usb-messenger-1.7/testquickcam/testquickcam.c
qc-usb-messenger-1.7/testquickcam/convert_to_gif.sh
qc-usb-messenger-1.7/testquickcam/CVS/
qc-usb-messenger-1.7/testquickcam/CVS/Entries
qc-usb-messenger-1.7/testquickcam/CVS/Root
qc-usb-messenger-1.7/testquickcam/CVS/Repository
qc-usb-messenger-1.7/testquickcam/Makefile
qc-usb-messenger-1.7/testquickcam/testquickcam.h
qc-usb-messenger-1.7/linux-2.6.7-quickcam.patch
qc-usb-messenger-1.7/videodevfix.h
qc-usb-messenger-1.7/linux-2.6.8.1-quickcam.patch
qc-usb-messenger-1.7/print_exposure.sh
qc-usb-messenger-1.7/FAQ
qc-usb-messenger-1.7/debug.sh
qc-usb-messenger-1.7/Makefile
qc-usb-messenger-1.7/freeshm.sh
qc-usb-messenger-1.7/_CHANGES_MESSENGER
qc-usb-messenger-1.7/qc-vv6410.c
qc-usb-messenger-1.7/qcset.c
qc-usb-messenger-1.7/videodev2.h
qc-usb-messenger-1.7/qc-memory.h
qc-usb-messenger-1.7/linux-2.4.20-quickcam.patch
qc-usb-messenger-1.7/qc-driver.c
qc-usb-messenger-1.7/qc-mjpeg.c
qc-usb-messenger-1.7/QCM
qc-usb-messenger-1.7/qc-formats.c
qc-usb-messenger-1.7/COPYING
qc-usb-messenger-1.7/input_read.c
root@thierry01:/home/thierry# cd ./qc-usb-messenger-*
root@thierry01:/home/thierry/qc-usb-messenger-1.7# gedit Makefile

(gedit:11813): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
root@thierry01:/home/thierry/qc-usb-messenger-1.7# sudo ./quickcam.sh
-=- Logitech QuickCam USB camera driver installer -=-
Hello! I am the (hopefully) easy-to-use, fully automated
qc-usb driver installation script.
At the moment, this is experimental, and if it doesn't work,
don't hesitate to quit this with Ctrl+C and install the
driver manually.

The driver is provided in source code form, so it has to be
compiled. This should happen automatically, but it does mean
that there are some steps required before installation.

You also need to know "root" user password to test and
install the driver.

Basically you need only to keep hitting Enter whenever you
see this prompt: --->. Sometimes you're asked root password.
Pay special attention to lines beginning with [!].
It means that some trouble has been detected.

To most important location is the path to your kernel source
or headers. This can be guessed, but you can specify it by
giving it as an argument to this script like this:
        ./quickcam.sh LINUX_DIR=/usr/src/linux

If you haven't done it yet, now it would be a good moment to
take a look at file README.

Next I'm going to check if you have some important programs installed
and if they and the kernel are of suitable version.
Press Ctrl+C to quit, Enter to continue --->

./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
Warning: xawtv missing
/usr/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,
but this probably will fail. You SHOULD press Ctrl+C now.
Press Ctrl+C to quit, Enter to continue --->

/bin/readlink
gcc version: version gcc 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
gcc version: version gcc 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
Make version: GNU Make 3.81
Linker version: GNU ld version 2.17.50 20070103 Ubuntu
Kernel compiler: gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
[!] 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).
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 --->

Looking for more necessary programs...
Found program /sbin/depmod
Found program /sbin/insmod
Found program /sbin/rmmod
Found program /sbin/modprobe
Found program /bin/mount
Found program /usr/sbin/lsusb
depmod version: module-init-tools 3.3-pre2
insmod version: module-init-tools version 3.3-pre2
rmmod version: module-init-tools version 3.3-pre2
modprobe version: module-init-tools version 3.3-pre2
Checking whether we're root... root
[!] Running script as root.
You shouldn't run this script as root. It should work,
but is unsafe. Please run this as an ordinary user.
When root access is really needed, you will be prompted
for the root password.
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 --->

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 --->

Kernel source directory: /lib/modules/2.6.20-16-generic/build
Detected kernel version is 2.6.x.
Kernel version name: 2.6.20-16-generic
Kernel source version code: 132628
Driver file name: quickcam.ko
Module install directory: /lib/modules/2.6.20-16-generic
Driver source directory (PWD):         /home/thierry/qc-usb-messenger-1.7
Kernel source directory (LINUX_DIR):   /lib/modules/2.6.20-16-generic/build
Module install directory (MODULE_DIR): /lib/modules/2.6.20-16-generic
Utility install directory (PREFIX):    /usr/local
User options (USER_OPT):               -DHAVE_UTSRELEASE_H=1
Driver file name (use with insmod):    quickcam.ko
Kernel version code:                   132628

The QuickCam driver requires other drivers from kernel.
I'll now check if those seem to be loaded.
Press Ctrl+C to quit, Enter to continue --->

Modules loaded into the kernel:
nls_iso8859_1 nls_cp437 vfat fat ipt_MASQUERADE iptable_nat ip_tables nf_nat nf_conntrack_ipv4 nf_conntrack nfnetlink x_tables binfmt_misc rfcomm l2cap bluetooth nfs ppp_deflate zlib_deflate bsd_comp nfsd exportfs lockd sunrpc ppdev cpufreq_userspace cpufreq_powersave cpufreq_stats cpufreq_ondemand freq_table cpufreq_conservative dev_acpi pcc_acpi tc1100_wmi sony_acpi button battery ac container dock video asus_acpi backlight sbs i2c_ec pppoatm ppp_generic slhc af_packet qt1010 mt2060 mt352 lp zl10353 em2880_dvb dvb_core em28xx_audio fuse xc3028_tuner snd_via82xx tvp5150 tuner usb_storage em28xx compat_ioctl32 ir_common gameport tveeprom snd_usb_audio snd_usb_lib nvidia snd_hwdep libusual snd_via82xx_modem snd_ac97_codec snd_pcm_oss snd_mixer_oss videodev v4l2_common v4l1_compat ac97_bus snd_mpu401_uart ueagle_atm usbatm snd_pcm snd_seq_dummy snd_seq_oss cdc_ether usbnet mii snd_seq_midi snd_rawmidi usbhid hid ide_cd cdrom parport_pc parport snd_seq_midi_event snd_seq snd_timer snd_seq_device snd psmouse k8temp pcspkr serio_raw snd_page_alloc shpchp pci_hotplug amd64_agp soundcore i2c_viapro i2c_core generic agpgart sk98lin evdev tsdev ipv6 ext3 jbd mbcache sg sd_mod via82cxxx floppy skge ehci_hcd uhci_hcd usbcore ata_generic sata_via libata scsi_mod thermal processor fan fbcon tileblit font bitblit softcursor vesafb capability commoncap

Next round: let's see if you have a supported QuickCam.
Please plug in your USB camera before continuing.
Press Ctrl+C to quit, Enter to continue --->

I can find the following probably compatible devices:
Bus 005 Device 010: ID 046d:08f6 Logitech, Inc.

Another round done. Let's now compile the driver, it takes a while.
This step will also clear old unnecessary files from the directory.
Press Ctrl+C to quit, Enter to continue --->

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/thierry/qc-usb-messenger-1.7/testquickcam »
rm -f testquickcam *~ pic.ppm pic.gif
make[1]: quittant le répertoire « /home/thierry/qc-usb-messenger-1.7/testquickcam »
make -C "/lib/modules/2.6.20-16-generic/build" SUBDIRS="/home/thierry/qc-usb-messenger-1.7" modules V=1 USER_OPT="-DHAVE_UTSRELEASE_H=1"
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.20-16-generic »
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/thierry/qc-usb-messenger-1.7/.tmp_versions
rm -f /home/thierry/qc-usb-messenger-1.7/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/thierry/qc-usb-messenger-1.7
  gcc -m32 -Wp,-MD,/home/thierry/qc-usb-messenger-1.7/.qc-driver.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Iubuntu/include  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2  -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args   -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DNOKERNEL -DHAVE_UTSRELEASE_H=1  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_driver)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /home/thierry/qc-usb-messenger-1.7/.tmp_qc-driver.o /home/thierry/qc-usb-messenger-1.7/qc-driver.c
/home/thierry/qc-usb-messenger-1.7/qc-driver.c: In function «qc_int_init":
/home/thierry/qc-usb-messenger-1.7/qc-driver.c:850: attention : passing argument 6 of «usb_fill_int_urb" from incompatible pointer type
/home/thierry/qc-usb-messenger-1.7/qc-driver.c: In function «qc_isoc_start":
/home/thierry/qc-usb-messenger-1.7/qc-driver.c:2209: attention : assignment from incompatible pointer type
  gcc -m32 -Wp,-MD,/home/thierry/qc-usb-messenger-1.7/.qc-vv6450.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Iubuntu/include  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2  -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args   -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DNOKERNEL -DHAVE_UTSRELEASE_H=1  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_vv6450)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /home/thierry/qc-usb-messenger-1.7/.tmp_qc-vv6450.o /home/thierry/qc-usb-messenger-1.7/qc-vv6450.c
  gcc -m32 -Wp,-MD,/home/thierry/qc-usb-messenger-1.7/.qc-formats.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Iubuntu/include  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2  -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args   -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DNOKERNEL -DHAVE_UTSRELEASE_H=1  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_formats)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /home/thierry/qc-usb-messenger-1.7/.tmp_qc-formats.o /home/thierry/qc-usb-messenger-1.7/qc-formats.c
  gcc -m32 -Wp,-MD,/home/thierry/qc-usb-messenger-1.7/.qc-memory.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Iubuntu/include  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2  -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args   -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DNOKERNEL -DHAVE_UTSRELEASE_H=1  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_memory)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /home/thierry/qc-usb-messenger-1.7/.tmp_qc-memory.o /home/thierry/qc-usb-messenger-1.7/qc-memory.c
  ld -m elf_i386 -m elf_i386  -r -o /home/thierry/qc-usb-messenger-1.7/quickcam.o /home/thierry/qc-usb-messenger-1.7/qc-driver.o /home/thierry/qc-usb-messenger-1.7/qc-vv6450.o /home/thierry/qc-usb-messenger-1.7/qc-formats.o /home/thierry/qc-usb-messenger-1.7/qc-memory.o
  Building modules, stage 2.
make -f /usr/src/linux-headers-2.6.20-16-generic/scripts/Makefile.modpost
  scripts/mod/modpost -m -a -i /usr/src/linux-headers-2.6.20-16-generic/Module.symvers -I /home/thierry/qc-usb-messenger-1.7/Module.symvers -o /home/thierry/qc-usb-messenger-1.7/Module.symvers -w  /home/thierry/qc-usb-messenger-1.7/quickcam.o
  gcc -m32 -Wp,-MD,/home/thierry/qc-usb-messenger-1.7/.quickcam.mod.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Iubuntu/include  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2  -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args   -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(quickcam.mod)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -DMODULE -c -o /home/thierry/qc-usb-messenger-1.7/quickcam.mod.o /home/thierry/qc-usb-messenger-1.7/quickcam.mod.c
  ld -m elf_i386 -m elf_i386 -r -o /home/thierry/qc-usb-messenger-1.7/quickcam.ko /home/thierry/qc-usb-messenger-1.7/quickcam.o /home/thierry/qc-usb-messenger-1.7/quickcam.mod.o
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.20-16-generic »
gcc -Wall -O2 -s qcset.c -o qcset -lm
qcset.c: In function «pnm_open":
qcset.c:383: attention : pointer targets in passing argument 1 of «fopen" differ in signedness
qcset.c: In function «main":
qcset.c:642: attention : pointer targets in passing argument 1 of «pnm_open" differ in signedness
gcc -Wall -O2 -s input_read.c -o input_read
-rw-r--r-- 1 root root 717868 2007-11-10 20:47 quickcam.ko

Now everything should be well and the driver compiled.
Let's then try actually loading the fresh driver and testing
if it works.
Press Ctrl+C to quit, Enter to continue --->

To load the driver, I need to know the root password.
=== Entering root mode ===

I will now try to enable the SysRq key.
If your computer crashes, you can try pressing:
        Alt + SysRq + S: Emergency Sync (write everything on hard disk)
        Alt + SysRq + U: Unmount all harddisks
        Alt + SysRq + B: Reboot system immediately
Press Ctrl+C to quit, Enter to continue --->

Now I finally will try to load the module.
If you're unlucky, your computer might crash right now!!!!
Consider long if you really want to continue.
Press Ctrl+C to quit, Enter to continue --->

You decided to do it, here we go...
insmod: error inserting './quickcam.ko': -1 Unknown symbol in module
=== Leaving root mode ===
[12262.203102] quickcam: disagrees about version of symbol video_devdata
[12262.203112] quickcam: Unknown symbol video_devdata
[12262.203241] quickcam: disagrees about version of symbol video_unregister_device
[12262.203244] quickcam: Unknown symbol video_unregister_device
[12262.203306] quickcam: disagrees about version of symbol video_register_device
[12262.203308] quickcam: Unknown symbol video_register_device
[!] The QuickCam driver failed to load!
If you saw any special error messages, like about
unresolved symbols, tell about them when asking for help.
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 --->

The driver detected the following supported cameras:
[12262.203102] quickcam: disagrees about version of symbol video_devdata
[12262.203112] quickcam: Unknown symbol video_devdata
[12262.203241] quickcam: disagrees about version of symbol video_unregister_device
[12262.203244] quickcam: Unknown symbol video_unregister_device
[12262.203306] quickcam: disagrees about version of symbol video_register_device
[12262.203308] quickcam: Unknown symbol video_register_device
I will be using , if there are more cameras I'll not test them.
Press Ctrl+C to quit, Enter to continue --->

Testing if  is correct.
ls: : Aucun fichier ou répertoire de ce type
[!] You don't have read/write access to .
On many distributions, you should add yourself into the
"video" group by giving command
        adduser root video
and then log in again to be able to access the video.
A quick alternative is just to do
        chmod a+rw
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 --->

ls: : Aucun fichier ou répertoire de ce type
ls: : Aucun fichier ou répertoire de ce type
[!]  major number is .
Usually it should be 81, so there are problems ahead.
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 --->


Right now driver is loaded and should be ready to run.
Let's test if user applications can see it, starting with qcset.
Press Ctrl+C to quit, Enter to continue --->

./qcset: invalid configuration request type
[!] qcset did not found the QuickCam camera
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 --->

If you like, you can quit now and start using the camera -
you have good chances that it works, if no problems were detected.
If you have X Window System running and xawtv installed,

Hors ligne

#2 Le 11/11/2007, à 12:13

titi89

Re : quickcam messenger plus

voila le résultat en lançant manuellement:

root@thierry01:/home/thierry/qc-usb-messenger-1.7# sudo make clean && make all
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/thierry/qc-usb-messenger-1.7/testquickcam »
rm -f testquickcam *~ pic.ppm pic.gif
make[1]: quittant le répertoire « /home/thierry/qc-usb-messenger-1.7/testquickcam »
make -C "/lib/modules/2.6.20-16-generic/build" SUBDIRS="/home/thierry/qc-usb-messenger-1.7" modules V=1 USER_OPT="-DHAVE_UTSRELEASE_H=1"
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.20-16-generic »
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/thierry/qc-usb-messenger-1.7/.tmp_versions
rm -f /home/thierry/qc-usb-messenger-1.7/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/thierry/qc-usb-messenger-1.7
  gcc -m32 -Wp,-MD,/home/thierry/qc-usb-messenger-1.7/.qc-driver.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Iubuntu/include  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2  -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args   -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DNOKERNEL -DHAVE_UTSRELEASE_H=1  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_driver)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /home/thierry/qc-usb-messenger-1.7/.tmp_qc-driver.o /home/thierry/qc-usb-messenger-1.7/qc-driver.c
/home/thierry/qc-usb-messenger-1.7/qc-driver.c: In function «qc_int_init":
/home/thierry/qc-usb-messenger-1.7/qc-driver.c:850: attention : passing argument 6 of «usb_fill_int_urb" from incompatible pointer type
/home/thierry/qc-usb-messenger-1.7/qc-driver.c: In function «qc_isoc_start":
/home/thierry/qc-usb-messenger-1.7/qc-driver.c:2209: attention : assignment from incompatible pointer type
  gcc -m32 -Wp,-MD,/home/thierry/qc-usb-messenger-1.7/.qc-vv6450.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Iubuntu/include  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2  -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args   -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DNOKERNEL -DHAVE_UTSRELEASE_H=1  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_vv6450)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /home/thierry/qc-usb-messenger-1.7/.tmp_qc-vv6450.o /home/thierry/qc-usb-messenger-1.7/qc-vv6450.c
  gcc -m32 -Wp,-MD,/home/thierry/qc-usb-messenger-1.7/.qc-formats.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Iubuntu/include  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2  -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args   -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DNOKERNEL -DHAVE_UTSRELEASE_H=1  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_formats)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /home/thierry/qc-usb-messenger-1.7/.tmp_qc-formats.o /home/thierry/qc-usb-messenger-1.7/qc-formats.c
  gcc -m32 -Wp,-MD,/home/thierry/qc-usb-messenger-1.7/.qc-memory.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Iubuntu/include  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2  -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args   -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DNOKERNEL -DHAVE_UTSRELEASE_H=1  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_memory)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /home/thierry/qc-usb-messenger-1.7/.tmp_qc-memory.o /home/thierry/qc-usb-messenger-1.7/qc-memory.c
  ld -m elf_i386 -m elf_i386  -r -o /home/thierry/qc-usb-messenger-1.7/quickcam.o /home/thierry/qc-usb-messenger-1.7/qc-driver.o /home/thierry/qc-usb-messenger-1.7/qc-vv6450.o /home/thierry/qc-usb-messenger-1.7/qc-formats.o /home/thierry/qc-usb-messenger-1.7/qc-memory.o
  Building modules, stage 2.
make -f /usr/src/linux-headers-2.6.20-16-generic/scripts/Makefile.modpost
  scripts/mod/modpost -m -a -i /usr/src/linux-headers-2.6.20-16-generic/Module.symvers -I /home/thierry/qc-usb-messenger-1.7/Module.symvers -o /home/thierry/qc-usb-messenger-1.7/Module.symvers -w  /home/thierry/qc-usb-messenger-1.7/quickcam.o
  gcc -m32 -Wp,-MD,/home/thierry/qc-usb-messenger-1.7/.quickcam.mod.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Iubuntu/include  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2  -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args   -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(quickcam.mod)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -DMODULE -c -o /home/thierry/qc-usb-messenger-1.7/quickcam.mod.o /home/thierry/qc-usb-messenger-1.7/quickcam.mod.c
  ld -m elf_i386 -m elf_i386 -r -o /home/thierry/qc-usb-messenger-1.7/quickcam.ko /home/thierry/qc-usb-messenger-1.7/quickcam.o /home/thierry/qc-usb-messenger-1.7/quickcam.mod.o
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.20-16-generic »
gcc -Wall -O2 -s qcset.c -o qcset -lm
qcset.c: In function «pnm_open":
qcset.c:383: attention : pointer targets in passing argument 1 of «fopen" differ in signedness
qcset.c: In function «main":
qcset.c:642: attention : pointer targets in passing argument 1 of «pnm_open" differ in signedness
gcc -Wall -O2 -s input_read.c -o input_read
root@thierry01:/home/thierry/qc-usb-messenger-1.7# sudo modprobe quickcam
FATAL: Error inserting quickcam (/lib/modules/2.6.20-16-generic/kernel/ubuntu/media/quickcam/quickcam.ko): Unknown symbol in module, or unknown parameter (see dmesg)
root@thierry01:/home/thierry/qc-usb-messenger-1.7# sudo gedit Makefile

(gedit:10240): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
root@thierry01:/home/thierry/qc-usb-messenger-1.7# sudo make clean && make all
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/thierry/qc-usb-messenger-1.7/testquickcam »
rm -f testquickcam *~ pic.ppm pic.gif
make[1]: quittant le répertoire « /home/thierry/qc-usb-messenger-1.7/testquickcam »
make -C "/lib/modules/2.6.20-16-generic/build" SUBDIRS="/home/thierry/qc-usb-messenger-1.7" modules V=1 USER_OPT="-DHAVE_UTSRELEASE_H=1"
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.20-16-generic »
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/thierry/qc-usb-messenger-1.7/.tmp_versions
rm -f /home/thierry/qc-usb-messenger-1.7/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/thierry/qc-usb-messenger-1.7
  gcc -m32 -Wp,-MD,/home/thierry/qc-usb-messenger-1.7/.qc-driver.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Iubuntu/include  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2  -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args   -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DNOKERNEL -DHAVE_UTSRELEASE_H=1  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_driver)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /home/thierry/qc-usb-messenger-1.7/.tmp_qc-driver.o /home/thierry/qc-usb-messenger-1.7/qc-driver.c
/home/thierry/qc-usb-messenger-1.7/qc-driver.c: In function «qc_int_init":
/home/thierry/qc-usb-messenger-1.7/qc-driver.c:850: attention : passing argument 6 of «usb_fill_int_urb" from incompatible pointer type
/home/thierry/qc-usb-messenger-1.7/qc-driver.c: In function «qc_isoc_start":
/home/thierry/qc-usb-messenger-1.7/qc-driver.c:2209: attention : assignment from incompatible pointer type
  gcc -m32 -Wp,-MD,/home/thierry/qc-usb-messenger-1.7/.qc-vv6450.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Iubuntu/include  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2  -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args   -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DNOKERNEL -DHAVE_UTSRELEASE_H=1  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_vv6450)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /home/thierry/qc-usb-messenger-1.7/.tmp_qc-vv6450.o /home/thierry/qc-usb-messenger-1.7/qc-vv6450.c
  gcc -m32 -Wp,-MD,/home/thierry/qc-usb-messenger-1.7/.qc-formats.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Iubuntu/include  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2  -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args   -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DNOKERNEL -DHAVE_UTSRELEASE_H=1  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_formats)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /home/thierry/qc-usb-messenger-1.7/.tmp_qc-formats.o /home/thierry/qc-usb-messenger-1.7/qc-formats.c
  gcc -m32 -Wp,-MD,/home/thierry/qc-usb-messenger-1.7/.qc-memory.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Iubuntu/include  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2  -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args   -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DNOKERNEL -DHAVE_UTSRELEASE_H=1  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_memory)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /home/thierry/qc-usb-messenger-1.7/.tmp_qc-memory.o /home/thierry/qc-usb-messenger-1.7/qc-memory.c
  ld -m elf_i386 -m elf_i386  -r -o /home/thierry/qc-usb-messenger-1.7/quickcam.o /home/thierry/qc-usb-messenger-1.7/qc-driver.o /home/thierry/qc-usb-messenger-1.7/qc-vv6450.o /home/thierry/qc-usb-messenger-1.7/qc-formats.o /home/thierry/qc-usb-messenger-1.7/qc-memory.o
  Building modules, stage 2.
make -f /usr/src/linux-headers-2.6.20-16-generic/scripts/Makefile.modpost
  scripts/mod/modpost -m -a -i /usr/src/linux-headers-2.6.20-16-generic/Module.symvers -I /home/thierry/qc-usb-messenger-1.7/Module.symvers -o /home/thierry/qc-usb-messenger-1.7/Module.symvers -w  /home/thierry/qc-usb-messenger-1.7/quickcam.o
  gcc -m32 -Wp,-MD,/home/thierry/qc-usb-messenger-1.7/.quickcam.mod.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Iubuntu/include  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2  -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args   -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(quickcam.mod)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -DMODULE -c -o /home/thierry/qc-usb-messenger-1.7/quickcam.mod.o /home/thierry/qc-usb-messenger-1.7/quickcam.mod.c
  ld -m elf_i386 -m elf_i386 -r -o /home/thierry/qc-usb-messenger-1.7/quickcam.ko /home/thierry/qc-usb-messenger-1.7/quickcam.o /home/thierry/qc-usb-messenger-1.7/quickcam.mod.o
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.20-16-generic »
gcc -Wall -O2 -s qcset.c -o qcset -lm
qcset.c: In function «pnm_open":
qcset.c:383: attention : pointer targets in passing argument 1 of «fopen" differ in signedness
qcset.c: In function «main":
qcset.c:642: attention : pointer targets in passing argument 1 of «pnm_open" differ in signedness
gcc -Wall -O2 -s input_read.c -o input_read
root@thierry01:/home/thierry/qc-usb-messenger-1.7# sudo modprobe quickcam
FATAL: Error inserting quickcam (/lib/modules/2.6.20-16-generic/kernel/ubuntu/media/quickcam/quickcam.ko): Unknown symbol in module, or unknown parameter (see dmesg)
root@thierry01:/home/thierry/qc-usb-messenger-1.7# dmesg
[ 6733.246641] quickcam: disagrees about version of symbol video_devdata
[ 6733.246650] quickcam: Unknown symbol video_devdata
[ 6733.246781] quickcam: disagrees about version of symbol video_unregister_device
[ 6733.246783] quickcam: Unknown symbol video_unregister_device
[ 6733.246847] quickcam: disagrees about version of symbol video_register_device
[ 6733.246849] quickcam: Unknown symbol video_register_device
[ 6746.492607] em28xx-video.c: Switching device from DVB-T to analogue mode
[ 6746.492688] Loading base firmware: xc3028_init0.i2c.fw
[ 6747.652054] Loading default analogue TV settings: xc3028_BG_PAL_A2_A.i2c.fw
[ 6747.700090] xc3028-tuner.c: firmware 2.7
[ 6747.784406] tvp5150 1-005c: tvp5150am1 detected.
[ 6747.879599] ANALOG TV REQUEST
[ 6804.884326] quickcam: disagrees about version of symbol video_devdata
[ 6804.884335] quickcam: Unknown symbol video_devdata
[ 6804.884487] quickcam: disagrees about version of symbol video_unregister_device
[ 6804.884490] quickcam: Unknown symbol video_unregister_device
[ 6804.884553] quickcam: disagrees about version of symbol video_register_device
[ 6804.884555] quickcam: Unknown symbol video_register_device
[ 6817.579741] em28xx-video.c: em28xx_set_fmt !V4L_BUF_TYPE_VIDEO_CAPTURE
[ 6866.485479] quickcam: disagrees about version of symbol video_devdata
[ 6866.485488] quickcam: Unknown symbol video_devdata
[ 6866.485619] quickcam: disagrees about version of symbol video_unregister_device
[ 6866.485622] quickcam: Unknown symbol video_unregister_device
[ 6866.485685] quickcam: disagrees about version of symbol video_register_device
[ 6866.485687] quickcam: Unknown symbol video_register_device
[ 6890.645085] em28xx-video.c: em28xx_set_fmt !V4L_BUF_TYPE_VIDEO_CAPTURE
[ 7015.419270] quickcam: disagrees about version of symbol video_devdata
[ 7015.419276] quickcam: Unknown symbol video_devdata
[ 7015.419408] quickcam: disagrees about version of symbol video_unregister_device
[ 7015.419410] quickcam: Unknown symbol video_unregister_device
[ 7015.419473] quickcam: disagrees about version of symbol video_register_device
[ 7015.419475] quickcam: Unknown symbol video_register_device
root@thierry01:/home/thierry/qc-usb-messenger-1.7#

Hors ligne

#3 Le 11/11/2007, à 21:35

titi89

Re : quickcam messenger plus

up!

Hors ligne