Bonjour à tous ...
Apres divers essais infructueux concernant la compilation du module pwc.ko
par cette methode (
http://www.saillard.org/linux/pwc/INSTALL.fr ) sous
Fedora Core 5, noyau 2.6.18-1.2239.fc5, GCC 4.1.1, j'ai les sources
dans /usr/src... et installer le kernel-dev...mais je bute toujours sur ces
erreurs quand je tape aussi bien en root que user:
[root@gerard pwc-10.0.11]# make
Make -C /lib/modules/2.6.18-1.2239.fc5/source
SUBDIRS=/home/Gerard/Desktop/pwc-10.0.11 modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2239.fc5-i686'
CC [M] /home/Gerard/Desktop/pwc-10.0.11/pwc-if.o
Dans le fichier inclus à partir
de /home/Gerard/Desktop/pwc-10.0.11/pwc.h:28,
à partir de /home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:69:
include/linux/config.h:6:2: attention : #warning Including config.h is
deprecated.
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:164: erreur:
variable 'pwc_template' has initializer but incomplete type
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:165: erreur: unknown field 'owner'
specified in initializer
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:165: attention : éléments en excès
dans l'initialisation de la structure
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:165: attention : (near
initialization for 'pwc_template')
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:166: erreur: unknown field 'name'
specified in initializer
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:166: attention : éléments en excès
dans l'initialisation de la structure
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:166: attention : (near
initialization for 'pwc_template')
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:167: erreur: unknown field 'type'
specified in initializer
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:167: attention : éléments en excès
dans l'initialisation de la structure
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:167: attention : (near
initialization for 'pwc_template')
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:168: erreur: unknown
field 'hardware' specified in initializer
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:168: attention : éléments en excès
dans l'initialisation de la structure
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:168: attention : (near
initialization for 'pwc_template')
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:169: erreur: unknown
field 'release' specified in initializer
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:169:
erreur: 'video_device_release' undeclared here (not in a function)
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:169: attention : éléments en excès
dans l'initialisation de la structure
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:169: attention : (near
initialization for 'pwc_template')
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:170: erreur: unknown field 'fops'
specified in initializer
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:170: attention : éléments en excès
dans l'initialisation de la structure
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:170: attention : (near
initialization for 'pwc_template')
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:171: erreur: unknown field 'minor'
specified in initializer
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:171: attention : éléments en excès
dans l'initialisation de la structure
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:171: attention : (near
initialization for 'pwc_template')
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c: In function 'cd_to_pwc':
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:981: erreur: implicit declaration
of function 'to_video_device'
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:981: attention : initialization
makes pointer from integer without a cast
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:982: erreur: implicit declaration
of function 'video_get_drvdata'
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:982: attention : return makes
pointer from integer without a cast
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c: In
function 'pwc_create_sysfs_files':
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1024: attention : initialization
makes pointer from integer without a cast
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1026: erreur: implicit declaration
of function 'video_device_create_file'
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c: In
function 'pwc_remove_sysfs_files':
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1032: attention : initialization
makes pointer from integer without a cast
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1034: erreur: implicit declaration
of function 'video_device_remove_file'
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c: In function 'pwc_video_open':
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1074: erreur: implicit declaration
of function 'video_devdata'
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1074: attention : initialization
makes pointer from integer without a cast
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1079: erreur: déréférencement d'un
pointeur de type incomplet
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c: In function 'pwc_video_close':
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1187: erreur: déréférencement d'un
pointeur de type incomplet
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c: In function 'pwc_video_read':
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1247: erreur: déréférencement d'un
pointeur de type incomplet
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c: In function 'pwc_video_poll':
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1311: erreur: déréférencement d'un
pointeur de type incomplet
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c: In function 'pwc_video_ioctl':
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1327: erreur: implicit declaration
of function 'video_usercopy'
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c: In function 'pwc_video_mmap':
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1340: erreur: déréférencement d'un
pointeur de type incomplet
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c: In function 'usb_pwc_probe':
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1648: erreur: implicit declaration
of function 'video_device_alloc'
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1648: attention : assignment makes
pointer from integer without a cast
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1655: erreur: invalid application
of 'sizeof' to incomplete type 'struct video_device'
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1655: erreur: invalid application
of 'sizeof' to incomplete type 'struct video_device'
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1655: erreur: invalid application
of 'sizeof' to incomplete type 'struct video_device'
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1656: erreur: déréférencement d'un
pointeur de type incomplet
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1657: erreur: déréférencement d'un
pointeur de type incomplet
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1658: erreur: déréférencement d'un
pointeur de type incomplet
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1659: erreur: implicit declaration
of function 'video_set_drvdata'
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1682: erreur: déréférencement d'un
pointeur de type incomplet
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1683: erreur: implicit declaration
of function 'video_register_device'
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1683: erreur: 'VFL_TYPE_GRABBER'
undeclared (first use in this function)
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1683: erreur: (Each undeclared
identifier is reported only once
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1683: erreur: for each function it
appears in.)
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1686: erreur: implicit declaration
of function 'video_device_release'
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1691: erreur: déréférencement d'un
pointeur de type incomplet
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c: In function 'usb_pwc_disconnect':
/home/Gerard/Desktop/pwc-10.0.11/pwc-if.c:1745: erreur: implicit declaration
of function 'video_unregister_device'
make[2]: *** [/home/Gerard/Desktop/pwc-10.0.11/pwc-if.o] Erreur 1
make[1]: *** [_module_/home/Gerard/Desktop/pwc-10.0.11] Erreur 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2239.fc5-i686'
make: *** [all] Erreur 2
Si d'autres personnes ont reussi à le compilé faites moi signe ca
m'interresse...et si vous avez une petite idée de la chose ca m'aiderait
bien.....
**** Bonnes fêtes de fin d'année à toutes et tous... ****