Kernel version :2.6.35.30
Crosstool :arm-linux-gcc-4.3.2
Board :FS2410
System :ubuntu 10.8
Source :gspcav1-20071224
错误消息如下:
CC drivers/media/video/gspcav1/gspca_core.o
In file included from drivers/media/video/gspcav1/gspca_core.c:847:
drivers/media/video/gspcav1/utils/spcausb.h: In function 'spca5xxRegRead':
drivers/media/video/gspcav1/utils/spcausb.h:95: error: implicit declaration of function 'info'
drivers/media/video/gspcav1/utils/spcausb.h: In function 'spca_set_interface':
drivers/media/video/gspcav1/utils/spcausb.h:278: error: implicit declaration of function 'warn'
In file included from drivers/media/video/gspcav1/gspca_core.c:855:
drivers/media/video/gspcav1/Sunplus-jpeg/sp5xxfw2.h: In function 'sp5xxfw2_init':
drivers/media/video/gspcav1/Sunplus-jpeg/sp5xxfw2.h:122: error: called object 'info' is not a function
drivers/media/video/gspcav1/Sunplus-jpeg/sp5xxfw2.h:136: error: called object 'info' is not a function
drivers/media/video/gspcav1/Sunplus-jpeg/sp5xxfw2.h:141: error: called object 'info' is not a function
drivers/media/video/gspcav1/Sunplus-jpeg/sp5xxfw2.h:148: error: called object 'info' is not a function
drivers/media/video/gspcav1/Sunplus-jpeg/sp5xxfw2.h:176: error: called object 'info' is not a function
drivers/media/video/gspcav1/Sunplus-jpeg/sp5xxfw2.h: In function 'sp5xxfw2_start':
drivers/media/video/gspcav1/Sunplus-jpeg/sp5xxfw2.h:214: error: called object 'info' is not a function
drivers/media/video/gspcav1/Sunplus-jpeg/sp5xxfw2.h:230: error: called object 'info' is not a function
drivers/media/video/gspcav1/gspca_core.c: In function 'spca5xx_ioctl':
drivers/media/video/gspcav1/gspca_core.c:2465: error: implicit declaration of function 'video_usercopy'
drivers/media/video/gspcav1/gspca_core.c: At top level:
drivers/media/video/gspcav1/gspca_core.c:2611: error: unknown field 'owner' specified in initializer
drivers/media/video/gspcav1/gspca_core.c:2611: warning: initialization from incompatible pointer type
drivers/media/video/gspcav1/gspca_core.c:2613: error: unknown field 'type' specified in initializer
drivers/media/video/gspcav1/gspca_core.c:2617: warning: initialization from incompatible pointer type
drivers/media/video/gspcav1/gspca_core.c: In function 'spca50x_create_sysfs':
drivers/media/video/gspcav1/gspca_core.c:2771: error: implicit declaration of function 'video_device_create_file'
drivers/media/video/gspcav1/gspca_core.c:2782: error: implicit declaration of function 'video_device_remove_file'
drivers/media/video/gspcav1/gspca_core.c: In function 'spca5xx_probe':
drivers/media/video/gspcav1/gspca_core.c:4303: error: incompatible types when assigning to type 'struct device' from type 'struct device *'
make[4]: *** [drivers/media/video/gspcav1/gspca_core.o] 错误? 1
make[3]: *** [drivers/media/video/gspcav1] 错误? 2
make[2]: *** [drivers/media/video] 错误 2
make[1]: *** [drivers/media] 错误 2
make: *** [drivers] 错误 2
------解决方案--------------------
跟我的出错信息完全一样。楼主这问题解决了么?
------解决方案--------------------
貌似2.6.22以上的内核不支持gspcav1-20071224。
------解决方案--------------------
谁弄过35内核的云台控制驱动的移植。求赐教
------解决方案--------------------
解释得很详细。赞!