• # erreur lors du scripte

    Posté par . En réponse au message webcam quickcam express et kernel 2.6.16. Évalué à 1.

    sb/qc-driver.c
    /home/jim/cam/qc-usb/qc-driver.c:3031: error: unknown field 'owner' specified i n initializer
    /home/jim/cam/qc-usb/qc-driver.c:3031: warning: initialization from incompatibl e pointer type
    make[2]: *** [/home/jim/cam/qc-usb/qc-driver.o] Erreur 1
    make[1]: *** [_module_/home/jim/cam/qc-usb] Erreur 2
    make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.16-1-k7 »
    make: *** [quickcam.ko] Erreur 2
    ls: quickcam.ko: Aucun fichier ou répertoire de ce type
    [!] Looks like the driver compilation failed.
    Did you get any error messages above?
    If asking for help, show what error messages you got.
    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 --->


    /home/jim/cam/qc-usb/.tmp_qc-driver.o /home/jim/cam/qc-usb/qc-driver.c
    /home/jim/cam/qc-usb/qc-driver.c:3031: error: unknown field 'owner' specified in initializer
    /home/jim/cam/qc-usb/qc-driver.c:3031: warning: initialization from incompatible pointer type
    make[2]: *** [/home/jim/cam/qc-usb/qc-driver.o] Erreur 1
    make[1]: *** [_module_/home/jim/cam/qc-usb] Erreur 2
    make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.16-1-k7 »
    make: *** [quickcam.ko] Erreur 2
    === Leaving root mode ===
    [!] Module install failed to /lib/modules/2.6.16-1-k7/misc/quickcam.ko
    WARNING: If you press Enter, I'll try to continue anyway,
    but this probably will fail. You SHOULD press Ctrl+C now.