help !!!!!!! webcam by spac driver

歡迎提問 debian desktop 相關問題,何謂 desktop ? 舉凡您日常生活會用到的部份,如上網 ( www 、 bbs ..) 、程式設計、繪圖...等等。 通常以 X Window 環境底下問題為主。

help !!!!!!! webcam by spac driver

文章訪客 » 週六 12月 10, 2005 9:05 am

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
訪客
 

文章訪客 » 週六 12月 10, 2005 9:06 am

2nd-half part


/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 type
/usr/include/linux/mm.h:509: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function 'lowmem_page_address':
/usr/include/linux/mm.h:527: error: arithmetic on pointer to an incomplete type
/usr/include/linux/mm.h:527: error: arithmetic on pointer to an incomplete type
/usr/include/linux/mm.h: In function 'page_mapping':
/usr/include/linux/mm.h:569: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h:571: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h:571: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function 'PageAnon':
/usr/include/linux/mm.h:580: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: At top level:
/usr/include/linux/mm.h:587: error: syntax error before 'page_index'
/usr/include/linux/mm.h: In function 'page_index':
/usr/include/linux/mm.h:589: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h:589: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h:590: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h:591: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function 'reset_page_mapcount':
/usr/include/linux/mm.h:601: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function 'page_mapcount':
/usr/include/linux/mm.h:606: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function 'page_mapped':
/usr/include/linux/mm.h:614: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: At top level:
/usr/include/linux/mm.h:650: error: syntax error before 'loff_t'
/usr/include/linux/mm.h: In function 'can_do_mlock':
/usr/include/linux/mm.h:658: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: At top level:
/usr/include/linux/mm.h:662: error: syntax error before 'struct'
/usr/include/linux/mm.h:663: error: syntax error before 'struct'
/usr/include/linux/mm.h:671: error: syntax error before 'pgoff_t'
/usr/include/linux/mm.h:675: error: syntax error before '}' token
/usr/include/linux/mm.h:692: error: syntax error before 'loff_t'
/usr/include/linux/mm.h:695: error: syntax error before 'loff_t'
/usr/include/linux/mm.h: In function 'unmap_shared_mapping_range':
/usr/include/linux/mm.h:697: error: 'mapping' undeclared (first use in this function)
/usr/include/linux/mm.h:697: error: 'holebegin' undeclared (first use in this function)
/usr/include/linux/mm.h:697: error: 'holelen' undeclared (first use in this function)
/usr/include/linux/mm.h: At top level:
/usr/include/linux/mm.h:700: error: syntax error before 'loff_t'
/usr/include/linux/mm.h:814: error: syntax error before 'pgoff_t'
/usr/include/linux/mm.h:817: error: syntax error before 'pgoff_t'
/usr/include/linux/mm.h:826: error: syntax error before 'pgoff_t'
/usr/include/linux/mm.h:830: error: 'get_unmapped_area' redeclared as different kind of symbol
/usr/include/linux/fs.h:977: error: previous declaration of 'get_unmapped_area' was here
/usr/include/linux/mm.h:849: error: syntax error before 'size_t'
/usr/include/linux/mm.h:855: error: syntax error before 'loff_t'
/usr/include/linux/mm.h:881: error: syntax error before 'pgoff_t'
In file included from /usr/include/linux/device.h:20,
from /usr/include/linux/videodev.h:15,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/module.h:50: error: field 'attr' has incomplete type
/usr/include/linux/module.h:51: error: syntax error before 'ssize_t'
/usr/include/linux/module.h:52: error: syntax error before '*' token
/usr/include/linux/module.h:53: error: syntax error before 'size_t'
/usr/include/linux/module.h:53: error: 'ssize_t' declared as function returning a function
/usr/include/linux/module.h:57: error: syntax error before '}' token
/usr/include/linux/module.h:219: error: field 'mattr' has incomplete type
In file included from /usr/include/linux/videodev.h:15,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/device.h:93: error: field 'attr' has incomplete type
/usr/include/linux/device.h:94: error: syntax error before 'ssize_t'
/usr/include/linux/device.h:95: error: syntax error before '*' token
/usr/include/linux/device.h:95: error: syntax error before 'size_t'
/usr/include/linux/device.h:95: error: 'ssize_t' declared as function returning a function
/usr/include/linux/device.h:134: error: field 'attr' has incomplete type
/usr/include/linux/device.h:135: error: syntax error before 'ssize_t'
/usr/include/linux/device.h:136: error: syntax error before '*' token
/usr/include/linux/device.h:136: error: syntax error before 'size_t'
/usr/include/linux/device.h:136: error: 'ssize_t' declared as function returning a function
/usr/include/linux/device.h:182: error: field 'attr' has incomplete type
/usr/include/linux/device.h:183: error: syntax error before 'ssize_t'
/usr/include/linux/device.h:184: error: syntax error before '*' token
/usr/include/linux/device.h:184: error: syntax error before 'size_t'
/usr/include/linux/device.h:184: error: 'ssize_t' declared as function returning a function
/usr/include/linux/device.h:199: error: syntax error before 'dev_t'
/usr/include/linux/device.h:205: error: syntax error before '}' token
/usr/include/linux/device.h: In function 'class_get_devdata':
/usr/include/linux/device.h:210: error: dereferencing pointer to incomplete type
/usr/include/linux/device.h: In function 'class_set_devdata':
/usr/include/linux/device.h:216: error: dereferencing pointer to incomplete type
/usr/include/linux/device.h: At top level:
/usr/include/linux/device.h:232: error: field 'attr' has incomplete type
/usr/include/linux/device.h:233: error: syntax error before 'ssize_t'
/usr/include/linux/device.h:234: error: syntax error before '*' token
/usr/include/linux/device.h:234: error: syntax error before 'size_t'
/usr/include/linux/device.h:234: error: 'ssize_t' declared as function returning a function
/usr/include/linux/device.h:263: error: syntax error before 'dev_t'
/usr/include/linux/device.h:266: error: syntax error before 'dev_t'
/usr/include/linux/device.h:344: error: field 'attr' has incomplete type
/usr/include/linux/device.h:345: error: syntax error before 'ssize_t'
/usr/include/linux/device.h:347: error: syntax error before '*' token
/usr/include/linux/device.h:348: error: syntax error before 'size_t'
/usr/include/linux/device.h:348: error: 'ssize_t' declared as function returning a function
In file included from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/videodev.h:46: error: field 'class_dev' has incomplete type
In file included from drivers/usb/spca5xx.h:13,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/smp_lock.h: In function 'reacquire_kernel_lock':
/usr/include/linux/smp_lock.h:37: error: dereferencing pointer to incomplete type
In file included from /usr/include/asm/irq.h:8,
from /usr/include/linux/irq.h:21,
from /usr/include/asm-i486/hardirq.h:6,
from /usr/include/asm/hardirq.h:8,
from /usr/include/linux/hardirq.h:7,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/usb.h:14,
from drivers/usb/spca5xx.h:14,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/asm-i486/irq.h:16:25: error: irq_vectors.h: No such file or directory
In file included from /usr/include/asm-i486/hardirq.h:6,
from /usr/include/asm/hardirq.h:8,
from /usr/include/linux/hardirq.h:7,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/usb.h:14,
from drivers/usb/spca5xx.h:14,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/irq.h: At top level:
/usr/include/linux/irq.h:76: error: 'NR_IRQS' undeclared here (not in a function)
In file included from /usr/include/asm/hw_irq.h:8,
from /usr/include/linux/irq.h:78,
from /usr/include/asm-i486/hardirq.h:6,
from /usr/include/asm/hardirq.h:8,
from /usr/include/linux/hardirq.h:7,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/usb.h:14,
from drivers/usb/spca5xx.h:14,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/asm-i486/hw_irq.h:28: error: 'NR_IRQ_VECTORS' undeclared here (not in a function)
In file included from drivers/usb/spca5xx.h:14,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/usr/include/linux/usb.h:441: error: syntax error before 'size_t'
/usr/include/linux/usb.h: In function 'usb_make_path':
/usr/include/linux/usb.h:444: error: 'buf' undeclared (first use in this function)
/usr/include/linux/usb.h:444: error: 'struct bus_type' has no member named 'bus_name'
/usr/include/linux/usb.h:444: error: 'struct device' has no member named 'devpath'
/usr/include/linux/usb.h: At top level:
/usr/include/linux/usb.h:586: error: syntax error before 'mode_t'
/usr/include/linux/usb.h:588: error: syntax error before '}' token
/usr/include/linux/usb.h:950: error: syntax error before 'size_t'
/usr/include/linux/usb.h:952: error: syntax error before 'size_t'
/usr/include/linux/usb.h:995: error: syntax error before 'size_t'
/usr/include/linux/usb.h:1030: error: syntax error before 'size_t'
/usr/include/linux/usb.h:1036: error: conflicting types for 'lock'
/usr/include/linux/fs.h:972: error: previous declaration of 'lock' was here
/usr/include/linux/usb.h:1038: error: conflicting types for 'dev'
/usr/include/linux/device.h:201: error: previous declaration of 'dev' was here
/usr/include/linux/usb.h:1047: error: 'complete' redeclared as different kind of symbol
/usr/include/linux/completion.h:37: error: previous declaration of 'complete' was here
/usr/include/linux/usb.h:1048: error: syntax error before '}' token
/usr/include/linux/usb.h:1057: error: syntax error before 'size_t'
In file included from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
drivers/usb/spca5xx.h:495: error: syntax error before 'uint'
drivers/usb/spca5xx.h:495: warning: no semicolon at end of struct or union
drivers/usb/spca5xx.h:496: warning: type defaults to 'int' in declaration of 'i2c_base'
drivers/usb/spca5xx.h:496: warning: data definition has no type or storage class
drivers/usb/spca5xx.h:508: error: syntax error before '}' token
drivers/usb/spcadecoder.c: In function 'decode_spca561':
drivers/usb/spcadecoder.c:703: warning: pointer targets in passing argument 4 of 'internal_spca561_decode' differ in signedness
drivers/usb/spcadecoder.c: In function 'init_jpeg_decoder':
drivers/usb/spcadecoder.c:1179: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1179: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1210: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1220: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1220: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1223: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1223: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1224: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1224: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1225: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1226: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1229: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1230: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1231: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1236: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1237: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1238: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1242: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1243: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1244: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1249: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1252: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1252: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1252: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1253: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1253: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1253: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1254: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1254: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1254: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1256: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1257: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c:1258: error: dereferencing pointer to incomplete type
drivers/usb/spcadecoder.c: In function 'spca50x_outpicture':
drivers/usb/spcadecoder.c:1418: warning: pointer targets in passing argument 2 of 'decode_spca561' differ in signedness
make: *** [drivers/usb/spcadecoder.o] Error 2
]0;samuel@Hostname: /usr/src/modules/spca5xxsamuel@Hostname:/usr/src/modules/spca5xx$ exit
logout
訪客
 

