I am the newbie on debian and sorry for my poor english , i wish you guys can understand what i say
I install debian with kernel 2.4.27 version
and I want to setup my webcam on linux
i choose a driver of spac from
http://mxhaard.free.fr/download.html
because I fail to compile and make for many times
I don't actually know what problem with me now
so I reinstall the debian on my pc again
no rebuild kernel or update kernel yet
just use apt-get to update and upgrade the system
as the web site saying
I go to http://packages.debian.org/unstable/misc/spca5xx-source
and apt-get all required depends and download the deb file
as I dpkg the deb file, the unpacked file are transfered to /usr/src name: spca5xx-source.tar.bz2 QQ" so I unpacked and want to compile it
the instruction says that what i need to do is compile it to produce a moduler file named spcadecoder.o by command: make
but the following error make me don't know how to do or what to do
do any one can help me
pleeeeease ~~
samuel@Hostname: /usr/src/modules/spca5xxsamuel@Hostname:/usr/src/modules/spca5xx$ make
grep: /lib/modules/2.4.27-2-386/build/include/linux/autoconf.h: No such file or directory
grep: /lib/modules/2.4.27-2-386/build/include/linux/autoconf.h: No such file or directory
Compiling drivers/usb/spcadecoder.c
In file included from /usr/include/asm/string.h:8,
from /usr/include/linux/string.h:24,
from drivers/usb/spcadecoder.c:31:
/usr/include/asm-i486/string.h:44: error: syntax error before 'size_t'
/usr/include/asm-i486/string.h: In function 'strncpy':
/usr/include/asm-i486/string.h:58: error: 'src' undeclared (first use in this function)
/usr/include/asm-i486/string.h:58: error: (Each undeclared identifier is reported only once
/usr/include/asm-i486/string.h:58: error: for each function it appears in.)
/usr/include/asm-i486/string.h:58: error: 'dest' undeclared (first use in this function)
/usr/include/asm-i486/string.h:58: error: 'count' undeclared (first use in this function)
/usr/include/asm-i486/string.h: At top level:
/usr/include/asm-i486/string.h:80: error: syntax error before 'size_t'
/usr/include/asm-i486/string.h: In function 'strncat':
/usr/include/asm-i486/string.h:97: error: 'src' undeclared (first use in this function)
/usr/include/asm-i486/string.h:97: error: 'dest' undeclared (first use in this function)
/usr/include/asm-i486/string.h:97: error: 'count' undeclared (first use in this function)
/usr/include/asm-i486/string.h: At top level:
/usr/include/asm-i486/string.h:125: error: syntax error before 'size_t'
/usr/include/asm-i486/string.h: In function 'strncmp':
/usr/include/asm-i486/string.h:143: error: 'cs' undeclared (first use in this function)
/usr/include/asm-i486/string.h:143: error: 'ct' undeclared (first use in this function)
/usr/include/asm-i486/string.h:143: error: 'count' undeclared (first use in this function)
/usr/include/asm-i486/string.h: At top level:
/usr/include/asm-i486/string.h:189: error: syntax error before 'strlen'
/usr/include/asm-i486/string.h:204: error: syntax error before 'size_t'
/usr/include/asm-i486/string.h: In function '__memcpy':
/usr/include/asm-i486/string.h:217: error: 'n' undeclared (first use in this function)
/usr/include/asm-i486/string.h:217: error: 'to' undeclared (first use in this function)
/usr/include/asm-i486/string.h:217: error: 'from' undeclared (first use in this function)
/usr/include/asm-i486/string.h: At top level:
/usr/include/asm-i486/string.h:226: error: syntax error before 'size_t'
/usr/include/asm-i486/string.h: In function '__constant_memcpy':
/usr/include/asm-i486/string.h:229: error: 'n' undeclared (first use in this function)
/usr/include/asm-i486/string.h:229: error: 'to' undeclared (first use in this function)
/usr/include/asm-i486/string.h:232: error: 'from' undeclared (first use in this function)
Assembler messages:
FATAL: can't create drivers/usb/spcadecoder.o: Permission denied
/usr/include/asm-i486/string.h: At top level:
/usr/include/asm-i486/string.h:327: error: syntax error before 'size_t'
/usr/include/asm-i486/string.h:332: error: syntax error before 'size_t'
/usr/include/asm-i486/string.h: In function 'memchr':
/usr/include/asm-i486/string.h:336: error: 'count' undeclared (first use in this function)
/usr/include/asm-i486/string.h:345: error: 'c' undeclared (first use in this function)
/usr/include/asm-i486/string.h:345: error: 'cs' undeclared (first use in this function)
/usr/include/asm-i486/string.h: At top level:
/usr/include/asm-i486/string.h:350: error: syntax error before 'size_t'
/usr/include/asm-i486/string.h: In function '__memset_generic':
/usr/include/asm-i486/string.h:357: error: 'c' undeclared (first use in this function)
/usr/include/asm-i486/string.h:357: error: 's' undeclared (first use in this function)
/usr/include/asm-i486/string.h:357: error: 'count' undeclared (first use in this function)
/usr/include/asm-i486/string.h: At top level:
/usr/include/asm-i486/string.h:370: error: syntax error before 'size_t'
/usr/include/asm-i486/string.h: In function '__constant_c_memset':
/usr/include/asm-i486/string.h:383: error: 'c' undeclared (first use in this function)
/usr/include/asm-i486/string.h:383: error: 'count' undeclared (first use in this function)
/usr/include/asm-i486/string.h:383: error: 's' undeclared (first use in this function)
/usr/include/asm-i486/string.h: At top level:
/usr/include/asm-i486/string.h:390: error: syntax error before 'strnlen'
/usr/include/asm-i486/string.h:390: error: syntax error before 'size_t'
/usr/include/asm-i486/string.h: In function 'strnlen':
/usr/include/asm-i486/string.h:405: error: 's' undeclared (first use in this function)
/usr/include/asm-i486/string.h:405: error: 'count' undeclared (first use in this function)
/usr/include/asm-i486/string.h: At top level:
/usr/include/asm-i486/string.h:419: error: syntax error before 'size_t'
/usr/include/asm-i486/string.h: In function '__constant_c_and_count_memset':
/usr/include/asm-i486/string.h:421: error: 'count' undeclared (first use in this function)
/usr/include/asm-i486/string.h:423: error: 's' undeclared (first use in this function)
/usr/include/asm-i486/string.h:425: error: 'pattern' undeclared (first use in this function)
/usr/include/asm-i486/string.h: At top level:
/usr/include/asm-i486/string.h:478: error: syntax error before 'size_t'
/usr/include/asm-i486/string.h: In function 'memscan':
/usr/include/asm-i486/string.h:480: error: 'size' undeclared (first use in this function)
/usr/include/asm-i486/string.h:481: error: 'addr' undeclared (first use in this function)
/usr/include/asm-i486/string.h:487: error: 'c' undeclared (first use in this function)
/usr/include/asm-i486/string.h:482: error: invalid lvalue in asm output 0
/usr/include/asm-i486/string.h:482: error: invalid lvalue in asm output 1
In file included from drivers/usb/spcadecoder.c:31:
/usr/include/linux/string.h: At top level:
/usr/include/linux/string.h:33: error: syntax error before 'strlcpy'
/usr/include/linux/string.h:33: error: syntax error before 'size_t'
/usr/include/linux/string.h:42: error: syntax error before 'strlcat'
/usr/include/linux/string.h:57: error: syntax error before 'size_t'
In file included from /usr/include/asm-i486/system.h:5,
from /usr/include/asm/system.h:8,
from /usr/include/asm-i486/processor.h:18,
from /usr/include/asm/processor.h:8,
from /usr/include/asm-i486/thread_info.h:17,
from /usr/include/asm/thread_info.h:8,
from /usr/include/linux/thread_info.h:21,
from /usr/include/asm-i486/uaccess.h:9,
from /usr/include/asm/uaccess.h:8,
from drivers/usb/spca5xx.h:11,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/kernel.h:104: error: syntax error before 'size_t'
/usr/include/linux/kernel.h:106: error: syntax error before 'size_t'
/usr/include/linux/kernel.h:108: error: syntax error before 'size_t'
/usr/include/linux/kernel.h:110: error: syntax error before 'size_t'
In file included from /usr/include/asm-i486/uaccess.h:10,
from /usr/include/asm/uaccess.h:8,
from drivers/usb/spca5xx.h:11,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/prefetch.h:58: error: syntax error before 'size_t'
/usr/include/linux/prefetch.h: In function 'prefetch_range':
/usr/include/linux/prefetch.h:62: error: 'addr' undeclared (first use in this function)
/usr/include/linux/prefetch.h:62: error: 'len' undeclared (first use in this function)
In file included from /usr/include/linux/videodev2.h:17,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/time.h: At top level:
/usr/include/linux/time.h:17: error: syntax error before 'time_t'
/usr/include/linux/time.h:19: error: syntax error before '}' token
/usr/include/linux/time.h:23: error: syntax error before 'time_t'
/usr/include/linux/time.h: In function 'timespec_equal':
/usr/include/linux/time.h:49: error: dereferencing pointer to incomplete type
/usr/include/linux/time.h:49: error: dereferencing pointer to incomplete type
/usr/include/linux/time.h:49: error: dereferencing pointer to incomplete type
/usr/include/linux/time.h:49: error: dereferencing pointer to incomplete type
/usr/include/linux/time.h: In function 'get_seconds':
/usr/include/linux/time.h:91: error: invalid use of undefined type 'struct timespec'
/usr/include/linux/time.h: At top level:
/usr/include/linux/time.h:114: error: syntax error before 'time_t'
/usr/include/linux/time.h: In function 'set_normalized_timespec':
/usr/include/linux/time.h:116: error: 'nsec' undeclared (first use in this function)
/usr/include/linux/time.h:118: error: 'sec' undeclared (first use in this function)
/usr/include/linux/time.h:124: error: 'ts' undeclared (first use in this function)
/usr/include/linux/time.h: At top level:
/usr/include/linux/time.h:147: error: field 'it_interval' has incomplete type
/usr/include/linux/time.h:148: error: field 'it_value' has incomplete type
/usr/include/linux/time.h:152: error: field 'it_interval' has incomplete type
/usr/include/linux/time.h:153: error: field 'it_value' has incomplete type
In file included from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/videodev2.h:413: error: field 'timestamp' has incomplete type
In file included from /usr/include/linux/fs.h:208,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/kdev_t.h:21: error: syntax error before 'dev'
/usr/include/linux/kdev_t.h: In function 'old_valid_dev':
/usr/include/linux/kdev_t.h:23: error: 'dev' undeclared (first use in this function)
/usr/include/linux/kdev_t.h: At top level:
/usr/include/linux/kdev_t.h:26: error: syntax error before 'dev'
/usr/include/linux/kdev_t.h: In function 'old_encode_dev':
/usr/include/linux/kdev_t.h:28: error: 'dev' undeclared (first use in this function)
/usr/include/linux/kdev_t.h: At top level:
/usr/include/linux/kdev_t.h:31: error: syntax error before 'old_decode_dev'
/usr/include/linux/kdev_t.h:36: error: syntax error before 'dev'
/usr/include/linux/kdev_t.h:41: error: syntax error before 'dev'
/usr/include/linux/kdev_t.h: In function 'new_encode_dev':
/usr/include/linux/kdev_t.h:43: error: 'dev' undeclared (first use in this function)
/usr/include/linux/kdev_t.h: At top level:
/usr/include/linux/kdev_t.h:48: error: syntax error before 'new_decode_dev'
/usr/include/linux/kdev_t.h:55: error: syntax error before 'dev'
/usr/include/linux/kdev_t.h:60: error: syntax error before 'dev'
/usr/include/linux/kdev_t.h: In function 'huge_encode_dev':
/usr/include/linux/kdev_t.h:62: error: 'dev' undeclared (first use in this function)
/usr/include/linux/kdev_t.h: At top level:
/usr/include/linux/kdev_t.h:65: error: syntax error before 'huge_decode_dev'
/usr/include/linux/kdev_t.h:70: error: syntax error before 'dev'
/usr/include/linux/kdev_t.h: In function 'sysv_valid_dev':
/usr/include/linux/kdev_t.h:72: error: 'dev' undeclared (first use in this function)
/usr/include/linux/kdev_t.h: At top level:
/usr/include/linux/kdev_t.h:75: error: syntax error before 'dev'
/usr/include/linux/kdev_t.h: In function 'sysv_encode_dev':
/usr/include/linux/kdev_t.h:77: error: 'dev' undeclared (first use in this function)
In file included from /usr/include/linux/gfp.h:4,
from /usr/include/linux/slab.h:15,
from /usr/include/linux/percpu.h:4,
from /usr/include/linux/rcupdate.h:41,
from /usr/include/linux/dcache.h:10,
from /usr/include/linux/fs.h:209,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/mmzone.h: At top level:
/usr/include/linux/mmzone.h:402: error: syntax error before 'size_t'
/usr/include/linux/mmzone.h:405: error: syntax error before 'size_t'
In file included from /usr/include/linux/cpumask.h:82,
from /usr/include/linux/topology.h:30,
from /usr/include/linux/mmzone.h:407,
from /usr/include/linux/gfp.h:4,
from /usr/include/linux/slab.h:15,
from /usr/include/linux/percpu.h:4,
from /usr/include/linux/rcupdate.h:41,
from /usr/include/linux/dcache.h:10,
from /usr/include/linux/fs.h:209,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/bitmap.h: In function 'bitmap_fill':
/usr/include/linux/bitmap.h:129: error: 'size_t' undeclared (first use in this function)
/usr/include/linux/bitmap.h:129: error: syntax error before 'nlongs'
/usr/include/linux/bitmap.h:130: error: 'nlongs' undeclared (first use in this function)
In file included from /usr/include/asm/acpi.h:8,
from /usr/include/asm-i486/fixmap.h:27,
from /usr/include/asm/fixmap.h:8,
from /usr/include/asm-i486/smp.h:16,
from /usr/include/asm/smp.h:8,
from /usr/include/linux/smp.h:19,
from /usr/include/linux/topology.h:33,
from /usr/include/linux/mmzone.h:407,
from /usr/include/linux/gfp.h:4,
from /usr/include/linux/slab.h:15,
from /usr/include/linux/percpu.h:4,
from /usr/include/linux/rcupdate.h:41,
from /usr/include/linux/dcache.h:10,
from /usr/include/linux/fs.h:209,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/asm-i486/acpi.h:31:28: error: acpi/pdc_intel.h: No such file or directory
In file included from /usr/include/asm/mpspec.h:8,
from /usr/include/asm-i486/smp.h:18,
from /usr/include/asm/smp.h:8,
from /usr/include/linux/smp.h:19,
from /usr/include/linux/topology.h:33,
from /usr/include/linux/mmzone.h:407,
from /usr/include/linux/gfp.h:4,
from /usr/include/linux/slab.h:15,
from /usr/include/linux/percpu.h:4,
from /usr/include/linux/rcupdate.h:41,
from /usr/include/linux/dcache.h:10,
from /usr/include/linux/fs.h:209,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/asm-i486/mpspec.h:6:25: error: mach_mpspec.h: No such file or directory
In file included from /usr/include/asm/mpspec.h:8,
from /usr/include/asm-i486/smp.h:18,
from /usr/include/asm/smp.h:8,
from /usr/include/linux/smp.h:19,
from /usr/include/linux/topology.h:33,
from /usr/include/linux/mmzone.h:407,
from /usr/include/linux/gfp.h:4,
from /usr/include/linux/slab.h:15,
from /usr/include/linux/percpu.h:4,
from /usr/include/linux/rcupdate.h:41,
from /usr/include/linux/dcache.h:10,
from /usr/include/linux/fs.h:209,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/asm-i486/mpspec.h: At top level:
/usr/include/asm-i486/mpspec.h:8: error: 'MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm-i486/mpspec.h:22: error: 'MAX_IRQ_SOURCES' undeclared here (not in a function)
In file included from /usr/include/asm/smp.h:8,
from /usr/include/linux/smp.h:19,
from /usr/include/linux/topology.h:33,
from /usr/include/linux/mmzone.h:407,
from /usr/include/linux/gfp.h:4,
from /usr/include/linux/slab.h:15,
from /usr/include/linux/percpu.h:4,
from /usr/include/linux/rcupdate.h:41,
from /usr/include/linux/dcache.h:10,
from /usr/include/linux/fs.h:209,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/asm-i486/smp.h:78:26: error: mach_apicdef.h: No such file or directory
In file included from /usr/include/linux/percpu.h:4,
from /usr/include/linux/rcupdate.h:41,
from /usr/include/linux/dcache.h:10,
from /usr/include/linux/fs.h:209,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/slab.h:59: error: syntax error before 'size_t'
/usr/include/linux/slab.h:60: error: 'kmem_cache_create' declared as function returning a function
/usr/include/linux/slab.h:61: error: syntax error before 'void'
/usr/include/linux/slab.h:68: error: syntax error before 'size'
/usr/include/linux/slab.h:72: error: syntax error before 'size_t'
/usr/include/linux/slab.h:75: error: syntax error before '}' token
/usr/include/linux/slab.h:76: error: array type has incomplete element type
/usr/include/linux/slab.h:77: error: syntax error before 'unsigned'
/usr/include/linux/slab.h:79: error: syntax error before 'size'
/usr/include/linux/slab.h: In function 'kmalloc':
/usr/include/linux/slab.h:81: error: 'size' undeclared (first use in this function)
In file included from /usr/include/linux/percpu.h:4,
from /usr/include/linux/rcupdate.h:41,
from /usr/include/linux/dcache.h:10,
from /usr/include/linux/fs.h:209,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/slab.h:95: error: 'flags' undeclared (first use in this function)
/usr/include/linux/slab.h: At top level:
/usr/include/linux/slab.h:102: error: syntax error before 'unsigned'
/usr/include/linux/slab.h:114: error: syntax error before 'size'
/usr/include/linux/slab.h: In function 'kmalloc_node':
/usr/include/linux/slab.h:116: error: 'size' undeclared (first use in this function)
/usr/include/linux/slab.h:116: error: 'flags' undeclared (first use in this function)
In file included from /usr/include/linux/rcupdate.h:41,
from /usr/include/linux/dcache.h:10,
from /usr/include/linux/fs.h:209,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/percpu.h: At top level:
/usr/include/linux/percpu.h:36: error: syntax error before 'size'
In file included from /usr/include/linux/fs.h:210,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/stat.h:61: error: syntax error before 'dev_t'
/usr/include/linux/stat.h:64: error: syntax error before 'uid'
/usr/include/linux/stat.h:65: error: syntax error before 'gid'
/usr/include/linux/stat.h:66: error: syntax error before 'rdev'
/usr/include/linux/stat.h:67: error: syntax error before 'size'
/usr/include/linux/stat.h:73: error: syntax error before '}' token
In file included from /usr/include/linux/kobject.h:22,
from /usr/include/linux/fs.h:212,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/sysfs.h:21: error: syntax error before 'mode_t'
/usr/include/linux/sysfs.h:54: error: field 'attr' has incomplete type
/usr/include/linux/sysfs.h:55: error: syntax error before 'size_t'
/usr/include/linux/sysfs.h:57: error: syntax error before '*' token
/usr/include/linux/sysfs.h:57: error: syntax error before 'loff_t'
/usr/include/linux/sysfs.h:57: error: 'ssize_t' declared as function returning a function
/usr/include/linux/sysfs.h:58: error: syntax error before '*' token
/usr/include/linux/sysfs.h:58: error: syntax error before 'loff_t'
/usr/include/linux/sysfs.h:58: error: 'ssize_t' declared as function returning a function
/usr/include/linux/sysfs.h:61: error: syntax error before '}' token
/usr/include/linux/sysfs.h:64: error: syntax error before 'ssize_t'
/usr/include/linux/sysfs.h:65: error: syntax error before '*' token
/usr/include/linux/sysfs.h:65: error: syntax error before 'size_t'
/usr/include/linux/sysfs.h:65: error: 'ssize_t' declared as function returning a function
/usr/include/linux/sysfs.h:104: error: syntax error before 'mode_t'
In file included from /usr/include/linux/fs.h:212,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/kobject.h:236: error: field 'attr' has incomplete type
/usr/include/linux/kobject.h:237: error: syntax error before 'ssize_t'
/usr/include/linux/kobject.h:238: error: syntax error before '*' token
/usr/include/linux/kobject.h:238: error: syntax error before 'size_t'
/usr/include/linux/kobject.h:238: error: 'ssize_t' declared as function returning a function
In file included from /usr/include/linux/fs.h:215,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/prio_tree.h:45: error: syntax error before 'pgoff_t'
/usr/include/linux/prio_tree.h:50: error: syntax error before 'pgoff_t'
/usr/include/linux/prio_tree.h: In function 'prio_tree_iter_init':
/usr/include/linux/prio_tree.h:52: error: 'iter' undeclared (first use in this function)
/usr/include/linux/prio_tree.h:52: error: 'root' undeclared (first use in this function)
/usr/include/linux/prio_tree.h:53: error: 'r_index' undeclared (first use in this function)
In file included from /usr/include/linux/sched.h:11,
from /usr/include/linux/fs.h:217,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/timex.h: At top level:
/usr/include/linux/timex.h:147: error: field 'time' has incomplete type
In file included from /usr/include/linux/sched.h:12,
from /usr/include/linux/fs.h:217,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/jiffies.h: In function 'timespec_to_jiffies':
/usr/include/linux/jiffies.h:317: error: dereferencing pointer to incomplete type
/usr/include/linux/jiffies.h:318: error: dereferencing pointer to incomplete type
/usr/include/linux/jiffies.h: In function 'jiffies_to_timespec':
/usr/include/linux/jiffies.h:338: error: dereferencing pointer to incomplete type
/usr/include/linux/jiffies.h:338: error: dereferencing pointer to incomplete type
/usr/include/linux/jiffies.h: In function 'timeval_to_jiffies':
/usr/include/linux/jiffies.h:356: error: dereferencing pointer to incomplete type
/usr/include/linux/jiffies.h:357: error: dereferencing pointer to incomplete type
/usr/include/linux/jiffies.h: In function 'jiffies_to_timeval':
/usr/include/linux/jiffies.h:376: error: dereferencing pointer to incomplete type
/usr/include/linux/jiffies.h:376: error: dereferencing pointer to incomplete type
/usr/include/linux/jiffies.h:377: error: dereferencing pointer to incomplete type
/usr/include/linux/jiffies.h: At top level:
/usr/include/linux/jiffies.h:383: error: syntax error before 'jiffies_to_clock_t'
In file included from /usr/include/linux/sem.h:4,
from /usr/include/linux/sched.h:27,
from /usr/include/linux/fs.h:217,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/ipc.h:61: error: syntax error before 'key_t'
/usr/include/linux/ipc.h:63: error: syntax error before 'gid'
/usr/include/linux/ipc.h:64: error: syntax error before 'cuid'
/usr/include/linux/ipc.h:65: error: syntax error before 'cgid'
/usr/include/linux/ipc.h:66: error: syntax error before 'mode'
/usr/include/linux/ipc.h:66: error: conflicting types for 'mode'
/usr/include/linux/stat.h:62: error: previous declaration of 'mode' was here
/usr/include/linux/ipc.h:69: error: syntax error before '}' token
In file included from /usr/include/linux/sched.h:27,
from /usr/include/linux/fs.h:217,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/sem.h:90: error: field 'sem_perm' has incomplete type
/usr/include/linux/sem.h:91: error: syntax error before 'time_t'
/usr/include/linux/sem.h:98: error: syntax error before '}' token
In file included from /usr/include/asm/signal.h:8,
from /usr/include/linux/signal.h:6,
from /usr/include/linux/sched.h:28,
from /usr/include/linux/fs.h:217,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/asm-i486/signal.h:154: error: syntax error before 'size_t'
In file included from /usr/include/asm-i486/siginfo.h:4,
from /usr/include/asm/siginfo.h:8,
from /usr/include/linux/signal.h:7,
from /usr/include/linux/sched.h:28,
from /usr/include/linux/fs.h:217,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/asm-generic/siginfo.h:50: error: syntax error before 'pid_t'
/usr/include/asm-generic/siginfo.h:56: error: syntax error before 'timer_t'
/usr/include/asm-generic/siginfo.h:58: error: 'uid_t' undeclared here (not in a function)
/usr/include/asm-generic/siginfo.h:61: error: syntax error before '}' token
/usr/include/asm-generic/siginfo.h:65: error: syntax error before 'pid_t'
/usr/include/asm-generic/siginfo.h:68: error: syntax error before '}' token
/usr/include/asm-generic/siginfo.h:72: error: syntax error before 'pid_t'
/usr/include/asm-generic/siginfo.h:75: error: syntax error before '_utime'
/usr/include/asm-generic/siginfo.h:76: error: syntax error before '_stime'
/usr/include/asm-generic/siginfo.h:92: error: syntax error before '}' token
/usr/include/asm-generic/siginfo.h:93: error: syntax error before '}' token
/usr/include/asm-generic/siginfo.h: In function 'copy_siginfo':
/usr/include/asm-generic/siginfo.h:281: error: dereferencing pointer to incomplete type
/usr/include/asm-generic/siginfo.h:282: error: dereferencing pointer to incomplete type
/usr/include/asm-generic/siginfo.h:282: error: dereferencing pointer to incomplete type
/usr/include/asm-generic/siginfo.h:282: error: dereferencing pointer to incomplete type
/usr/include/asm-generic/siginfo.h:285: error: dereferencing pointer to incomplete type
/usr/include/asm-generic/siginfo.h:285: error: dereferencing pointer to incomplete type
/usr/include/asm-generic/siginfo.h:285: error: dereferencing pointer to incomplete type
In file included from /usr/include/linux/sched.h:28,
from /usr/include/linux/fs.h:217,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/signal.h: At top level:
/usr/include/linux/signal.h:30: error: syntax error before 'siginfo_t'
/usr/include/linux/signal.h:32: error: syntax error before '}' token
/usr/include/linux/signal.h:235: error: syntax error before '*' token
In file included from /usr/include/linux/sched.h:103,
from /usr/include/linux/fs.h:217,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/resource.h:22: error: field 'ru_utime' has incomplete type
/usr/include/linux/resource.h:23: error: field 'ru_stime' has incomplete type
In file included from /usr/include/linux/sched.h:195,
from /usr/include/linux/fs.h:217,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/aio.h:55: error: syntax error before 'ssize_t'
/usr/include/linux/aio.h:66: error: syntax error before 'ki_pos'
/usr/include/linux/aio.h:69: error: syntax error before 'ki_nbytes'
/usr/include/linux/aio.h:71: error: syntax error before 'ki_left'
/usr/include/linux/aio.h:78: error: syntax error before '}' token
/usr/include/linux/aio.h:157: error: syntax error before 'wait_on_sync_kiocb'
/usr/include/linux/aio.h: In function 'list_kiocb':
/usr/include/linux/aio.h:194: error: dereferencing pointer to incomplete type
/usr/include/linux/aio.h:194: error: invalid use of undefined type 'struct kiocb'
In file included from /usr/include/linux/fs.h:217,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/sched.h: At top level:
/usr/include/linux/sched.h:324: error: syntax error before 'pid_t'
/usr/include/linux/sched.h:326: error: syntax error before 'session'
/usr/include/linux/sched.h:369: error: syntax error before '}' token
/usr/include/linux/sched.h:428: error: syntax error before 'uid_t'
/usr/include/linux/sched.h:567: error: syntax error before 'gid_t'
/usr/include/linux/sched.h:569: error: syntax error before '*' token
/usr/include/linux/sched.h:569: error: conflicting types for 'blocks'
/usr/include/linux/stat.h:72: error: previous declaration of 'blocks' was here
/usr/include/linux/sched.h:570: error: syntax error before '}' token
/usr/include/linux/sched.h:590: error: syntax error before 'gid_t'
/usr/include/linux/sched.h:648: error: syntax error before 'pid_t'
/usr/include/linux/sched.h:684: error: syntax error before 'uid'
/usr/include/linux/sched.h:685: error: syntax error before 'gid'
/usr/include/linux/sched.h:688: error: syntax error before ':' token
/usr/include/linux/sched.h:719: error: syntax error before 'sas_ss_size'
/usr/include/linux/sched.h:748: error: syntax error before '*' token
/usr/include/linux/sched.h:773: error: syntax error before '}' token
/usr/include/linux/sched.h:775: error: syntax error before 'process_group'
/usr/include/linux/sched.h: In function 'process_group':
/usr/include/linux/sched.h:777: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h: In function 'pid_alive':
/usr/include/linux/sched.h:790: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h: At top level:
/usr/include/linux/sched.h:916: error: syntax error before 'session'
/usr/include/linux/sched.h:917: error: syntax error before 'session'
/usr/include/linux/sched.h: In function 'get_uid':
/usr/include/linux/sched.h:923: error: dereferencing pointer to incomplete type
In file included from /usr/include/linux/fs.h:217,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/sched.h: At top level:
/usr/include/linux/sched.h:951: error: syntax error before 'siginfo_t'
/usr/include/linux/sched.h:953: error: syntax error before 'siginfo_t'
/usr/include/linux/sched.h: In function 'dequeue_signal_lock':
/usr/include/linux/sched.h:958: error: 'tsk' undeclared (first use in this function)
/usr/include/linux/sched.h:959: error: 'mask' undeclared (first use in this function)
/usr/include/linux/sched.h:959: error: 'info' undeclared (first use in this function)
/usr/include/linux/sched.h: At top level:
/usr/include/linux/sched.h:973: error: syntax error before 'pid_t'
/usr/include/linux/sched.h:974: error: syntax error before 'pid_t'
/usr/include/linux/sched.h:975: error: syntax error before 'pid_t'
/usr/include/linux/sched.h:981: error: syntax error before 'int'
/usr/include/linux/sched.h:982: error: syntax error before 'int'
/usr/include/linux/sched.h:983: error: syntax error before 'int'
/usr/include/linux/sched.h:989: error: syntax error before '*' token
/usr/include/linux/sched.h: In function 'on_sig_stack':
/usr/include/linux/sched.h:1000: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h:1000: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h: In function 'sas_ss_flags':
/usr/include/linux/sched.h:1005: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h: In function 'capable':
/usr/include/linux/sched.h:1016: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h:1017: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h: In function 'thread_group_empty':
/usr/include/linux/sched.h:1112: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h: In function 'task_lock':
/usr/include/linux/sched.h:1131: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h: In function 'task_unlock':
/usr/include/linux/sched.h:1136: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h: In function 'set_tsk_thread_flag':
/usr/include/linux/sched.h:1144: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h: In function 'clear_tsk_thread_flag':
/usr/include/linux/sched.h:1149: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h: In function 'test_and_set_tsk_thread_flag':
/usr/include/linux/sched.h:1154: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h: In function 'test_and_clear_tsk_thread_flag':
/usr/include/linux/sched.h:1159: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h: In function 'test_tsk_thread_flag':
/usr/include/linux/sched.h:1164: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h: In function 'task_cpu':
/usr/include/linux/sched.h:1235: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h: In function 'set_task_cpu':
/usr/include/linux/sched.h:1240: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h: At top level:
/usr/include/linux/sched.h:1267: error: syntax error before 'pid'
/usr/include/linux/sched.h:1268: error: syntax error before 'pid'
/usr/include/linux/sched.h: In function 'frozen':
/usr/include/linux/sched.h:1282: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h: In function 'freezing':
/usr/include/linux/sched.h:1290: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h: In function 'freeze':
/usr/include/linux/sched.h:1299: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h: In function 'thaw_process':
/usr/include/linux/sched.h:1308: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h: In function 'frozen_process':
/usr/include/linux/sched.h:1320: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h:1320: error: dereferencing pointer to incomplete type
In file included from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/fs.h: At top level:
/usr/include/linux/fs.h:246: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:279: error: syntax error before 'uid_t'
/usr/include/linux/fs.h:281: error: syntax error before 'ia_size'
/usr/include/linux/fs.h:286: error: syntax error before '}' token
In file included from /usr/include/linux/fs.h:300,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/quota.h:157: error: syntax error before 'time_t'
/usr/include/linux/quota.h:223: error: syntax error before 'loff_t'
/usr/include/linux/quota.h:227: error: syntax error before '}' token
In file included from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/fs.h:333: error: syntax error before 'ssize_t'
/usr/include/linux/fs.h:337: error: syntax error before '}' token
/usr/include/linux/fs.h:350: error: syntax error before 'pgoff_t'
/usr/include/linux/fs.h:357: error: syntax error before '}' token
/usr/include/linux/fs.h:365: error: syntax error before 'dev_t'
/usr/include/linux/fs.h:389: error: syntax error before '}' token
/usr/include/linux/fs.h: In function 'mapping_mapped':
/usr/include/linux/fs.h:405: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h:406: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: In function 'mapping_writably_mapped':
/usr/include/linux/fs.h:417: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: At top level:
/usr/include/linux/fs.h:440: error: syntax error before 'uid_t'
/usr/include/linux/fs.h:442: error: syntax error before 'i_rdev'
/usr/include/linux/fs.h:443: error: syntax error before 'i_size'
/usr/include/linux/fs.h:496: error: syntax error before '}' token
/usr/include/linux/fs.h:508: error: syntax error before 'i_size_read'
/usr/include/linux/fs.h: In function 'i_size_read':
/usr/include/linux/fs.h:511: error: 'loff_t' undeclared (first use in this function)
/usr/include/linux/fs.h:511: error: syntax error before 'i_size'
/usr/include/linux/fs.h:515: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h:516: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h:517: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: At top level:
/usr/include/linux/fs.h:532: error: syntax error before 'loff_t'
/usr/include/linux/fs.h: In function 'i_size_write':
/usr/include/linux/fs.h:535: error: 'inode' undeclared (first use in this function)
/usr/include/linux/fs.h: In function 'iminor':
/usr/include/linux/fs.h:549: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: In function 'imajor':
/usr/include/linux/fs.h:554: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: At top level:
/usr/include/linux/fs.h:562: error: syntax error before 'uid_t'
/usr/include/linux/fs.h:565: error: syntax error before '}' token
/usr/include/linux/fs.h:592: error: syntax error before 'mode_t'
/usr/include/linux/fs.h:598: error: syntax error before 'f_maxcount'
/usr/include/linux/fs.h:611: error: syntax error before '}' token
In file included from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/fs.h:675: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:687: error: syntax error before '}' token
In file included from /usr/include/asm/fcntl.h:8,
from /usr/include/linux/fcntl.h:4,
from /usr/include/linux/fs.h:698,
from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/asm-i486/fcntl.h:73: error: syntax error before 'off_t'
/usr/include/asm-i486/fcntl.h:75: error: syntax error before 'l_pid'
/usr/include/asm-i486/fcntl.h:81: error: syntax error before 'loff_t'
/usr/include/asm-i486/fcntl.h:83: error: syntax error before 'l_pid'
In file included from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/fs.h:728: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:729: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:767: error: syntax error before 'dev_t'
/usr/include/linux/fs.h:816: error: syntax error before '}' token
/usr/include/linux/fs.h: In function 'get_fs_excl':
/usr/include/linux/fs.h:834: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: In function 'put_fs_excl':
/usr/include/linux/fs.h:839: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: In function 'has_fs_excl':
/usr/include/linux/fs.h:844: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: In function 'lock_super':
/usr/include/linux/fs.h:854: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: In function 'unlock_super':
/usr/include/linux/fs.h:860: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: At top level:
/usr/include/linux/fs.h:868: error: syntax error before 'dev_t'
/usr/include/linux/fs.h:907: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:931: error: syntax error before 'size_t'
/usr/include/linux/fs.h:938: error: syntax error before '}' token
/usr/include/linux/fs.h:940: error: syntax error before '*' token
/usr/include/linux/fs.h:955: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:956: error: syntax error before '*' token
/usr/include/linux/fs.h:956: error: syntax error before 'size_t'
/usr/include/linux/fs.h:956: error: 'ssize_t' declared as function returning a function
/usr/include/linux/fs.h:957: error: syntax error before '*' token
/usr/include/linux/fs.h:957: error: syntax error before 'size_t'
/usr/include/linux/fs.h:957: error: 'ssize_t' declared as function returning a function
/usr/include/linux/fs.h:958: error: syntax error before '*' token
/usr/include/linux/fs.h:958: error: syntax error before 'size_t'
/usr/include/linux/fs.h:958: error: 'ssize_t' declared as function returning a function
/usr/include/linux/fs.h:959: error: syntax error before '*' token
/usr/include/linux/fs.h:959: error: syntax error before 'size_t'
/usr/include/linux/fs.h:959: error: 'ssize_t' declared as function returning a function
/usr/include/linux/fs.h:965: error: conflicting types for 'mmap'
/usr/include/linux/sysfs.h:60: error: previous declaration of 'mmap' was here
/usr/include/linux/fs.h:973: error: syntax error before '*' token
/usr/include/linux/fs.h:973: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:973: error: 'ssize_t' declared as function returning a function
/usr/include/linux/fs.h:974: error: syntax error before '*' token
/usr/include/linux/fs.h:974: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:974: error: 'ssize_t' declared as function returning a function
/usr/include/linux/fs.h:975: error: syntax error before '*' token
/usr/include/linux/fs.h:975: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:975: error: 'ssize_t' declared as function returning a function
/usr/include/linux/fs.h:976: error: syntax error before '*' token
/usr/include/linux/fs.h:976: error: syntax error before 'size_t'
/usr/include/linux/fs.h:976: error: 'ssize_t' declared as function returning a function
/usr/include/linux/fs.h:981: error: syntax error before '}' token
/usr/include/linux/fs.h:991: error: syntax error before 'dev_t'
/usr/include/linux/fs.h:1001: error: syntax error before 'size_t'
/usr/include/linux/fs.h:1003: error: syntax error before '*' token
/usr/include/linux/fs.h:1003: error: syntax error before 'size_t'
/usr/include/linux/fs.h:1003: error: 'ssize_t' declared as function returning a function
/usr/include/linux/fs.h:1005: error: syntax error before '}' token
/usr/include/linux/fs.h:1009: error: syntax error before 'vfs_read'
/usr/include/linux/fs.h:1009: error: syntax error before 'size_t'
/usr/include/linux/fs.h:1010: error: syntax error before 'vfs_write'
/usr/include/linux/fs.h:1010: error: syntax error before 'size_t'
/usr/include/linux/fs.h:1011: error: syntax error before 'vfs_readv'
/usr/include/linux/fs.h:1012: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1013: error: syntax error before 'vfs_writev'
/usr/include/linux/fs.h:1014: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1043: error: syntax error before 'ssize_t'
/usr/include/linux/fs.h:1044: error: syntax error before '*' token
/usr/include/linux/fs.h:1044: error: syntax error before 'size_t'
/usr/include/linux/fs.h:1044: error: 'ssize_t' declared as function returning a function
/usr/include/linux/fs.h: In function 'file_accessed':
/usr/include/linux/fs.h:1079: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h:1080: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h:1080: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: At top level:
/usr/include/linux/fs.h:1251: error: syntax error before 'loff_t'
/usr/include/linux/fs.h: In function 'locks_verify_locked':
/usr/include/linux/fs.h:1262: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h:1262: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: At top level:
/usr/include/linux/fs.h:1267: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1271: error: syntax error before 'loff_t'
/usr/include/linux/fs.h: In function 'locks_verify_truncate':
/usr/include/linux/fs.h:1273: error: 'inode' undeclared (first use in this function)
/usr/include/linux/fs.h:1275: error: 'filp' undeclared (first use in this function)
/usr/include/linux/fs.h: In function 'break_lease':
/usr/include/linux/fs.h:1285: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: At top level:
/usr/include/linux/fs.h:1292: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1313: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1316: error: syntax error before 'unsigned'
/usr/include/linux/fs.h:1325: error: syntax error before 'mode_t'
/usr/include/linux/fs.h:1331: error: syntax error before '*' token
/usr/include/linux/fs.h:1332: error: syntax error before 'unsigned'
/usr/include/linux/fs.h:1336: error: syntax error before 'unsigned'
/usr/include/linux/fs.h:1341: error: syntax error before 'char'
/usr/include/linux/fs.h:1347: error: syntax error before 'dev_t'
/usr/include/linux/fs.h:1377: error: syntax error before 'pgoff_t'
/usr/include/linux/fs.h: In function 'invalidate_remote_inode':
/usr/include/linux/fs.h:1381: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h:1381: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h:1382: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h:1383: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: At top level:
/usr/include/linux/fs.h:1387: error: syntax error before 'pgoff_t'
/usr/include/linux/fs.h:1394: error: syntax error before 'loff_t'
/usr/include/linux/fs.h: In function 'put_write_access':
/usr/include/linux/fs.h:1411: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: In function 'allow_write_access':
/usr/include/linux/fs.h:1416: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: At top level:
/usr/include/linux/fs.h:1428: error: syntax error before 'find_inode_number'
In file included from /usr/include/linux/videodev2.h:944,
from /usr/include/linux/videodev.h:9,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/fs.h:1433: error: syntax error before 'default_llseek'
/usr/include/linux/fs.h:1433: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1435: error: syntax error before 'vfs_llseek'
/usr/include/linux/fs.h:1435: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1440: error: syntax error before 'iunique'
/usr/include/linux/fs.h:1440: error: syntax error before 'ino_t'
/usr/include/linux/fs.h: In function 'iget':
/usr/include/linux/fs.h:1457: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h:1458: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: In function 'insert_inode_hash':
/usr/include/linux/fs.h:1476: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: At top level:
/usr/include/linux/fs.h:1491: error: syntax error before '*' token
/usr/include/linux/fs.h:1492: error: syntax error before '*' token
/usr/include/linux/fs.h:1493: error: syntax error before 'generic_file_read'
/usr/include/linux/fs.h:1493: error: syntax error before 'size_t'
/usr/include/linux/fs.h:1494: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1495: error: syntax error before 'generic_file_write'
/usr/include/linux/fs.h:1495: error: syntax error before 'size_t'
/usr/include/linux/fs.h:1496: error: syntax error before 'generic_file_aio_read'
/usr/include/linux/fs.h:1496: error: syntax error before 'size_t'
/usr/include/linux/fs.h:1497: error: syntax error before '__generic_file_aio_read'
/usr/include/linux/fs.h:1497: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1498: error: syntax error before 'generic_file_aio_write'
/usr/include/linux/fs.h:1498: error: syntax error before 'size_t'
/usr/include/linux/fs.h:1499: error: syntax error before 'generic_file_aio_write_nolock'
/usr/include/linux/fs.h:1500: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1501: error: syntax error before 'generic_file_direct_write'
/usr/include/linux/fs.h:1502: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1503: error: syntax error before 'generic_file_buffered_write'
/usr/include/linux/fs.h:1504: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1505: error: syntax error before 'do_sync_read'
/usr/include/linux/fs.h:1505: error: syntax error before 'size_t'
/usr/include/linux/fs.h:1506: error: syntax error before 'do_sync_write'
/usr/include/linux/fs.h:1506: error: syntax error before 'size_t'
/usr/include/linux/fs.h:1507: error: syntax error before 'generic_file_write_nolock'
/usr/include/linux/fs.h:1508: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1509: error: syntax error before 'generic_file_sendfile'
/usr/include/linux/fs.h:1509: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1512: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1515: error: syntax error before 'generic_file_direct_IO'
/usr/include/linux/fs.h:1516: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1517: error: syntax error before 'generic_file_readv'
/usr/include/linux/fs.h:1518: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1519: error: syntax error before 'generic_file_writev'
/usr/include/linux/fs.h:1520: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1521: error: syntax error before 'no_llseek'
/usr/include/linux/fs.h:1521: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1522: error: syntax error before 'generic_file_llseek'
/usr/include/linux/fs.h:1522: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1523: error: syntax error before 'remote_llseek'
/usr/include/linux/fs.h:1523: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1538: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1544: error: syntax error before 'loff_t'
/usr/include/linux/fs.h: In function 'do_generic_file_read':
/usr/include/linux/fs.h:1548: error: 'filp' undeclared (first use in this function)
/usr/include/linux/fs.h:1551: error: 'ppos' undeclared (first use in this function)
/usr/include/linux/fs.h:1552: error: 'desc' undeclared (first use in this function)
/usr/include/linux/fs.h:1553: error: 'actor' undeclared (first use in this function)
/usr/include/linux/fs.h: At top level:
/usr/include/linux/fs.h:1556: error: syntax error before '__blockdev_direct_IO'
/usr/include/linux/fs.h:1557: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1567: error: syntax error before 'blockdev_direct_IO'
/usr/include/linux/fs.h:1569: error: syntax error before 'loff_t'
/usr/include/linux/fs.h: In function 'blockdev_direct_IO':
/usr/include/linux/fs.h:1572: error: 'rw' undeclared (first use in this function)
/usr/include/linux/fs.h:1572: error: 'iocb' undeclared (first use in this function)
/usr/include/linux/fs.h:1572: error: 'inode' undeclared (first use in this function)
/usr/include/linux/fs.h:1572: error: 'bdev' undeclared (first use in this function)
/usr/include/linux/fs.h:1572: error: 'iov' undeclared (first use in this function)
/usr/include/linux/fs.h:1572: error: 'offset' undeclared (first use in this function)
/usr/include/linux/fs.h:1573: error: 'nr_segs' undeclared (first use in this function)
/usr/include/linux/fs.h:1573: error: 'get_blocks' undeclared (first use in this function)
/usr/include/linux/fs.h:1573: error: 'end_io' undeclared (first use in this function)
/usr/include/linux/fs.h: At top level:
/usr/include/linux/fs.h:1576: error: syntax error before 'blockdev_direct_IO_no_locking'
/usr/include/linux/fs.h:1578: error: syntax error before 'loff_t'
/usr/include/linux/fs.h: In function 'blockdev_direct_IO_no_locking':
/usr/include/linux/fs.h:1581: error: 'rw' undeclared (first use in this function)
/usr/include/linux/fs.h:1581: error: 'iocb' undeclared (first use in this function)
/usr/include/linux/fs.h:1581: error: 'inode' undeclared (first use in this function)
/usr/include/linux/fs.h:1581: error: 'bdev' undeclared (first use in this function)
/usr/include/linux/fs.h:1581: error: 'iov' undeclared (first use in this function)
/usr/include/linux/fs.h:1581: error: 'offset' undeclared (first use in this function)
/usr/include/linux/fs.h:1582: error: 'nr_segs' undeclared (first use in this function)
/usr/include/linux/fs.h:1582: error: 'get_blocks' undeclared (first use in this function)
/usr/include/linux/fs.h:1582: error: 'end_io' undeclared (first use in this function)
/usr/include/linux/fs.h: At top level:
/usr/include/linux/fs.h:1585: error: syntax error before 'blockdev_direct_IO_own_locking'
/usr/include/linux/fs.h:1587: error: syntax error before 'loff_t'
/usr/include/linux/fs.h: In function 'blockdev_direct_IO_own_locking':
/usr/include/linux/fs.h:1590: error: 'rw' undeclared (first use in this function)
/usr/include/linux/fs.h:1590: error: 'iocb' undeclared (first use in this function)
/usr/include/linux/fs.h:1590: error: 'inode' undeclared (first use in this function)
/usr/include/linux/fs.h:1590: error: 'bdev' undeclared (first use in this function)
/usr/include/linux/fs.h:1590: error: 'iov' undeclared (first use in this function)
/usr/include/linux/fs.h:1590: error: 'offset' undeclared (first use in this function)
/usr/include/linux/fs.h:1591: error: 'nr_segs' undeclared (first use in this function)
/usr/include/linux/fs.h:1591: error: 'get_blocks' undeclared (first use in this function)
/usr/include/linux/fs.h:1591: error: 'end_io' undeclared (first use in this function)
/usr/include/linux/fs.h: At top level:
/usr/include/linux/fs.h:1608: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1609: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1610: error: syntax error before 'inode_get_bytes'
/usr/include/linux/fs.h:1611: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1628: error: syntax error before 'dcache_dir_lseek'
/usr/include/linux/fs.h:1628: error: syntax error before 'loff_t'
/usr/include/linux/fs.h:1645: error: syntax error before 'generic_read_dir'
/usr/include/linux/fs.h:1645: error: syntax error before 'size_t'
/usr/include/linux/fs.h:1654: error: syntax error before 'simple_read_from_buffer'
/usr/include/linux/fs.h:1654: error: syntax error before 'size_t'
/usr/include/linux/fs.h:1661: error: syntax error before 'parent_ino'
/usr/include/linux/fs.h: In function 'parent_ino':
/usr/include/linux/fs.h:1663: error: 'ino_t' undeclared (first use in this function)
/usr/include/linux/fs.h:1663: error: syntax error before 'res'
/usr/include/linux/fs.h:1666: error: 'res' undeclared (first use in this function)
/usr/include/linux/fs.h:1666: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: At top level:
/usr/include/linux/fs.h:1681: error: syntax error before 'ssize_t'
/usr/include/linux/fs.h:1683: error: syntax error before '}' token
/usr/include/linux/fs.h:1688: error: syntax error before 'size_t'
/usr/include/linux/fs.h:1689: error: syntax error before 'simple_transaction_read'
/usr/include/linux/fs.h:1690: error: syntax error before 'size_t'
/usr/include/linux/fs.h:1693: error: syntax error before 'size_t'
/usr/include/linux/fs.h: In function 'simple_transaction_set':
/usr/include/linux/fs.h:1695: error: 'file' undeclared (first use in this function)
/usr/include/linux/fs.h:1697: error: 'n' undeclared (first use in this function)
/usr/include/linux/fs.h:1697: error: invalid application of 'sizeof' to incomplete type 'struct simple_transaction_argresp'
/usr/include/linux/fs.h:1704: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: At top level:
/usr/include/linux/fs.h:1747: error: syntax error before 'simple_attr_read'
/usr/include/linux/fs.h:1748: error: syntax error before 'size_t'
/usr/include/linux/fs.h:1749: error: syntax error before 'simple_attr_write'
/usr/include/linux/fs.h:1750: error: syntax error before 'size_t'
In file included from /usr/include/linux/poll.h:11,
from /usr/include/linux/videodev.h:13,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/mm.h:242: error: syntax error before 'pgoff_t'
/usr/include/linux/mm.h:260: error: syntax error before '}' token
In file included from /usr/include/linux/poll.h:11,
from /usr/include/linux/videodev.h:13,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/mm.h: In function 'get_page':
/usr/include/linux/mm.h:335: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function 'put_page':
/usr/include/linux/mm.h:340: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h:340: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h:340: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h:340: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function 'page_zonenum':
/usr/include/linux/mm.h:472: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function 'page_zone':
/usr/include/linux/mm.h:480: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function 'page_to_nid':
/usr/include/linux/mm.h:487: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function 'page_to_section':
/usr/include/linux/mm.h:493: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function 'set_page_zone':
/usr/include/linux/mm.h:498: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h:499: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function 'set_page_node':
/usr/include/linux/mm.h:503: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h:504: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function 'set_page_section':
/usr/include/linux/mm.h:508: error: dereferencing pointer to incomplete