[SLE] PWC webcam-driver

From: Koenraad Lelong (k.lelong_at_ace-electronics.be)
Date: 03/31/05

  • Next message: joe lerch: "[SLE] floppy problems 9.1"
    Date: Thu, 31 Mar 2005 11:41:58 +0200
    To: Suse mailing list <suse-linux-e@suse.com>
    
    

    Hi,
    I downloaded the last version (pwc-10.0.6a) from
    http://www.saillard.org/linux/pwc/files/ and tried to compile it for
    SuSE 9.1 but I get errors.
    I installed the kernel sources, did a "make oldconfig" (is make
    cloneconfig better ?), had to make a link to a symbols file (don't
    remember exactly).
    That's what is output :
    kllap:/home/koenraad/webcam/pwc-10.0.6a # make
    make -C /lib/modules/2.6.5-7.151-default/source
    SUBDIRS=/home/koenraad/webcam/pwc-10.0.6a modules
    make[1]: Entering directory `/usr/src/linux-2.6.5-7.151'
       CC [M] /home/koenraad/webcam/pwc-10.0.6a/pwc-if.o
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c: In function `pwc_isoc_cleanup':
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:937: warning: implicit
    declaration of function `usb_kill_urb'
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c: At top level:
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2081: error: parse error
    before numeric constant
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2081: warning: type defaults
    to `int' in declaration of `module_param'
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2081: warning: function
    declaration isn't a prototype
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2081: warning: data
    definition has no type or storage class
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2082: error: parse error
    before "int"
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2082: warning: type defaults
    to `int' in declaration of `module_param'
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2082: warning: function
    declaration isn't a prototype
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2082: warning: data
    definition has no type or storage class
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2083: error: parse error
    before "int"
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2083: warning: type defaults
    to `int' in declaration of `module_param'
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2083: warning: function
    declaration isn't a prototype
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2083: warning: data
    definition has no type or storage class
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2084: error: parse error
    before "int"
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2084: warning: type defaults
    to `int' in declaration of `module_param'
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2084: warning: function
    declaration isn't a prototype
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2084: warning: data
    definition has no type or storage class
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2085: error: parse error
    before "int"
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2085: warning: type defaults
    to `int' in declaration of `module_param_named'
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2085: warning: function
    declaration isn't a prototype
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2085: warning: data
    definition has no type or storage class
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2086: error: parse error
    before "int"
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2086: warning: type defaults
    to `int' in declaration of `module_param'
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2086: warning: function
    declaration isn't a prototype
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2086: warning: data
    definition has no type or storage class
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2087: error: parse error
    before "int"
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2087: warning: type defaults
    to `int' in declaration of `module_param'
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2087: warning: function
    declaration isn't a prototype
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2087: warning: data
    definition has no type or storage class
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2089: error: parse error
    before "int"
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2089: warning: type defaults
    to `int' in declaration of `module_param_array'
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2089: warning: function
    declaration isn't a prototype
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2089: warning: data
    definition has no type or storage class
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2090: error: parse error
    before numeric constant
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2090: warning: type defaults
    to `int' in declaration of `module_param_array'
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2090: warning: function
    declaration isn't a prototype
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2090: warning: data
    definition has no type or storage class
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2077: warning: `leds_nargs'
    defined but not used
    /home/koenraad/webcam/pwc-10.0.6a/pwc-if.c:2079: warning:
    `dev_hint_nargs' defined but not used
    make[2]: *** [/home/koenraad/webcam/pwc-10.0.6a/pwc-if.o] Error 1
    make[1]: *** [_module_/home/koenraad/webcam/pwc-10.0.6a] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.5-7.151'
    make: *** [default] Error 2
    kllap:/home/koenraad/webcam/pwc-10.0.6a #

    I googled, but didn't find much. One thing that might help : my gcc is
    version 3.3.3 (standard installation from DVD). In one message from
    google, I read that the module should be compiled with the same compiler
      the kernel had been compiled with. How do I check this ?
    Any suggestions, pointers ?
    TIA

    -- 
    Met vriendelijke groeten,
    Koenraad Lelong
    R&D Manager
    ACE electronics n.v.
    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: joe lerch: "[SLE] floppy problems 9.1"

    Relevant Pages