文章訪客 » 週六 12月 10, 2005 9:26 am

i don't use the qc-usb driver because ......



I just only set 1 usb device on my pc, wabcam,
and I check my usb device id

samuel@Hostname:~#lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 002: ID 046d:0920 Logitech, Inc. QuickCam Express


but i find an terrible article of this driver on sourceforge
http://sourceforge.net/forum/forum.php?forum_id=353713


Posted By: tuukkat
Date: 2004-02-19 07:12
Summary: New Quickcams don't work

Important! New Quickcams do not work the
qce-ga nor with the qc-usb driver! So beware this
if you are purchasing a new camera. A camera almost
definitely works if it has USB VendorId 046d and
ProductId one of 840, 850, or 870. New Quickcams
have ProductId of 910 or 920 and these don't work!
訪客
 

文章d2207197 » 週六 12月 10, 2005 10:51 am

遇到編譯錯誤時,一般最好先把 no such file or directory 的問題先搞定,往往就能解決問題了。
不知道該檔案在哪個套件可以用 apt-file 找。

代碼: 選擇全部
$ apt-get install apt-file
$ apt-file update
$ apt-file search include/linux/autoconf.h
kernel-headers-2.4.27-2: usr/src/kernel-headers-2.4.27-2/include/linux/autoconf.h
kernel-headers-2.4.27-2-386: usr/src/kernel-headers-2.4.27-2-386/include/linux/autoconf.h
kernel-headers-2.4.27-2-586tsc: usr/src/kernel-headers-2.4.27-2-586tsc/include/linux/autoconf.h
kernel-headers-2.4.27-2-686: usr/src/kernel-headers-2.4.27-2-686/include/linux/autoconf.h
kernel-headers-2.4.27-2-686-smp: usr/src/kernel-headers-2.4.27-2-686-smp/include/linux/autoconf.h
kernel-headers-2.4.27-2-k6: usr/src/kernel-headers-2.4.27-2-k6/include/linux/autoconf.h
kernel-headers-2.4.27-2-k7: usr/src/kernel-headers-2.4.27-2-k7/include/linux/autoconf.h
kernel-headers-2.4.27-2-k7-smp: usr/src/kernel-headers-2.4.27-2-k7-smp/include/linux/autoconf.h
kernel-headers-2.4.27-speakup: usr/src/kernel-headers-2.4.27-speakup/include/linux/autoconf.h
libuclibc-dev: usr/i386-uclibc-linux/include/linux/autoconf.h
linux-headers-2.6.14-2: usr/src/linux-headers-2.6.14-2/include/linux/autoconf.h
linux-headers-2.6.14-2-386: usr/src/linux-headers-2.6.14-2-386/include/linux/autoconf.h
linux-headers-2.6.14-2-686: usr/src/linux-headers-2.6.14-2-686/include/linux/autoconf.h
linux-headers-2.6.14-2-686-smp: usr/src/linux-headers-2.6.14-2-686-smp/include/linux/autoconf.h
linux-headers-2.6.14-2-k7: usr/src/linux-headers-2.6.14-2-k7/include/linux/autoconf.h
linux-headers-2.6.14-2-k7-smp: usr/src/linux-headers-2.6.14-2-k7-smp/include/linux/autoconf.h
linux-kernel-headers: usr/include/linux/autoconf.h
$ apt-get install kernel-headers-2.4.27-2-386

