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

Re: [Sheflug] usb driver PCline PCL w300



Hi Chris
> 
> whereas the first received header dates your message as the 22nd at 14:06.
> 
> Cheers,

Thanks for that, will need to keep a check on it!

Found that the PCline Webcam I purchased for £ 15.00 has a divio nw802
chip set, looked over the net to find download from

 nw802.sourceforge.net

having trouble with the makefile

Installed mandrake kernel file:/usr/src/linux-2.4.21-0.13mdk

here is the makefile

# GCC stuff
GCCLIB=`dirname \`gcc -print-libgcc-file-name\``
INCLUDES=-I /usr/src/linux/include -I ${GCCLIB}/include/ -include
/usr/src/linux/include/linux/modversions.h
CFLAGS=-O3 -D__KERNEL__ -DMODULE -Wall -DMODVERSIONS -nostdinc #
-march=athlon -mcpu=athlon
CC=gcc

OBJ=nw802.o usbvideo.o

# Build rules

all: $(OBJ)

usbvideo.o: usbvideo.c usbvideo.h
        $(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $<

nw802.o: nw802.c usbvideo.o
        $(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $<

clean:
        rm -f *.so *.o *~ *.swp $(OBJ)


however +++++++++++++++++++++++++++++++++++++++++++++

nw802.c:89: parse error before "RingQueue_t"
nw802.c:89: warning: no semicolon at end of struct or union
nw802.c:90: warning: type defaults to `int' in declaration of
`rqBitReader_t'
nw802.c:90: warning: data definition has no type or storage class
nw802.c:153:17: invalid preprocessing directive #{
nw802.c:154:17: invalid preprocessing directive #{
nw802.c:156:17: invalid preprocessing directive #{
nw802.c:157:17: invalid preprocessing directive #{
nw802.c:176: parse error before '*' token
nw802.c:176: warning: type defaults to `int' in declaration of
`nw802_cams'
nw802.c:176: warning: data definition has no type or storage class
nw802.c:201: parse error before '*' token
nw802.c: In function `rqBR_init':
nw802.c:203: `br' undeclared (first use in this function)
nw802.c:203: (Each undeclared identifier is reported only once
nw802.c:203: for each function it appears in.)
nw802.c:204: `rq' undeclared (first use in this function)
nw802.c: At top level:
nw802.c:212: parse error before '*' token
nw802.c: In function `rqBR_readBit':
nw802.c:215: `br' undeclared (first use in this function)
nw802.c: At top level:
nw802.c:228: parse error before '*' token
nw802.c: In function `rqBR_readBits':
nw802.c:231: `br' undeclared (first use in this function)
nw802.c:231: `n' undeclared (first use in this function)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
            |
~~~~~~~~~~~~~~~~~~~~~~~~~~~
nw802.c:948: warning: passing arg 1 of `usbvideo_register' from
incompatible pointer type
nw802.c:948: too few arguments to function `usbvideo_register'
nw802.c: In function `nw802_exit':
nw802.c:962: warning: passing arg 1 of `usbvideo_Deregister' from
incompatible pointer type
make: *** [nw802.o] Error 1

Run into a little problem when it tries to make nw802.o

help !!!


Regard

fred dodd
 
Could anyone give me info on how to setup the nw80.c file

My web cam from usbview reports

Vendor ID 055f

Product ID d001
.
-- 
fred <fred.dodd [at] btinternet.com>

___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.