编译spca5xx-20051105的问题(= 已解决 =)

声卡/显卡/打印机/USB设备等硬件问题(网卡问题请发上面的网卡板块)
回复
头像
alex_3515
帖子: 94
注册时间: 2005-09-01 9:45
送出感谢: 0
接收感谢: 0
联系:

编译spca5xx-20051105的问题(= 已解决 =)

#1

帖子 alex_3515 » 2005-11-25 17:13

make 信息如下:

fll@aircrift:~/spca5xx-20051105$ make
Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/fll/spca5xx-20051105 CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.12-10-686'
CC [M] /home/fll/spca5xx-20051105/drivers/usb/spca5xx.o
In file included from /home/fll/spca5xx-20051105/drivers/usb/spca5xx.c:787:
/home/fll/spca5xx-20051105/drivers/usb/pac207.h: 在函数 ‘pac207_start’ 中:
/home/fll/spca5xx-20051105/drivers/usb/pac207.h:161: 警告:ISO C90 不允许混合使用声明和代码
/home/fll/spca5xx-20051105/drivers/usb/spca5xx.c: 在函数 ‘spca50x_configure’ 中:
/home/fll/spca5xx-20051105/drivers/usb/spca5xx.c:5236: 警告:‘defaultpipe’ may be used uninitialized in this function
/home/fll/spca5xx-20051105/drivers/usb/spca5xx.c:5235: 警告:‘defaultrows’ may be used uninitialized in this function
/home/fll/spca5xx-20051105/drivers/usb/spca5xx.c:5234: 警告:‘defaultcols’ may be used uninitialized in this function

CC [M] /home/fll/spca5xx-20051105/drivers/usb/spcadecoder.o
LD [M] /home/fll/spca5xx-20051105/spca5xx.o
Building modules, stage 2.
MODPOST
CC /home/fll/spca5xx-20051105/spca5xx.mod.o
LD [M] /home/fll/spca5xx-20051105/spca5xx.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-10-686'


sudo make install 没有什么问题

运行$ modprobe spca5xx
WARNING: Error inserting videodev (/lib/modules/2.6.12-10-686/kernel/drivers/media/video/videodev.ko): Operation not permitted
FATAL: Error inserting spca5xx (/lib/modules/2.6.12-10-686/kernel/drivers/usb/media/spca5xx/spca5xx.ko): Operation not permitted


不知道为何?
上次由 alex_3515 在 2005-11-29 17:47,总共编辑 1 次。
*** 物量无穷寸无止 ***
头像
laborer
帖子: 1016
注册时间: 2005-10-25 11:15
送出感谢: 0
接收感谢: 1 次
联系:

#2

帖子 laborer » 2005-11-25 18:00

前面编译没有问题,后边modprobe是不是忘了sudo?
hreiser@oakland:~$ killall -9 wife
police@oakland:~$ sudo find / -user hreiser
court@oakland:~$ sudo mv /home/hreiser /jail/
court@oakland:~$ sudo usermod -d /jail/hreiser -s "/usr/sbin/chroot /jail/" hreiser
回复

回到 “常用硬件支持”