|
按照网上的贴子下载的spca5xx,make都过不去,出现如下错误,请有经验的人帮帮忙!谢谢!
Compiling drivers/usb/spcadecoder.c
Compiling drivers/usb/spca5xx.c
In file included from /lib/modules/2.4.20-8/build/include/linux/vmalloc.h:8,
from drivers/usb/spca5xx.c:45:
/lib/modules/2.4.20-8/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.20-8/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
drivers/usb/spca5xx.c: In function `spca5xx_mmap':
drivers/usb/spca5xx.c:5632: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
drivers/usb/spca5xx.c:5632: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
drivers/usb/spca5xx.c:5632: too few arguments to function `remap_page_range_R2baf18f2'
drivers/usb/spca5xx.c: At top level:
drivers/usb/spca5xx.c:5675: warning: initialization from incompatible pointer type
drivers/usb/spca5xx.c:8675: warning: initialization from incompatible pointer type
drivers/usb/spca5xx.c:8677: warning: initialization from incompatible pointer type
drivers/usb/spca5xx.c:8678: warning: initialization from incompatible pointer type
drivers/usb/spca5xx.c:8679: warning: braces around scalar initializer
drivers/usb/spca5xx.c:8679: warning: (near initialization for `spca5xx_driver.disconnect')
drivers/usb/spca5xx.c:8679: warning: excess elements in scalar initializer
drivers/usb/spca5xx.c:8679: warning: (near initialization for `spca5xx_driver.disconnect')
make: *** [drivers/usb/spca5xx.o] Error 1 |
|