很明顯的,當然是選擇跟你 kernel 相同版本的 linux-headers 套件。
為什麼開頭目錄不是 /lib/modules/2.4.27-2-386/build ?,因為 build 是一個 symbolic link ,連結到該 kernel 的 headers 位置。
頭像
d2207197
鑽研的研究生
鑽研的研究生
 
文章: 1763
註冊時間: 週二 5月 27, 2003 9:57 pm
來自: 火星

文章訪客 » 週六 12月 10, 2005 11:21 am

many thanks :crying:
you solve my big problem
I forget the tips by using apt-files :-P

the real problem with me is that i don't really understand
the relationship between kernel/kernel-header/kernel-source
i should go study more on it :-P





er...but now have another problem
error message:


root@Hostname: /usr/src/modules/spca5xxroot@Hostname:/usr/src/modules/spca5xx# make
Compiling drivers/usb/spcadecoder.c
In file included from /lib/modules/2.4.27-2-386/build/include/linux/kernel.h:15,
from /lib/modules/2.4.27-2-386/build/include/linux/wait.h:13,
from /lib/modules/2.4.27-2-386/build/include/linux/fs.h:12,
from /lib/modules/2.4.27-2-386/build/include/linux/capability.h:17,
from /lib/modules/2.4.27-2-386/build/include/linux/binfmts.h:5,
from /lib/modules/2.4.27-2-386/build/include/linux/sched.h:9,
from /lib/modules/2.4.27-2-386/build/include/asm/uaccess.h:8,
from drivers/usb/spca5xx.h:11,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/lib/modules/2.4.27-2-386/build/include/asm/byteorder.h:14: warning: type qualifiers ignored on function return type
/lib/modules/2.4.27-2-386/build/include/asm/byteorder.h:30: warning: type qualifiers ignored on function return type
In file included from /lib/modules/2.4.27-2-386/build/include/linux/byteorder/little_endian.h:11,
from /lib/modules/2.4.27-2-386/build/include/asm/byteorder.h:65,
from /lib/modules/2.4.27-2-386/build/include/linux/kernel.h:15,
from /lib/modules/2.4.27-2-386/build/include/linux/wait.h:13,
from /lib/modules/2.4.27-2-386/build/include/linux/fs.h:12,
from /lib/modules/2.4.27-2-386/build/include/linux/capability.h:17,
from /lib/modules/2.4.27-2-386/build/include/linux/binfmts.h:5,
from /lib/modules/2.4.27-2-386/build/include/linux/sched.h:9,
from /lib/modules/2.4.27-2-386/build/include/asm/uaccess.h:8,
from drivers/usb/spca5xx.h:11,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/lib/modules/2.4.27-2-386/build/include/linux/byteorder/swab.h:160: warning: type qualifiers ignored on function return type
/lib/modules/2.4.27-2-386/build/include/linux/byteorder/swab.h:173: warning: type qualifiers ignored on function return type
/lib/modules/2.4.27-2-386/build/include/linux/byteorder/swab.h:186: warning: type qualifiers ignored on function return type
/lib/modules/2.4.27-2-386/build/include/linux/byteorder/swab.h:200: warning: type qualifiers ignored on function return type
In file included from /lib/modules/2.4.27-2-386/build/include/linux/prefetch.h:13,
from /lib/modules/2.4.27-2-386/build/include/linux/list.h:6,
from /lib/modules/2.4.27-2-386/build/include/linux/wait.h:14,
from /lib/modules/2.4.27-2-386/build/include/linux/fs.h:12,
from /lib/modules/2.4.27-2-386/build/include/linux/capability.h:17,
from /lib/modules/2.4.27-2-386/build/include/linux/binfmts.h:5,
from /lib/modules/2.4.27-2-386/build/include/linux/sched.h:9,
from /lib/modules/2.4.27-2-386/build/include/asm/uaccess.h:8,
from drivers/usb/spca5xx.h:11,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/lib/modules/2.4.27-2-386/build/include/asm/processor.h:75: error: array type has incomplete element type
drivers/usb/spcadecoder.c: In function 'decode_spca561':
drivers/usb/spcadecoder.c:703: warning: pointer targets in passing argument 4 of 'internal_spca561_decode' differ in signedness
drivers/usb/spcadecoder.c: In function 'spca50x_outpicture':
drivers/usb/spcadecoder.c:1418: warning: pointer targets in passing argument 2 of 'decode_spca561' differ in signedness
make: *** [drivers/usb/spcadecoder.o] Error 1
]0;root@Hostname: /usr/src/modules/spca5xxroot@Hostname:/usr/src/modules/spca5xx#
訪客
 

文章訪客 » 週六 12月 10, 2005 1:00 pm

at the end of the error message

/lib/modules/2.4.27-2-386/build/include/asm/processor.h:75: error: array type has incomplete element type


do it mean that the driver don't support HT?
訪客
 

文章訪客 » 週六 12月 10, 2005 2:09 pm

我終於去裝了中文輸入法了 囧

我剛剛去關HT再make

還是沒有用 Orz
訪客
 


回到 debian desktop

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客

cron