Je vais poster galement ce thread dans l'autre forum car le forum francais m'a l'air bien vide :)
Apres de multiples problemes d'installation de ma Quickam Express USB sur mon 2.4.21 (pas de video4linux, modprobe et sources du noyau rron ) j'ai dcid de passer en 2.5.74 avec V4L en standard.
Pour infos j'ai galement mis a jours mes outils de gestion de modules ( 2.4.x -> 2.5.74 les modules sont grs diffrements apparement .. un p'tit coup de apt-get install module-init-tools et c't good merci debian :)
Bref, j'ai tent de compiler les drivers ( version 0.5.1 mais aussi sur la 0.40b )
Voici le resultat de mon make sous 0.5.1 :
root@neo:/root/qc-usb-0.5.1 # USER_OPT=-DNDEBUG make all
cc -I/lib/modules/2.5.74/build/include -nostdinc -iwithprefix include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wall -Wstrict-prototypes -Wno-trigraphs -DNDEBUG -pipe -c qc-driver.c
In file included from /lib/modules/2.5.74/build/include/linux/irq.h:19,
from /lib/modules/2.5.74/build/include/asm/hardirq.h:6,
from /lib/modules/2.5.74/build/include/linux/interrupt.h:10,
from /lib/modules/2.5.74/build/include/linux/usb.h:15,
from quickcam.h:20,
from qc-driver.c:47:
/lib/modules/2.5.74/build/include/asm/irq.h:16:25: irq_vectors.h: Aucun fichier ou rpertoire de ce type
In file included from /lib/modules/2.5.74/build/include/asm/hardirq.h:6,
from /lib/modules/2.5.74/build/include/linux/interrupt.h:10,
from /lib/modules/2.5.74/build/include/linux/usb.h:15,
from quickcam.h:20,
from qc-driver.c:47:
/lib/modules/2.5.74/build/include/linux/irq.h:69: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.5.74/build/include/linux/irq.h:71,
from /lib/modules/2.5.74/build/include/asm/hardirq.h:6,
from /lib/modules/2.5.74/build/include/linux/interrupt.h:10,
from /lib/modules/2.5.74/build/include/linux/usb.h:15,
from quickcam.h:20,
from qc-driver.c:47:
/lib/modules/2.5.74/build/include/asm/hw_irq.h:27: `NR_IRQS' undeclared here (not in a function)
/lib/modules/2.5.74/build/include/asm/hw_irq.h:30: `NR_IRQS' undeclared here (not in a function)
qc-driver.c:68:27: linux/wrapper.h: Aucun fichier ou rpertoire de ce type
qc-driver.c:145: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
qc-driver.c:145: warning: data definition has no type or storage class
qc-driver.c: In function `qc_i2c_nextpacket':
qc-driver.c:483: too few arguments to function `usb_submit_urb'
qc-driver.c: In function `qc_i2c_init':
qc-driver.c:650: too few arguments to function `usb_alloc_urb'
qc-driver.c:660: structure has no member named `next'
qc-driver.c: In function `qc_stream_add':
qc-driver.c:1439: warning: deprecated use of label at end of compound statement
qc-driver.c: In function `qc_isoc_handler':
qc-driver.c:1527: too few arguments to function `usb_submit_urb'
qc-driver.c: In function `qc_isoc_start':
qc-driver.c:1564: too few arguments to function `usb_alloc_urb'
qc-driver.c:1572: `USB_ISO_ASAP' undeclared (first use in this function)
qc-driver.c:1572: (Each undeclared identifier is reported only once
qc-driver.c:1572: for each function it appears in.)
qc-driver.c:1573: warning: assignment from incompatible pointer type
qc-driver.c:1595: too few arguments to function `usb_submit_urb'
qc-driver.c: In function `qc_v4l_open':
qc-driver.c:1950: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.74/build/include/linux/module.h:481)
qc-driver.c:1990: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.74/build/include/linux/module.h:493)
qc-driver.c: In function `qc_v4l_close':
qc-driver.c:2031: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.74/build/include/linux/module.h:493)
qc-driver.c: At top level:
qc-driver.c:2543: unknown field `initialize' specified in initializer
qc-driver.c:2543: warning: initialization makes integer from pointer without a cast
qc-driver.c:2544: unknown field `open' specified in initializer
qc-driver.c:2544: warning: initialization from incompatible pointer type
qc-driver.c:2545: unknown field `close' specified in initializer
qc-driver.c:2546: unknown field `read' specified in initializer
qc-driver.c:2546: warning: initialization makes integer from pointer without a cast
qc-driver.c:2547: unknown field `write' specified in initializer
qc-driver.c:2547: warning: missing braces around initializer
qc-driver.c:2547: warning: (near initialization for `qc_v4l_template.lock')
qc-driver.c:2547: warning: initialization makes integer from pointer without a cast
qc-driver.c:2548: unknown field `ioctl' specified in initializer
qc-driver.c:2548: warning: initialization makes integer from pointer without a cast
qc-driver.c:2548: initializer element is not computable at load time
qc-driver.c:2548: (near initialization for `qc_v4l_template.devfs_name[0]')
qc-driver.c:2549: initializer element is not constant
qc-driver.c:2549: (near initialization for `qc_v4l_template.devfs_name')
qc-driver.c:2549: unknown field `mmap' specified in initializer
qc-driver.c:2549: warning: excess elements in struct initializer
qc-driver.c:2549: warning: (near initialization for `qc_v4l_template')
qc-driver.c:2550: unknown field `poll' specified in initializer
qc-driver.c:2550: warning: excess elements in struct initializer
qc-driver.c:2550: warning: (near initialization for `qc_v4l_template')
qc-driver.c:2567: warning: initialization from incompatible pointer type
qc-driver.c:2568: warning: initialization from incompatible pointer type
qc-driver.c: In function `qc_usb_probe':
qc-driver.c:2756: warning: assignment from incompatible pointer type
qc-driver.c:2771: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.74/build/include/linux/module.h:481)
qc-driver.c:2774: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.74/build/include/linux/module.h:493)
qc-driver.c: In function `qc_usb_disconnect':
qc-driver.c:2813: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.74/build/include/linux/module.h:481)
qc-driver.c:2837: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.74/build/include/linux/module.h:493)
make: *** [qc-driver.o] Erreur 1
Avez vous une solution ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Bonjour,
Je vais poster galement ce thread dans l'autre forum car le forum francais m'a l'air bien vide :)
Apres de multiples problemes d'installation de ma Quickam Express USB sur mon 2.4.21 (pas de video4linux, modprobe et sources du noyau rron ) j'ai dcid de passer en 2.5.74 avec V4L en standard.
Pour infos j'ai galement mis a jours mes outils de gestion de modules ( 2.4.x -> 2.5.74 les modules sont grs diffrements apparement .. un p'tit coup de apt-get install module-init-tools et c't good merci debian :)
Bref, j'ai tent de compiler les drivers ( version 0.5.1 mais aussi sur la 0.40b )
Voici le resultat de mon make sous 0.5.1 :
root@neo:/root/qc-usb-0.5.1 # USER_OPT=-DNDEBUG make all
cc -I/lib/modules/2.5.74/build/include -nostdinc -iwithprefix include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wall -Wstrict-prototypes -Wno-trigraphs -DNDEBUG -pipe -c qc-driver.c
In file included from /lib/modules/2.5.74/build/include/linux/irq.h:19,
from /lib/modules/2.5.74/build/include/asm/hardirq.h:6,
from /lib/modules/2.5.74/build/include/linux/interrupt.h:10,
from /lib/modules/2.5.74/build/include/linux/usb.h:15,
from quickcam.h:20,
from qc-driver.c:47:
/lib/modules/2.5.74/build/include/asm/irq.h:16:25: irq_vectors.h: Aucun fichier ou rpertoire de ce type
In file included from /lib/modules/2.5.74/build/include/asm/hardirq.h:6,
from /lib/modules/2.5.74/build/include/linux/interrupt.h:10,
from /lib/modules/2.5.74/build/include/linux/usb.h:15,
from quickcam.h:20,
from qc-driver.c:47:
/lib/modules/2.5.74/build/include/linux/irq.h:69: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.5.74/build/include/linux/irq.h:71,
from /lib/modules/2.5.74/build/include/asm/hardirq.h:6,
from /lib/modules/2.5.74/build/include/linux/interrupt.h:10,
from /lib/modules/2.5.74/build/include/linux/usb.h:15,
from quickcam.h:20,
from qc-driver.c:47:
/lib/modules/2.5.74/build/include/asm/hw_irq.h:27: `NR_IRQS' undeclared here (not in a function)
/lib/modules/2.5.74/build/include/asm/hw_irq.h:30: `NR_IRQS' undeclared here (not in a function)
qc-driver.c:68:27: linux/wrapper.h: Aucun fichier ou rpertoire de ce type
qc-driver.c:145: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
qc-driver.c:145: warning: data definition has no type or storage class
qc-driver.c: In function `qc_i2c_nextpacket':
qc-driver.c:483: too few arguments to function `usb_submit_urb'
qc-driver.c: In function `qc_i2c_init':
qc-driver.c:650: too few arguments to function `usb_alloc_urb'
qc-driver.c:660: structure has no member named `next'
qc-driver.c: In function `qc_stream_add':
qc-driver.c:1439: warning: deprecated use of label at end of compound statement
qc-driver.c: In function `qc_isoc_handler':
qc-driver.c:1527: too few arguments to function `usb_submit_urb'
qc-driver.c: In function `qc_isoc_start':
qc-driver.c:1564: too few arguments to function `usb_alloc_urb'
qc-driver.c:1572: `USB_ISO_ASAP' undeclared (first use in this function)
qc-driver.c:1572: (Each undeclared identifier is reported only once
qc-driver.c:1572: for each function it appears in.)
qc-driver.c:1573: warning: assignment from incompatible pointer type
qc-driver.c:1595: too few arguments to function `usb_submit_urb'
qc-driver.c: In function `qc_v4l_open':
qc-driver.c:1950: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.74/build/include/linux/module.h:481)
qc-driver.c:1990: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.74/build/include/linux/module.h:493)
qc-driver.c: In function `qc_v4l_close':
qc-driver.c:2031: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.74/build/include/linux/module.h:493)
qc-driver.c: At top level:
qc-driver.c:2543: unknown field `initialize' specified in initializer
qc-driver.c:2543: warning: initialization makes integer from pointer without a cast
qc-driver.c:2544: unknown field `open' specified in initializer
qc-driver.c:2544: warning: initialization from incompatible pointer type
qc-driver.c:2545: unknown field `close' specified in initializer
qc-driver.c:2546: unknown field `read' specified in initializer
qc-driver.c:2546: warning: initialization makes integer from pointer without a cast
qc-driver.c:2547: unknown field `write' specified in initializer
qc-driver.c:2547: warning: missing braces around initializer
qc-driver.c:2547: warning: (near initialization for `qc_v4l_template.lock')
qc-driver.c:2547: warning: initialization makes integer from pointer without a cast
qc-driver.c:2548: unknown field `ioctl' specified in initializer
qc-driver.c:2548: warning: initialization makes integer from pointer without a cast
qc-driver.c:2548: initializer element is not computable at load time
qc-driver.c:2548: (near initialization for `qc_v4l_template.devfs_name[0]')
qc-driver.c:2549: initializer element is not constant
qc-driver.c:2549: (near initialization for `qc_v4l_template.devfs_name')
qc-driver.c:2549: unknown field `mmap' specified in initializer
qc-driver.c:2549: warning: excess elements in struct initializer
qc-driver.c:2549: warning: (near initialization for `qc_v4l_template')
qc-driver.c:2550: unknown field `poll' specified in initializer
qc-driver.c:2550: warning: excess elements in struct initializer
qc-driver.c:2550: warning: (near initialization for `qc_v4l_template')
qc-driver.c:2567: warning: initialization from incompatible pointer type
qc-driver.c:2568: warning: initialization from incompatible pointer type
qc-driver.c: In function `qc_usb_probe':
qc-driver.c:2756: warning: assignment from incompatible pointer type
qc-driver.c:2771: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.74/build/include/linux/module.h:481)
qc-driver.c:2774: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.74/build/include/linux/module.h:493)
qc-driver.c: In function `qc_usb_disconnect':
qc-driver.c:2813: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.74/build/include/linux/module.h:481)
qc-driver.c:2837: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.74/build/include/linux/module.h:493)
make: *** [qc-driver.o] Erreur 1
Avez vous une solution ?