• [^] # Re: à lire en premiet

    Posté par . En réponse au message spca5xx recompilation de module. Évalué à 1.

    J'ai repris les choses dans l'ordre mais je me heurte à de sérieuses difficultés. Dans le README, j'ai ceci :

    Before trying to compile the driver, ensure that you've configured your
    kernel, and updated the dependencies:
    'make [config|menuconfig|xconfig]; make dep'.

    mais cette commande ne me donne rien, ou plutôt ceci :

    make: *** Pas de règle pour fabriquer la cible « [config ». Arrêt.
    bash: menuconfig: command not found
    bash: xconfig]: command not found

    Puis j'ai :

    Make sure, when compiling the driver, you use the same version of compiler as
    was used to compile your kernel. Not doing so can create incompatible binaries.

    Ouais je veux bien mais comment je fais pour m'en assurer ? Ensuite, cela ça m'échappe carrément :

    As root, check the output of lsmod for videodev.

    Dans l' INSTALL, on a :

    Module compile outside the kernel tree but need the source of your running
    kernel installed and configured.
    be sure your kernel include usb and v4l stuff

    Kernel 2.6.x
    make clean
    make
    if all goes right as root :
    make install

    To test please use the command line spcaview tool.
    You need libsdl installed with the header from your distro or goto http://www.libsdl.org

    Voilà ce que me donne 'make clean' :

    make clean
    make: *** Pas de règle pour fabriquer la cible « clean ». Arrêt.

    Ce point 'To test please use the command line spcaview tool.', je ne le comprends pas non plus. Comme je l'ai déjà écrit, je ne joue pas dans ma division avec cette affaire de webcam, de module et de compilation. Mais je compte persévérer, surtout avec de l'aide...