==> Going to the source directory... ==> Using sed with file: Makefile ==> Configuring... ==> Compiling... 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/2.6.18-fw1/build SUBDIRS=/var/tmp/fst/src/spca5xx-20060501 CC=cc modules make[1]: Entering directory `/usr/src/linux-2.6.18-fw1' CC [M] /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.o CC [M] /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spcadecoder.o /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spcadecoder.c: In function 'fun_D': /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spcadecoder.c:809: warning: value computed is not used /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'spca5xx_open': /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:2392: warning: implicit declaration of function 'video_devdata' /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:2392: warning: initialization makes pointer from integer without a cast /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:2397: warning: implicit declaration of function 'video_get_drvdata' /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:2397: warning: initialization makes pointer from integer without a cast /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'spca5xx_close': /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:2487: warning: initialization makes pointer from integer without a cast /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'spca5xx_do_ioctl': /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:2547: warning: initialization makes pointer from integer without a cast /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'spca5xx_ioctl': /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3091: warning: implicit declaration of function 'video_usercopy' /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'spca5xx_read': /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3110: warning: initialization makes pointer from integer without a cast /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'spca5xx_mmap': /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3209: warning: initialization makes pointer from integer without a cast /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c: At top level: /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3261: error: variable 'spca50x_template' has initializer but incomplete type /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3262: error: unknown field 'owner' specified in initializer /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3262: warning: excess elements in struct initializer /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3262: warning: (near initialization for 'spca50x_template') /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3263: error: unknown field 'name' specified in initializer /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3263: warning: excess elements in struct initializer /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3263: warning: (near initialization for 'spca50x_template') /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3264: error: unknown field 'type' specified in initializer /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3264: warning: excess elements in struct initializer /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3264: warning: (near initialization for 'spca50x_template') /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3265: error: unknown field 'hardware' specified in initializer /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3265: warning: excess elements in struct initializer /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3265: warning: (near initialization for 'spca50x_template') /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3266: error: unknown field 'fops' specified in initializer /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3266: warning: excess elements in struct initializer /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3266: warning: (near initialization for 'spca50x_template') /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3268: error: unknown field 'release' specified in initializer /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3268: error: 'video_device_release' undeclared here (not in a function) /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3268: warning: excess elements in struct initializer /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3268: warning: (near initialization for 'spca50x_template') /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3270: error: unknown field 'minor' specified in initializer /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3270: warning: excess elements in struct initializer /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3270: warning: (near initialization for 'spca50x_template') /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'cd_to_spca50x': /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3338: warning: implicit declaration of function 'to_video_device' /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3338: warning: initialization makes pointer from integer without a cast /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3339: warning: return makes pointer from integer without a cast /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'spca50x_create_sysfs': /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:3448: warning: implicit declaration of function 'video_device_create_file' /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'spca5xx_probe': /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:5504: warning: implicit declaration of function 'video_device_alloc' /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:5504: warning: assignment makes pointer from integer without a cast /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid application of 'sizeof' to incomplete type 'struct video_device' /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid application of 'sizeof' to incomplete type 'struct video_device' /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid application of 'sizeof' to incomplete type 'struct video_device' /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:5509: error: dereferencing pointer to incomplete type /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:5511: warning: implicit declaration of function 'video_set_drvdata' /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:5516: warning: implicit declaration of function 'video_register_device' /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: 'VFL_TYPE_GRABBER' undeclared (first use in this function) /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: (Each undeclared identifier is reported only once /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: for each function it appears in.) /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:5545: error: dereferencing pointer to incomplete type /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:5546: warning: implicit declaration of function 'video_device_release' /var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.c:5548: warning: implicit declaration of function 'video_unregister_device' make[2]: *** [/var/tmp/fst/src/spca5xx-20060501/drivers/usb/spca5xx.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [_module_/var/tmp/fst/src/spca5xx-20060501] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.18-fw1' make: *** [default] Error 2