[cpia] 2.4.0.test7 cpia-1.1 compile problem..

Samo Gabrovec root@velenje.cx
01 Sep 2000 09:48:03 CEST


Hi.
I was using webcam II pp for a long time, since i got troubles with the cable i
decided to buy a new one.
And peter said that a Trustc@m Lite works so i bought that one. 
Now there`s a liitle change and the change is USB. I have downloaded the
2.4.0.test7 kernel, and i also removed the
# in the make file of cpia so that USB module will be compiled too.
but it doesn`t . as i can see it didn`t came even through the cpia.c . On
2.2.16 it did compile. What should i do?
Which version of cpia is in the 2.4 kernel ? (there were options but in the
cpia readme i read that i shouldn`t include them)
Please help.


Samo Gabrovec
--------
gekko:/download/cpia-1.1/module # make
gcc -c	-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -pipe
-fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=686 -fomit-frame-pointer -fno-strength-reduce -I. -I/usr/src/linux/include -D__KERNEL__ -DMODULE -DCONFIG_VIDEO_CPIA_MODULE -DCONFIG_VIDEO_CPIA_PP_MODULE -DCONFIG_VIDEO_CPIA_PP_DMA -DCONFIG_VIDEO_CPIA_USB_MODULE cpia.c
cpia.c: In function `uvirt_to_kva':
cpia.c:272: invalid operands to binary |
cpia.c: In function `rvmalloc':
cpia.c:313: warning: implicit declaration of function `MAP_NR'
cpia.c:313: invalid type argument of `->'
cpia.c: In function `rvfree':
cpia.c:341: invalid type argument of `->'
make: *** [cpia.o] Error 1
gekko:/download/cpia-1.1/module #	   
------------


-- 
----------------------------------------------------------------
visit http://www.velenje.cx
----------------------------------------------------------------

In /dev/null no one can hear you scream...
----------------------------------------------------------------