|
参考http://www.linuxdiyf.com/bbs/thread-69684-1-1.html
http://www.linuxdiyf.com/bbs/vie ... hlight=%C9%E3%CF%F1
http://hi.baidu.com/sysos/blog/item/3a3c3c6d1d9a21fb42169450.html
我按照网上很多资料在终端输入 lsusb 出现
Bus 001 Device 003: ID 0c45:62c0 Microdia Pavilion Webcam
在网上下的gspcav1-20071224.tar.gz
[root@localhost ~]# tar -zxvf gspcav1-20071224.tar.gz
[root@localhost ~]# cd gspcav1-*
[root@localhost gspcav1-20071224]# make
make -C /lib/modules/`uname -r`/build SUBDIRS=/root/gspcav1-20071224 CC=cc modules
make[1]: Entering directory `/usr/src/kernels/2.6.27.5-117.fc10.i686'
CC [M] /root/gspcav1-20071224/gspca_core.o
/root/gspcav1-20071224/gspca_core.c:54:27: 错误:asm/semaphore.h:没有那个文件或目录
/root/gspcav1-20071224/gspca_core.c: 在函数‘spca5xx_ioctl’中:
/root/gspcav1-20071224/gspca_core.c:2463: 错误:隐式声明函数‘video_usercopy’
/root/gspcav1-20071224/gspca_core.c: 在文件层:
/root/gspcav1-20071224/gspca_core.c:2609: 错误:初始值设定项里有未知的字段‘owner’
/root/gspcav1-20071224/gspca_core.c:2609: 警告:从不兼容的指针类型初始化
/root/gspcav1-20071224/gspca_core.c:2611: 错误:初始值设定项里有未知的字段‘type’
/root/gspcav1-20071224/gspca_core.c: 在函数‘spca50x_create_sysfs’中:
/root/gspcav1-20071224/gspca_core.c:2769: 错误:隐式声明函数‘video_device_create_file’
/root/gspcav1-20071224/gspca_core.c:2780: 错误:隐式声明函数‘video_device_remove_file’
/root/gspcav1-20071224/gspca_core.c: 在函数‘spca5xx_probe’中:
/root/gspcav1-20071224/gspca_core.c:4301: 错误:赋值时类型不兼容
make[2]: *** [/root/gspcav1-20071224/gspca_core.o] 错误 1
make[1]: *** [_module_/root/gspcav1-20071224] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.27.5-117.fc10.i686'
make: *** [default] 错误 2
[root@localhost gspcav1-20071224]#
紧急求助,在线找了2天资料了,在线等答案,哪位大大知道的话请告诉我,感激不尽 |
|