[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: make kernelllinks ?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David, j'ai exactement le même problème de compatibilité entre spca5xx
et em28xx.

J'ai vu que dans le Makefile de v4l-dvb/v4l (dernière version obtenue
par hg clone http://linuxtv.org/hg/~mrechberger/v4l-dvb), on pouvait faire :

make kernel-links

ce qui modifiait des fichiers .h dans l'arborescence du noyau
(/usr/src/linux-headers-2.6.18-2-k7) en créant des liens symboliques
vers les sources de v4l (/usr/src/v4l-dvb/v4l/).

J'imagine que c'est de cela dont te parlait le développeur de em28xx.

Je pensais qu'ensuite une recompilation du module spca5xx utiliserait la
partie video apportée par em28xx et que cela résoudrait les problèmes de
compatibilité. Mais en refaisant un :

module-assistant build spca5xx

j'ai maintenant des erreurs de compilation (cf. ci-dessous). Je ne sais
pas trop comment avancer à partir de là...

PS: je ne suis pas abonné à debian-user-french, merci de me répondre en
privé si quelqu'un a une solution.

__cut log du module-assistant build spca5xx__

# Build the module
/usr/bin/make -C /usr/src/modules/spca5xx KERNEL_VERSION=2.6.18-2-k7
KERNELDIR=/lib/modules/2.6.18-2-k7/build
make[2]: entrant dans le répertoire « /usr/src/modules/spca5xx »
   Building SPCA5XX driver for 2.5/2.6 kernel.
   Remember: you must have read/write access to your kernel source tree.
/usr/bin/make -C /lib/modules/2.6.18-2-k7/build
SUBDIRS=/usr/src/modules/spca5xx CC=gcc-4.1 modules
make[3]: entrant dans le répertoire « /usr/src/linux-headers-2.6.18-2-k7 »
  CC [M]  /usr/src/modules/spca5xx/drivers/usb/spca5xx.o
  CC [M]  /usr/src/modules/spca5xx/drivers/usb/spcadecoder.o
In file included from include/linux/videodev.h:8,
                 from /usr/src/modules/spca5xx/drivers/usb/spca5xx.h:12,
                 from /usr/src/modules/spca5xx/drivers/usb/spcadecoder.h:5,
                 from /usr/src/modules/spca5xx/drivers/usb/spcadecoder.c:36:
include/linux/videodev2.h:19:5: warning: "LINUX_VERSION_CODE" is not defined
include/linux/videodev2.h:19:26: warning: "KERNEL_VERSION" is not defined
include/linux/videodev2.h:19:40: error: missing binary operator before
token "("
include/linux/videodev2.h:22:5: warning: "LINUX_VERSION_CODE" is not defined
include/linux/videodev2.h:22:26: warning: "KERNEL_VERSION" is not defined
include/linux/videodev2.h:22:40: error: missing binary operator before
token "("
include/linux/videodev2.h:77:5: warning: "LINUX_VERSION_CODE" is not defined
include/linux/videodev2.h:77:27: warning: "KERNEL_VERSION" is not defined
include/linux/videodev2.h:77:41: error: missing binary operator before
token "("
include/linux/videodev2.h:90:5: warning: "LINUX_VERSION_CODE" is not defined
include/linux/videodev2.h:90:26: warning: "KERNEL_VERSION" is not defined
include/linux/videodev2.h:90:40: error: missing binary operator before
token "("
include/linux/videodev2.h:114:5: warning: "LINUX_VERSION_CODE" is not
defined
include/linux/videodev2.h:114:26: warning: "KERNEL_VERSION" is not defined
include/linux/videodev2.h:114:40: error: missing binary operator before
token "("
include/linux/videodev2.h:119:5: warning: "LINUX_VERSION_CODE" is not
defined
include/linux/videodev2.h:119:26: warning: "KERNEL_VERSION" is not defined
include/linux/videodev2.h:119:40: error: missing binary operator before
token "("
include/linux/videodev2.h:124:5: warning: "LINUX_VERSION_CODE" is not
defined
include/linux/videodev2.h:124:27: warning: "KERNEL_VERSION" is not defined
include/linux/videodev2.h:124:41: error: missing binary operator before
token "("
In file included from /usr/src/modules/spca5xx/drivers/usb/spca5xx.h:12,
                 from /usr/src/modules/spca5xx/drivers/usb/spcadecoder.h:5,
                 from /usr/src/modules/spca5xx/drivers/usb/spcadecoder.c:36:
include/linux/videodev.h:16:5: warning: "LINUX_VERSION_CODE" is not defined
include/linux/videodev.h:16:26: warning: "KERNEL_VERSION" is not defined
include/linux/videodev.h:16:40: error: missing binary operator before
token "("
/usr/src/modules/spca5xx/drivers/usb/spcadecoder.c: In function ‘fun_D’:
/usr/src/modules/spca5xx/drivers/usb/spcadecoder.c:809: warning: value
computed is not used
make[4]: *** [/usr/src/modules/spca5xx/drivers/usb/spcadecoder.o] Erreur 1
make[3]: *** [_module_/usr/src/modules/spca5xx] Erreur 2
make[3]: quittant le répertoire « /usr/src/linux-headers-2.6.18-2-k7 »
make[2]: *** [default] Erreur 2
make[2]: quittant le répertoire « /usr/src/modules/spca5xx »
make[1]: *** [binary-modules] Erreur 2
make[1]: quittant le répertoire « /usr/src/modules/spca5xx »
make: *** [kdist_build] Erreur 2

__cut log du module-assistant build spca5xx__
- --
Gérald Sédrati-Dinet
Président de la FFII France et vice-président de la FFII
http://www.ffii.fr/
http://www.ffii.org/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFVdMg8914Z7pT+T8RAgJqAJ0S7hS9D7UddVMshr5AAnbUSbmdAgCfUdtK
kL/pX1TB1iQgv3NJdNz2e9c=
=XQsz
-----END PGP SIGNATURE-----



Reply to: