usb摄像头;安装驱动好难阿。
$lsusb
Bus 004 Device 004: ID 0c45:613a Microdia
$ apt-get source gspca-source
$ cd /source dir
$ sudo apt-get install build-essential
$ sudo make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/l2007/gspca-01.00.18 CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-21-generic'
scripts/Makefile.build:46: *** CFLAGS was changed in "/home/l2007/gspca-01.00.18/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[1]: *** [_module_/home/l2007/gspca-01.00.18] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-21-generic'
make: *** [default] Error 2
这是怎么会事阿?
各位老大,帮帮我吧,摄像头的问题。
-
- 帖子: 26
- 注册时间: 2007-10-07 12:12
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
-
- 帖子: 26
- 注册时间: 2007-10-07 12:12
-
- 帖子: 47
- 注册时间: 2007-12-30 14:33
Re: 各位老大,帮帮我吧,摄像头的问题。
你确定你在做什么吗?你在编译系统内核. 没有驱动你去下载驱动啊.Nicolsky 写了:usb摄像头;安装驱动好难阿。
$lsusb
Bus 004 Device 004: ID 0c45:613a Microdia
$ apt-get source gspca-source
$ cd /source dir
$ sudo apt-get install build-essential
$ sudo make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/l2007/gspca-01.00.18 CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-21-generic'
scripts/Makefile.build:46: *** CFLAGS was changed in "/home/l2007/gspca-01.00.18/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[1]: *** [_module_/home/l2007/gspca-01.00.18] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-21-generic'
make: *** [default] Error 2
这是怎么会事阿?
源码就编译安装, 执行文件就直接安装了. 一般情况下系统自带驱动.
- hyy_m
- 帖子: 140
- 注册时间: 2008-02-18 16:25
顶一下楼主 我也遇到同样的问题了……某些高手说要对内核头文件进行修改才能编译通过的 我嫌麻烦就没弄了
https://bugs.launchpad.net/ubuntu/+sour ... bug/213762
https://bugs.launchpad.net/ubuntu/+sour ... bug/213762