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
不知道为何?
编译spca5xx-20051105的问题(= 已解决 =)
- alex_3515
- 帖子: 94
- 注册时间: 2005-09-01 9:45
- 联系:
- laborer
- 帖子: 1016
- 注册时间: 2005-10-25 11:15
- 联系: