From: Stephen K. <ste...@ho...> - 2006-01-11 17:46:51
|
Hello, I've been trying last couple days trying to compile PWC driver for Debian sarge which was upgraded to 2.6 kernel. When I do 'make' following error messages are given. What am I doing wrong? Any help would be greatly appreciated. HearNoEvil:/tmp/pwc-10.0.11# make make -C /lib/modules/2.6.8-2-686/build SUBDIRS=/tmp/pwc-10.0.11 modules make[1]: Entering directory `/usr/src/kernel-headers-2.6.8-2-686' CC [M] /tmp/pwc-10.0.11/pwc-if.o In file included from /tmp/pwc-10.0.11/pwc-uncompress.h:35, from /tmp/pwc-10.0.11/pwc.h:40, from /tmp/pwc-10.0.11/pwc-if.c:69: /tmp/pwc-10.0.11/pwc-ioctl.h:315: error: syntax error before "__le16" /tmp/pwc-10.0.11/pwc-ioctl.h:315: warning: no semicolon at end of struct or union /tmp/pwc-10.0.11/pwc-ioctl.h:316: warning: type defaults to `int' in declaration of `vbandlength' /tmp/pwc-10.0.11/pwc-ioctl.h:316: warning: data definition has no type or storage class /tmp/pwc-10.0.11/pwc-ioctl.h:319: error: syntax error before '}' token /tmp/pwc-10.0.11/pwc-ioctl.h:319: warning: empty declaration /tmp/pwc-10.0.11/pwc-if.c: In function `pwc_video_read': /tmp/pwc-10.0.11/pwc-if.c:1287: error: invalid application of `sizeof' to an incomplete type make[2]: *** [/tmp/pwc-10.0.11/pwc-if.o] Error 1 make[1]: *** [_module_/tmp/pwc-10.0.11] Error 2 make[1]: Leaving directory `/usr/src/kernel-headers-2.6.8-2-686' make: *** [all] Error 2 HearNoEvil:/tmp/pwc-10.0.11# |