[SLE] PWC webcam-driver
From: Koenraad Lelong (k.lelong_at_ace-electronics.be)
Date: 03/31/05
- Previous message: Patrick Shanahan: "Re: [SLE] numeric keypad "." instead of ",""
- Next in thread: Erik Jakobsen: "Re: [SLE] PWC webcam-driver"
- Reply: Erik Jakobsen: "Re: [SLE] PWC webcam-driver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Patrick Shanahan: "Re: [SLE] numeric keypad "." instead of ",""
- Next in thread: Erik Jakobsen: "Re: [SLE] PWC webcam-driver"
- Reply: Erik Jakobsen: "Re: [SLE] PWC webcam-driver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: Urgent C Questions
... int, not void. ... Then you need to turn up the warning level on QuickC.
... 3 missing prototype for 'main' ... stdio.h contains the declaration
for printf: ... (comp.lang.c) - Re: [SLE] compile problem -- WebCam
... > the archive and issue the make command. ... > declaration isn't
a prototype ... > definition has no type or storage class ... (SuSE) - Re: [SLE] PWC webcam-driver
... > declaration isn't a prototype ... > definition has no type or
storage class ... > compiler the kernel had been compiled with. ... (SuSE) - Re: General question
... declaration for, it assumed that it was a function returning an int ...
The first true C standard, ANSI/ISO of 1989 and 1990, changed things. ... Its prototype
is: ... (comp.lang.c) - 2.6.17.8-rt8: Compile Error in module realtime-lsm/realcap.c and misdn/avm_fritz.c - err
... I'm not a programmer at all, but I tried to compile a new kernel due to ...
4837 int cond_resched_hardirq ... to 'int' in declaration of 'MODULE_PARM' ...
no type or storage class ... (Linux-Kernel)