backup:/usr/src/pdc-ulsata2# make cd cam; make make[1]: Entering directory `/usr/src/pdc-ulsata2/cam' make[1]: `cam_mod.o' is up to date. make[1]: Leaving directory `/usr/src/pdc-ulsata2/cam' gcc -D__KERNEL__ -DMODULE -D__LINUX__ -DEXPORT_SYMTAB -DMODVERSIONS -D_MMIO_ -DSSBOX -DTCQ -DNCQ -I/lib/modules/2.4.27-2-386/build/include -I/lib/modules/2.4.27-2-386/build -Icam -I/lib/modules/2.4.27-2-386/build/arch/i386/mach-generic -include /lib/modules/2.4.27-2-386/build/include/linux/modversions.h -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -fno-common -march=i586 -c pdc-ulsata2.c In file included from /usr/include/asm/system.h:5, from /usr/include/asm/processor.h:18, from /usr/include/asm/thread_info.h:13, from /usr/include/linux/thread_info.h:21, from /usr/include/linux/spinlock.h:19, from /usr/include/linux/vmalloc.h:4, from /usr/include/asm/io.h:46, from pdc-ulsata2.c:31: /usr/include/linux/kernel.h:72: error: syntax error before "size_t" /usr/include/linux/kernel.h:74: error: syntax error before "size_t" In file included from /usr/include/linux/timex.h:186, from /usr/include/linux/sched.h:11, from /usr/include/asm/irq.h:14, from pdc-ulsata2.c:32: /usr/include/linux/time.h:14: error: syntax error before "time_t" /usr/include/linux/time.h:16: error: syntax error before '}' token /usr/include/linux/time.h:20: error: syntax error before "time_t" In file included from /usr/include/linux/timex.h:186, from /usr/include/linux/sched.h:11, from /usr/include/asm/irq.h:14, from pdc-ulsata2.c:32: /usr/include/linux/time.h: In function `timespec_to_jiffies': /usr/include/linux/time.h:198: error: dereferencing pointer to incomplete type /usr/include/linux/time.h:199: error: dereferencing pointer to incomplete type /usr/include/linux/time.h: In function `jiffies_to_timespec': /usr/include/linux/time.h:219: error: dereferencing pointer to incomplete type /usr/include/linux/time.h:219: error: dereferencing pointer to incomplete type /usr/include/linux/time.h: In function `timeval_to_jiffies': /usr/include/linux/time.h:237: error: dereferencing pointer to incomplete type /usr/include/linux/time.h:238: error: dereferencing pointer to incomplete type /usr/include/linux/time.h: In function `jiffies_to_timeval': /usr/include/linux/time.h:257: error: dereferencing pointer to incomplete type /usr/include/linux/time.h:257: error: dereferencing pointer to incomplete type /usr/include/linux/time.h:258: error: dereferencing pointer to incomplete type /usr/include/linux/time.h: In function `timespec_equal': /usr/include/linux/time.h:263: error: dereferencing pointer to incomplete type /usr/include/linux/time.h:263: error: dereferencing pointer to incomplete type /usr/include/linux/time.h:263: error: dereferencing pointer to incomplete type /usr/include/linux/time.h:263: error: dereferencing pointer to incomplete type /usr/include/linux/time.h: In function `get_seconds': /usr/include/linux/time.h:305: error: invalid use of undefined type `struct timespec' /usr/include/linux/time.h: At top level: /usr/include/linux/time.h:329: error: syntax error before "time_t" /usr/include/linux/time.h: In function `set_normalized_timespec': /usr/include/linux/time.h:331: error: `nsec' undeclared (first use in this function) /usr/include/linux/time.h:331: error: (Each undeclared identifier is reported only once /usr/include/linux/time.h:331: error: for each function it appears in.) /usr/include/linux/time.h:333: error: `sec' undeclared (first use in this function) /usr/include/linux/time.h:339: error: `ts' undeclared (first use in this function) /usr/include/linux/time.h: At top level: /usr/include/linux/time.h:359: error: field `it_interval' has incomplete type /usr/include/linux/time.h:360: error: field `it_value' has incomplete type /usr/include/linux/time.h:364: error: field `it_interval' has incomplete type /usr/include/linux/time.h:365: error: field `it_value' has incomplete type In file included from /usr/include/linux/sched.h:11, from /usr/include/asm/irq.h:14, from pdc-ulsata2.c:32: /usr/include/linux/timex.h:203: error: field `time' has incomplete type In file included from /usr/include/linux/string.h:23, from /usr/include/linux/bitmap.h:11, from /usr/include/linux/cpumask.h:8, from /usr/include/linux/sched.h:15, from /usr/include/asm/irq.h:14, from pdc-ulsata2.c:32: /usr/include/asm/string.h:41: error: syntax error before "size_t" /usr/include/asm/string.h: In function `strncpy': /usr/include/asm/string.h:55: error: `src' undeclared (first use in this function) /usr/include/asm/string.h:55: error: `dest' undeclared (first use in this function) /usr/include/asm/string.h:55: error: `count' undeclared (first use in this function) /usr/include/asm/string.h: At top level: /usr/include/asm/string.h:77: error: syntax error before "size_t" /usr/include/asm/string.h: In function `strncat': /usr/include/asm/string.h:94: error: `src' undeclared (first use in this function) /usr/include/asm/string.h:94: error: `dest' undeclared (first use in this function) /usr/include/asm/string.h:94: error: `count' undeclared (first use in this function) /usr/include/asm/string.h: At top level: /usr/include/asm/string.h:121: error: syntax error before "size_t" /usr/include/asm/string.h: In function `strncmp': /usr/include/asm/string.h:139: error: `cs' undeclared (first use in this function) /usr/include/asm/string.h:139: error: `ct' undeclared (first use in this function) /usr/include/asm/string.h:139: error: `count' undeclared (first use in this function) /usr/include/asm/string.h: At top level: /usr/include/asm/string.h:180: error: syntax error before "strlen" /usr/include/asm/string.h:193: error: syntax error before "size_t" /usr/include/asm/string.h: In function `__memcpy': /usr/include/asm/string.h:206: error: `n' undeclared (first use in this function) /usr/include/asm/string.h:206: error: `to' undeclared (first use in this function) /usr/include/asm/string.h:206: error: `from' undeclared (first use in this function) /usr/include/asm/string.h: At top level: /usr/include/asm/string.h:215: error: syntax error before "size_t" /usr/include/asm/string.h: In function `__constant_memcpy': /usr/include/asm/string.h:217: error: `n' undeclared (first use in this function) /usr/include/asm/string.h:218: error: `to' undeclared (first use in this function) /usr/include/asm/string.h:218: error: `from' undeclared (first use in this function) /usr/include/asm/string.h: At top level: /usr/include/asm/string.h:299: error: syntax error before "size_t" /usr/include/asm/string.h: In function `memmove': /usr/include/asm/string.h:302: error: `dest' undeclared (first use in this function) /usr/include/asm/string.h:302: error: `src' undeclared (first use in this function) /usr/include/asm/string.h:307: error: `n' undeclared (first use in this function) /usr/include/asm/string.h: At top level: /usr/include/asm/string.h:326: error: syntax error before "size_t" /usr/include/asm/string.h: In function `memchr': /usr/include/asm/string.h:330: error: `count' undeclared (first use in this function) /usr/include/asm/string.h:338: error: `c' undeclared (first use in this function) /usr/include/asm/string.h:338: error: `cs' undeclared (first use in this function) /usr/include/asm/string.h: At top level: /usr/include/asm/string.h:342: error: syntax error before "size_t" /usr/include/asm/string.h: In function `__memset_generic': /usr/include/asm/string.h:349: error: `c' undeclared (first use in this function) /usr/include/asm/string.h:349: error: `s' undeclared (first use in this function) /usr/include/asm/string.h:349: error: `count' undeclared (first use in this function) /usr/include/asm/string.h: At top level: /usr/include/asm/string.h:362: error: syntax error before "size_t" /usr/include/asm/string.h: In function `__constant_c_memset': /usr/include/asm/string.h:375: error: `c' undeclared (first use in this function) /usr/include/asm/string.h:375: error: `count' undeclared (first use in this function) /usr/include/asm/string.h:375: error: `s' undeclared (first use in this function) /usr/include/asm/string.h: At top level: /usr/include/asm/string.h:382: error: syntax error before "strnlen" /usr/include/asm/string.h:382: error: syntax error before "size_t" /usr/include/asm/string.h: In function `strnlen': /usr/include/asm/string.h:397: error: `s' undeclared (first use in this function) /usr/include/asm/string.h:397: error: `count' undeclared (first use in this function) /usr/include/asm/string.h: At top level: /usr/include/asm/string.h:410: error: syntax error before "size_t" /usr/include/asm/string.h: In function `__constant_c_and_count_memset': /usr/include/asm/string.h:412: error: `count' undeclared (first use in this function) /usr/include/asm/string.h:414: error: `s' undeclared (first use in this function) /usr/include/asm/string.h:416: error: `pattern' undeclared (first use in this function) /usr/include/asm/string.h: At top level: /usr/include/asm/string.h:469: error: syntax error before "size_t" /usr/include/asm/string.h: In function `memscan': /usr/include/asm/string.h:471: error: `size' undeclared (first use in this function) /usr/include/asm/string.h:472: error: `addr' undeclared (first use in this function) /usr/include/asm/string.h:478: error: `c' undeclared (first use in this function) In file included from /usr/include/linux/bitmap.h:11, from /usr/include/linux/cpumask.h:8, from /usr/include/linux/sched.h:15, from /usr/include/asm/irq.h:14, from pdc-ulsata2.c:32: /usr/include/linux/string.h: At top level: /usr/include/linux/string.h:32: error: syntax error before "strlcpy" /usr/include/linux/string.h:32: error: syntax error before "size_t" /usr/include/linux/string.h:41: error: syntax error before "strlcat" In file included from /usr/include/linux/sem.h:4, from /usr/include/linux/sched.h:24, from /usr/include/asm/irq.h:14, from pdc-ulsata2.c:32: /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:69: error: syntax error before '}' token In file included from /usr/include/linux/sched.h:24, from /usr/include/asm/irq.h:14, from pdc-ulsata2.c:32: /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 /usr/include/linux/sem.h:137: error: syntax error before "key" In file included from /usr/include/linux/signal.h:6, from /usr/include/linux/sched.h:25, from /usr/include/asm/irq.h:14, from pdc-ulsata2.c:32: /usr/include/asm/signal.h:176: error: syntax error before "size_t" In file included from /usr/include/asm/siginfo.h:4, from /usr/include/linux/signal.h:7, from /usr/include/linux/sched.h:25, from /usr/include/asm/irq.h:14, from pdc-ulsata2.c:32: /usr/include/asm-generic/siginfo.h:45: error: syntax error before "pid_t" /usr/include/asm-generic/siginfo.h:51: error: syntax error before "timer_t" /usr/include/asm-generic/siginfo.h:53: error: `uid_t' undeclared here (not in a function) /usr/include/asm-generic/siginfo.h:53: error: size of array `_pad' is too large /usr/include/asm-generic/siginfo.h:56: error: syntax error before '}' token /usr/include/asm-generic/siginfo.h:60: error: syntax error before "pid_t" /usr/include/asm-generic/siginfo.h:63: error: syntax error before '}' token /usr/include/asm-generic/siginfo.h:67: error: syntax error before "pid_t" /usr/include/asm-generic/siginfo.h:70: error: syntax error before "_utime" /usr/include/asm-generic/siginfo.h:71: error: syntax error before "_stime" /usr/include/asm-generic/siginfo.h:87: error: syntax error before '}' token /usr/include/asm-generic/siginfo.h:88: error: syntax error before '}' token /usr/include/asm-generic/siginfo.h: In function `copy_siginfo': /usr/include/asm-generic/siginfo.h:274: error: dereferencing pointer to incomplete type /usr/include/asm-generic/siginfo.h:275: error: dereferencing pointer to incomplete type /usr/include/asm-generic/siginfo.h:275: error: dereferencing pointer to incomplete type /usr/include/asm-generic/siginfo.h:275: error: dereferencing pointer to incomplete type /usr/include/asm-generic/siginfo.h:278: error: dereferencing pointer to incomplete type /usr/include/asm-generic/siginfo.h:278: error: dereferencing pointer to incomplete type /usr/include/asm-generic/siginfo.h:278: error: dereferencing pointer to incomplete type In file included from /usr/include/linux/sched.h:25, from /usr/include/asm/irq.h:14, from pdc-ulsata2.c:32: /usr/include/linux/signal.h: At top level: /usr/include/linux/signal.h:18: error: syntax error before "siginfo_t" /usr/include/linux/signal.h:215: error: syntax error before '*' token 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/sched.h:31, from /usr/include/asm/irq.h:14, from pdc-ulsata2.c:32: /usr/include/linux/mmzone.h:286: error: syntax error before "size_t" In file included from /usr/include/linux/percpu.h:4, from /usr/include/linux/sched.h:31, from /usr/include/asm/irq.h:14, from pdc-ulsata2.c:32: /usr/include/linux/slab.h:58: error: syntax error before "int" /usr/include/linux/slab.h:59: error: syntax error before "size_t" /usr/include/linux/slab.h:60: error: `kmem_cache_create_Rd1c0b4e6' declared as function returning a function /usr/include/linux/slab.h:61: error: syntax error before "void" /usr/include/linux/slab.h:70: error: syntax error before "size_t" /usr/include/linux/slab.h:73: error: syntax error before '}' token /usr/include/linux/slab.h:75: error: syntax error before "int" /usr/include/linux/slab.h:77: error: syntax error before "size" /usr/include/linux/slab.h: In function `kmalloc_R93d4cfe6': /usr/include/linux/slab.h:79: error: `size' undeclared (first use in this function) In file included from /usr/include/linux/percpu.h:4, from /usr/include/linux/sched.h:31, from /usr/include/asm/irq.h:14, from pdc-ulsata2.c:32: /usr/include/linux/slab.h:93: error: `flags' undeclared (first use in this function) /usr/include/linux/slab.h:94: error: invalid use of undefined type `struct cache_sizes' /usr/include/linux/slab.h:95: error: invalid use of undefined type `struct cache_sizes' In file included from /usr/include/linux/sched.h:31, from /usr/include/asm/irq.h:14, from pdc-ulsata2.c:32: /usr/include/linux/percpu.h: At top level: /usr/include/linux/percpu.h:44: error: syntax error before "size" /usr/include/linux/percpu.h: In function `__alloc_percpu': /usr/include/linux/percpu.h:46: error: `size' undeclared (first use in this function) In file included from /usr/include/linux/sched.h:101, from /usr/include/asm/irq.h:14, from pdc-ulsata2.c:32: /usr/include/linux/resource.h: At top level: /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:183, from /usr/include/asm/irq.h:14, from pdc-ulsata2.c:32: /usr/include/linux/aio.h:64: error: syntax error before "loff_t" /usr/include/linux/aio.h:67: error: syntax error before '}' token /usr/include/linux/aio.h:143: error: syntax error before "wait_on_sync_kiocb" /usr/include/linux/aio.h: In function `list_kiocb': /usr/include/linux/aio.h:166: error: dereferencing pointer to incomplete type /usr/include/linux/aio.h:166: error: `size_t' undeclared (first use in this function) /usr/include/linux/aio.h:166: error: dereferencing pointer to incomplete type In file included from /usr/include/asm/irq.h:14, from pdc-ulsata2.c:32: /usr/include/linux/sched.h: At top level: /usr/include/linux/sched.h:299: error: syntax error before "uid_t" /usr/include/linux/sched.h:315: error: syntax error before "clockid_t" /usr/include/linux/sched.h:327: error: syntax error before '}' token /usr/include/linux/sched.h:368: error: syntax error before "pid_t" /usr/include/linux/sched.h:370: error: syntax error before "tty_old_pgrp" /usr/include/linux/sched.h:371: error: syntax error before "session" /usr/include/linux/sched.h:372: error: syntax error before "tgid" /usr/include/linux/sched.h:405: error: syntax error before "uid" /usr/include/linux/sched.h:406: error: syntax error before "gid" /usr/include/linux/sched.h:408: error: syntax error before "groups" /usr/include/linux/sched.h:410: error: syntax error before ':' token /usr/include/linux/sched.h:437: error: syntax error before "sas_ss_size" /usr/include/linux/sched.h:466: error: syntax error before '*' token /usr/include/linux/sched.h:467: error: syntax error before '}' token /usr/include/linux/sched.h:469: error: syntax error before "process_group" /usr/include/linux/sched.h: In function `process_group': /usr/include/linux/sched.h:471: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: At top level: /usr/include/linux/sched.h:560: error: syntax error before "session" /usr/include/linux/sched.h:561: error: syntax error before "session" In file included from /usr/include/asm/irq.h:14, from pdc-ulsata2.c:32: /usr/include/linux/sched.h:580: error: syntax error before "pid" /usr/include/linux/sched.h:588: error: syntax error before "siginfo_t" /usr/include/linux/sched.h:590: error: syntax error before "siginfo_t" /usr/include/linux/sched.h: In function `dequeue_signal_lock': /usr/include/linux/sched.h:595: error: `tsk' undeclared (first use in this function) /usr/include/linux/sched.h:596: error: `mask' undeclared (first use in this function) /usr/include/linux/sched.h:596: error: `info' undeclared (first use in this function) /usr/include/linux/sched.h: At top level: /usr/include/linux/sched.h:609: error: syntax error before "pid_t" /usr/include/linux/sched.h:610: error: syntax error before "pid_t" /usr/include/linux/sched.h:611: error: syntax error before "pid_t" /usr/include/linux/sched.h:612: error: syntax error before "pid_t" /usr/include/linux/sched.h:619: error: syntax error before "int" /usr/include/linux/sched.h:620: error: syntax error before "int" /usr/include/linux/sched.h:621: error: syntax error before "int" /usr/include/linux/sched.h:627: error: syntax error before '*' token /usr/include/linux/sched.h: In function `on_sig_stack': /usr/include/linux/sched.h:638: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h:638: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `sas_ss_flags': /usr/include/linux/sched.h:643: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `capable': /usr/include/linux/sched.h:654: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h:655: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `thread_group_empty': /usr/include/linux/sched.h:749: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `task_lock': /usr/include/linux/sched.h:766: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `task_unlock': /usr/include/linux/sched.h:771: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `get_task_mm': /usr/include/linux/sched.h:785: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `set_tsk_thread_flag': /usr/include/linux/sched.h:799: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `clear_tsk_thread_flag': /usr/include/linux/sched.h:804: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `test_and_set_tsk_thread_flag': /usr/include/linux/sched.h:809: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `test_and_clear_tsk_thread_flag': /usr/include/linux/sched.h:814: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `test_tsk_thread_flag': /usr/include/linux/sched.h:819: error: dereferencing pointer to incomplete type In file included from pdc-ulsata2.c:32: /usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory In file included from /usr/include/linux/module.h:13, from pdc-ulsata2.c:35: /usr/include/linux/stat.h: At top level: /usr/include/linux/stat.h:61: error: syntax error before "dev_t" /usr/include/linux/stat.h:62: error: conflicting types for `mode' /usr/include/linux/ipc.h:66: error: previous declaration of `mode' /usr/include/linux/stat.h:63: error: syntax error before "nlink" /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:67: error: `size' used prior to declaration /usr/include/linux/stat.h:73: error: syntax error before '}' token In file included from /usr/include/linux/kobject.h:20, from /usr/include/linux/device.h:16, from /usr/include/linux/pci.h:347, from pdc-ulsata2.c:43: /usr/include/linux/sysfs.h:18: error: syntax error before "mode_t" /usr/include/linux/sysfs.h:22: error: field `attr' has incomplete type /usr/include/linux/sysfs.h:23: error: syntax error before "size_t" /usr/include/linux/sysfs.h:24: error: syntax error before '*' token /usr/include/linux/sysfs.h:24: error: syntax error before "loff_t" /usr/include/linux/sysfs.h:24: error: `ssize_t' declared as function returning a function /usr/include/linux/sysfs.h:25: error: syntax error before '*' token /usr/include/linux/sysfs.h:25: error: syntax error before "loff_t" /usr/include/linux/sysfs.h:25: error: `ssize_t' declared as function returning a function /usr/include/linux/sysfs.h:32: error: syntax error before "ssize_t" /usr/include/linux/sysfs.h:33: error: syntax error before '*' token /usr/include/linux/sysfs.h:33: error: syntax error before "size_t" /usr/include/linux/sysfs.h:33: error: `ssize_t' declared as function returning a function In file included from /usr/include/linux/device.h:16, from /usr/include/linux/pci.h:347, from pdc-ulsata2.c:43: /usr/include/linux/kobject.h: In function `to_kset': /usr/include/linux/kobject.h:108: error: `size_t' undeclared (first use in this function) /usr/include/linux/kobject.h: In function `subsys_get': /usr/include/linux/kobject.h:206: error: `size_t' undeclared (first use in this function) /usr/include/linux/kobject.h: At top level: /usr/include/linux/kobject.h:215: error: field `attr' has incomplete type /usr/include/linux/kobject.h:216: error: syntax error before "ssize_t" /usr/include/linux/kobject.h:217: error: syntax error before '*' token /usr/include/linux/kobject.h:217: error: syntax error before "size_t" /usr/include/linux/kobject.h:217: error: `ssize_t' declared as function returning a function In file included from /usr/include/linux/pci.h:347, from pdc-ulsata2.c:43: /usr/include/linux/device.h:87: error: field `attr' has incomplete type /usr/include/linux/device.h:88: error: syntax error before "ssize_t" /usr/include/linux/device.h:89: error: syntax error before '*' token /usr/include/linux/device.h:89: error: syntax error before "size_t" /usr/include/linux/device.h:89: error: `ssize_t' declared as function returning a function /usr/include/linux/device.h:128: error: field `attr' has incomplete type /usr/include/linux/device.h:129: error: syntax error before "ssize_t" /usr/include/linux/device.h:130: error: syntax error before '*' token /usr/include/linux/device.h:130: error: syntax error before "size_t" /usr/include/linux/device.h:130: error: `ssize_t' declared as function returning a function /usr/include/linux/device.h:168: error: field `attr' has incomplete type /usr/include/linux/device.h:169: error: syntax error before "ssize_t" /usr/include/linux/device.h:170: error: syntax error before '*' token /usr/include/linux/device.h:170: error: syntax error before "size_t" /usr/include/linux/device.h:170: error: `ssize_t' declared as function returning a function /usr/include/linux/device.h:220: error: field `attr' has incomplete type /usr/include/linux/device.h:221: error: syntax error before "ssize_t" /usr/include/linux/device.h:222: error: syntax error before '*' token /usr/include/linux/device.h:222: error: syntax error before "size_t" /usr/include/linux/device.h:222: error: `ssize_t' declared as function returning a function /usr/include/linux/device.h: In function `list_to_dev': /usr/include/linux/device.h:285: error: `size_t' undeclared (first use in this function) /usr/include/linux/device.h: At top level: /usr/include/linux/device.h:324: error: field `attr' has incomplete type /usr/include/linux/device.h:325: error: syntax error before "ssize_t" /usr/include/linux/device.h:326: error: syntax error before '*' token /usr/include/linux/device.h:326: error: syntax error before "size_t" /usr/include/linux/device.h:326: error: `ssize_t' declared as function returning a function In file included from pdc-ulsata2.c:43: /usr/include/linux/pci.h:690: error: syntax error before "size_t" In file included from /usr/include/linux/fs.h:14, from /usr/include/linux/mm.h:14, from /usr/include/asm/pci.h:7, from /usr/include/linux/pci.h:704, from pdc-ulsata2.c:43: /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/mm.h:14, from /usr/include/asm/pci.h:7, from /usr/include/linux/pci.h:704, from pdc-ulsata2.c:43: /usr/include/linux/fs.h: At top level: /usr/include/linux/fs.h:221: error: syntax error before "sector_t" /usr/include/linux/fs.h:223: error: syntax error before "sector_t" /usr/include/linux/fs.h:226: error: syntax error before "loff_t" /usr/include/linux/fs.h:259: error: syntax error before "uid_t" /usr/include/linux/fs.h:261: error: syntax error before "ia_size" /usr/include/linux/fs.h:266: error: syntax error before '}' token In file included from /usr/include/linux/fs.h:280, from /usr/include/linux/mm.h:14, from /usr/include/asm/pci.h:7, from /usr/include/linux/pci.h:704, from pdc-ulsata2.c:43: /usr/include/linux/quota.h:151: 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/mm.h:14, from /usr/include/asm/pci.h:7, from /usr/include/linux/pci.h:704, from pdc-ulsata2.c:43: /usr/include/linux/fs.h:311: error: syntax error before "sector_t" /usr/include/linux/fs.h:315: error: syntax error before "loff_t" /usr/include/linux/fs.h:342: error: syntax error before "dev_t" /usr/include/linux/fs.h:356: error: syntax error before '}' token /usr/include/linux/fs.h:377: error: syntax error before "uid_t" /usr/include/linux/fs.h:379: error: syntax error before "i_rdev" /usr/include/linux/fs.h:380: error: syntax error before "i_size" /usr/include/linux/fs.h:422: error: syntax error before '}' token /usr/include/linux/fs.h:434: error: syntax error before "i_size_read" /usr/include/linux/fs.h: In function `i_size_read': /usr/include/linux/fs.h:453: error: dereferencing pointer to incomplete type /usr/include/linux/fs.h: At top level: /usr/include/linux/fs.h:458: error: syntax error before "loff_t" /usr/include/linux/fs.h: In function `i_size_write': /usr/include/linux/fs.h:469: error: `inode' undeclared (first use in this function) /usr/include/linux/fs.h: In function `iminor': /usr/include/linux/fs.h:475: error: dereferencing pointer to incomplete type /usr/include/linux/fs.h: In function `imajor': /usr/include/linux/fs.h:480: error: dereferencing pointer to incomplete type /usr/include/linux/fs.h: At top level: /usr/include/linux/fs.h:486: error: syntax error before "uid_t" /usr/include/linux/fs.h:489: error: syntax error before '}' token /usr/include/linux/fs.h:513: error: syntax error before "mode_t" /usr/include/linux/fs.h:529: error: syntax error before '}' token In file included from /usr/include/linux/mm.h:14, from /usr/include/asm/pci.h:7, from /usr/include/linux/pci.h:704, from pdc-ulsata2.c:43: /usr/include/linux/fs.h:581: error: syntax error before "loff_t" /usr/include/linux/fs.h:594: error: syntax error before '}' token In file included from /usr/include/linux/fcntl.h:4, from /usr/include/linux/fs.h:605, from /usr/include/linux/mm.h:14, from /usr/include/asm/pci.h:7, from /usr/include/linux/pci.h:704, from pdc-ulsata2.c:43: /usr/include/asm/fcntl.h:72: error: syntax error before "off_t" /usr/include/asm/fcntl.h:74: error: syntax error before "l_pid" /usr/include/asm/fcntl.h:80: error: syntax error before "loff_t" /usr/include/asm/fcntl.h:82: error: syntax error before "l_pid" In file included from /usr/include/linux/mm.h:14, from /usr/include/asm/pci.h:7, from /usr/include/linux/pci.h:704, from pdc-ulsata2.c:43: /usr/include/linux/fs.h:631: error: syntax error before "loff_t" /usr/include/linux/fs.h:632: error: syntax error before "loff_t" /usr/include/linux/fs.h:668: error: syntax error before "dev_t" /usr/include/linux/fs.h:709: error: syntax error before '}' token /usr/include/linux/fs.h: In function `lock_super': /usr/include/linux/fs.h:716: error: dereferencing pointer to incomplete type /usr/include/linux/fs.h: In function `unlock_super': /usr/include/linux/fs.h:721: error: dereferencing pointer to incomplete type /usr/include/linux/fs.h: At top level: /usr/include/linux/fs.h:729: error: syntax error before "dev_t" /usr/include/linux/fs.h:758: error: syntax error before "loff_t" /usr/include/linux/fs.h:779: error: syntax error before "size_t" /usr/include/linux/fs.h:780: error: `count' used prior to declaration /usr/include/linux/fs.h:783: error: syntax error before '}' token /usr/include/linux/fs.h:785: error: syntax error before '*' token /usr/include/linux/fs.h:794: error: syntax error before "loff_t" /usr/include/linux/fs.h:795: error: syntax error before '*' token /usr/include/linux/fs.h:795: error: syntax error before "size_t" /usr/include/linux/fs.h:795: error: `ssize_t' declared as function returning a function /usr/include/linux/fs.h:796: error: syntax error before '*' token /usr/include/linux/fs.h:796: error: syntax error before "size_t" /usr/include/linux/fs.h:796: error: `ssize_t' declared as function returning a function /usr/include/linux/fs.h:797: error: syntax error before '*' token /usr/include/linux/fs.h:797: error: syntax error before "size_t" /usr/include/linux/fs.h:797: error: `ssize_t' declared as function returning a function /usr/include/linux/fs.h:798: error: syntax error before '*' token /usr/include/linux/fs.h:798: error: syntax error before "size_t" /usr/include/linux/fs.h:798: error: `ssize_t' declared as function returning a function /usr/include/linux/fs.h:810: error: syntax error before '*' token /usr/include/linux/fs.h:810: error: syntax error before "loff_t" /usr/include/linux/fs.h:810: error: `ssize_t' declared as function returning a function /usr/include/linux/fs.h:811: error: syntax error before '*' token /usr/include/linux/fs.h:811: error: syntax error before "loff_t" /usr/include/linux/fs.h:811: error: `ssize_t' declared as function returning a function /usr/include/linux/fs.h:812: error: syntax error before '*' token /usr/include/linux/fs.h:812: error: syntax error before "loff_t" /usr/include/linux/fs.h:812: error: `ssize_t' declared as function returning a function /usr/include/linux/fs.h:813: error: syntax error before '*' token /usr/include/linux/fs.h:813: error: syntax error before "size_t" /usr/include/linux/fs.h:813: error: `ssize_t' declared as function returning a function /usr/include/linux/fs.h:815: error: syntax error before '}' token /usr/include/linux/fs.h:825: error: syntax error before "dev_t" /usr/include/linux/fs.h:834: error: syntax error before "size_t" /usr/include/linux/fs.h:836: error: syntax error before '*' token /usr/include/linux/fs.h:836: error: syntax error before "size_t" /usr/include/linux/fs.h:836: error: `ssize_t' declared as function returning a function /usr/include/linux/fs.h:838: error: syntax error before '}' token /usr/include/linux/fs.h:842: error: syntax error before "vfs_read" /usr/include/linux/fs.h:842: error: syntax error before "size_t" /usr/include/linux/fs.h:843: error: syntax error before "vfs_write" /usr/include/linux/fs.h:843: error: syntax error before "size_t" /usr/include/linux/fs.h:844: error: syntax error before "vfs_readv" /usr/include/linux/fs.h:845: error: syntax error before "loff_t" /usr/include/linux/fs.h:846: error: syntax error before "vfs_writev" /usr/include/linux/fs.h:847: error: syntax error before "loff_t" /usr/include/linux/fs.h:1059: error: syntax error before "loff_t" /usr/include/linux/fs.h: In function `locks_verify_locked': /usr/include/linux/fs.h:1070: error: dereferencing pointer to incomplete type /usr/include/linux/fs.h:1070: error: dereferencing pointer to incomplete type /usr/include/linux/fs.h: At top level: /usr/include/linux/fs.h:1076: error: syntax error before "loff_t" /usr/include/linux/fs.h: In function `locks_verify_area': /usr/include/linux/fs.h:1079: error: `inode' undeclared (first use in this function) /usr/include/linux/fs.h:1080: error: `read_write' undeclared (first use in this function) /usr/include/linux/fs.h:1080: error: `filp' undeclared (first use in this function) /usr/include/linux/fs.h:1080: error: `offset' undeclared (first use in this function) /usr/include/linux/fs.h: At top level: /usr/include/linux/fs.h:1086: error: syntax error before "loff_t" /usr/include/linux/fs.h: In function `locks_verify_truncate': /usr/include/linux/fs.h:1088: error: `inode' undeclared (first use in this function) /usr/include/linux/fs.h:1090: error: `filp' undeclared (first use in this function) /usr/include/linux/fs.h: In function `break_lease': /usr/include/linux/fs.h:1100: error: dereferencing pointer to incomplete type /usr/include/linux/fs.h: At top level: /usr/include/linux/fs.h:1109: error: syntax error before "loff_t" /usr/include/linux/fs.h:1131: error: syntax error before "unsigned" /usr/include/linux/fs.h:1139: error: syntax error before "mode_t" /usr/include/linux/fs.h:1146: error: syntax error before '*' token /usr/include/linux/fs.h:1147: error: syntax error before "unsigned" /usr/include/linux/fs.h:1151: error: syntax error before "unsigned" /usr/include/linux/fs.h:1156: error: syntax error before "char" /usr/include/linux/fs.h:1162: error: syntax error before "dev_t" /usr/include/linux/fs.h:1192: error: syntax error before "pgoff_t" /usr/include/linux/fs.h: In function `invalidate_remote_inode': /usr/include/linux/fs.h:1196: error: dereferencing pointer to incomplete type /usr/include/linux/fs.h:1196: error: dereferencing pointer to incomplete type /usr/include/linux/fs.h:1197: error: dereferencing pointer to incomplete type /usr/include/linux/fs.h:1198: error: dereferencing pointer to incomplete type /usr/include/linux/fs.h: At top level: /usr/include/linux/fs.h:1211: error: syntax error before "bmap_R7e035103" /usr/include/linux/fs.h:1211: error: syntax error before "sector_t" /usr/include/linux/fs.h: In function `put_write_access': /usr/include/linux/fs.h:1220: error: dereferencing pointer to incomplete type /usr/include/linux/fs.h: In function `allow_write_access': /usr/include/linux/fs.h:1225: error: dereferencing pointer to incomplete type /usr/include/linux/fs.h: At top level: /usr/include/linux/fs.h:1237: error: syntax error before "find_inode_number_Re8befd3e" In file included from /usr/include/linux/mm.h:14, from /usr/include/asm/pci.h:7, from /usr/include/linux/pci.h:704, from pdc-ulsata2.c:43: /usr/include/linux/fs.h:1242: error: syntax error before "default_llseek_Rfac4f032" /usr/include/linux/fs.h:1242: error: syntax error before "loff_t" /usr/include/linux/fs.h:1247: error: syntax error before "iunique_Ra26fbe81" /usr/include/linux/fs.h:1247: error: syntax error before "ino_t" /usr/include/linux/fs.h: In function `iget': /usr/include/linux/fs.h:1263: error: dereferencing pointer to incomplete type /usr/include/linux/fs.h:1264: error: dereferencing pointer to incomplete type /usr/include/linux/fs.h: In function `insert_inode_hash_Rde6e9b7b': /usr/include/linux/fs.h:1280: error: dereferencing pointer to incomplete type /usr/include/linux/fs.h: At top level: /usr/include/linux/fs.h:1295: error: syntax error before '*' token /usr/include/linux/fs.h:1296: error: syntax error before '*' token /usr/include/linux/fs.h:1297: error: syntax error before "generic_file_read_Rea070d6f" /usr/include/linux/fs.h:1297: error: syntax error before "size_t" /usr/include/linux/fs.h:1299: error: syntax error before "loff_t" /usr/include/linux/fs.h:1300: error: syntax error before "generic_file_write_Reab6a455" /usr/include/linux/fs.h:1300: error: syntax error before "size_t" /usr/include/linux/fs.h:1301: error: syntax error before "generic_file_aio_read" /usr/include/linux/fs.h:1301: error: syntax error before "size_t" /usr/include/linux/fs.h:1302: error: syntax error before "__generic_file_aio_read" /usr/include/linux/fs.h:1302: error: syntax error before "loff_t" /usr/include/linux/fs.h:1303: error: syntax error before "generic_file_aio_write" /usr/include/linux/fs.h:1303: error: syntax error before "size_t" /usr/include/linux/fs.h:1304: error: syntax error before "generic_file_aio_write_nolock" /usr/include/linux/fs.h:1305: error: syntax error before "loff_t" /usr/include/linux/fs.h:1306: error: syntax error before "do_sync_read" /usr/include/linux/fs.h:1306: error: syntax error before "size_t" /usr/include/linux/fs.h:1307: error: syntax error before "do_sync_write" /usr/include/linux/fs.h:1307: error: syntax error before "size_t" /usr/include/linux/fs.h:1308: error: syntax error before "generic_file_write_nolock" /usr/include/linux/fs.h:1309: error: syntax error before "loff_t" /usr/include/linux/fs.h:1310: error: syntax error before "generic_file_sendfile" /usr/include/linux/fs.h:1310: error: syntax error before "loff_t" /usr/include/linux/fs.h:1312: error: syntax error before "loff_t" /usr/include/linux/fs.h:1315: error: syntax error before "generic_file_direct_IO" /usr/include/linux/fs.h:1316: error: syntax error before "loff_t" /usr/include/linux/fs.h:1318: error: syntax error before "loff_t" /usr/include/linux/fs.h:1320: error: syntax error before "generic_file_readv" /usr/include/linux/fs.h:1321: error: syntax error before "loff_t" /usr/include/linux/fs.h:1322: error: syntax error before "generic_file_writev" /usr/include/linux/fs.h:1323: error: syntax error before "loff_t" /usr/include/linux/fs.h:1324: error: syntax error before "no_llseek_R4aeb1c1c" /usr/include/linux/fs.h:1324: error: syntax error before "loff_t" /usr/include/linux/fs.h:1325: error: syntax error before "generic_file_llseek_R1946000e" /usr/include/linux/fs.h:1325: error: syntax error before "loff_t" /usr/include/linux/fs.h:1326: error: syntax error before "remote_llseek" /usr/include/linux/fs.h:1326: error: syntax error before "loff_t" /usr/include/linux/fs.h:1329: error: syntax error before "loff_t" /usr/include/linux/fs.h: In function `do_generic_file_read_Rf49ac4b1': /usr/include/linux/fs.h:1333: error: `filp' undeclared (first use in this function) /usr/include/linux/fs.h:1336: error: `ppos' undeclared (first use in this function) /usr/include/linux/fs.h:1337: error: `desc' undeclared (first use in this function) /usr/include/linux/fs.h:1338: error: `actor' undeclared (first use in this function) /usr/include/linux/fs.h: At top level: /usr/include/linux/fs.h:1353: error: syntax error before "loff_t" /usr/include/linux/fs.h:1354: error: syntax error before "loff_t" /usr/include/linux/fs.h:1355: error: syntax error before "inode_get_bytes" /usr/include/linux/fs.h:1356: error: syntax error before "loff_t" /usr/include/linux/fs.h:1371: error: syntax error before "dcache_dir_lseek_Ra44d0302" /usr/include/linux/fs.h:1371: error: syntax error before "loff_t" /usr/include/linux/fs.h:1388: error: syntax error before "generic_read_dir_Re71a4360" /usr/include/linux/fs.h:1388: error: syntax error before "size_t" /usr/include/linux/fs.h:1401: error: syntax error before "parent_ino" /usr/include/linux/fs.h: In function `parent_ino': /usr/include/linux/fs.h:1403: error: `ino_t' undeclared (first use in this function) /usr/include/linux/fs.h:1403: error: syntax error before "res" /usr/include/linux/fs.h:1406: error: `res' undeclared (first use in this function) /usr/include/linux/fs.h:1406: error: dereferencing pointer to incomplete type In file included from /usr/include/asm/pci.h:7, from /usr/include/linux/pci.h:704, from pdc-ulsata2.c:43: /usr/include/linux/mm.h: At top level: /usr/include/linux/mm.h:409: error: syntax error before "loff_t" /usr/include/linux/mm.h:427: error: syntax error before "loff_t" /usr/include/linux/mm.h:429: error: syntax error before "loff_t" /usr/include/linux/mm.h:439: error: syntax error before "loff_t" /usr/include/linux/mm.h: In function `set_page_dirty_Rc05e5c40': /usr/include/linux/mm.h:483: error: dereferencing pointer to incomplete type /usr/include/linux/mm.h: At top level: /usr/include/linux/mm.h:518: error: `get_unmapped_area_R74d2092b' redeclared as different kind of symbol /usr/include/linux/fs.h:814: error: previous declaration of `get_unmapped_area_R74d2092b' /usr/include/linux/mm.h:537: error: syntax error before "size_t" /usr/include/linux/mm.h:563: error: syntax error before "loff_t" /usr/include/linux/mm.h:584: error: syntax error before "pgoff_t" In file included from /usr/include/linux/pci.h:704, from pdc-ulsata2.c:43: /usr/include/asm/pci.h:80: error: syntax error before "size_t" In file included from /usr/include/linux/dma-mapping.h:13, from /usr/include/asm-generic/pci-dma-compat.h:7, from /usr/include/asm/pci.h:92, from /usr/include/linux/pci.h:704, from pdc-ulsata2.c:43: /usr/include/asm/dma-mapping.h:9: error: syntax error before "size_t" /usr/include/asm/dma-mapping.h:12: error: syntax error before "size_t" /usr/include/asm/dma-mapping.h:16: error: syntax error before "size_t" /usr/include/asm/dma-mapping.h: In function `dma_map_single': /usr/include/asm/dma-mapping.h:19: error: `direction' undeclared (first use in this function) /usr/include/asm/dma-mapping.h:21: error: `ptr' undeclared (first use in this function) /usr/include/asm/dma-mapping.h: At top level: /usr/include/asm/dma-mapping.h:25: error: syntax error before "size_t" /usr/include/asm/dma-mapping.h: In function `dma_unmap_single': /usr/include/asm/dma-mapping.h:28: error: `direction' undeclared (first use in this function) /usr/include/asm/dma-mapping.h: At top level: /usr/include/asm/dma-mapping.h:51: error: syntax error before "size_t" /usr/include/asm/dma-mapping.h: In function `dma_map_page': /usr/include/asm/dma-mapping.h:53: error: `direction' undeclared (first use in this function) /usr/include/asm/dma-mapping.h:54: error: `page' undeclared (first use in this function) /usr/include/asm/dma-mapping.h:54: error: `offset' undeclared (first use in this function) /usr/include/asm/dma-mapping.h: At top level: /usr/include/asm/dma-mapping.h:58: error: syntax error before "size_t" /usr/include/asm/dma-mapping.h: In function `dma_unmap_page': /usr/include/asm/dma-mapping.h:61: error: `direction' undeclared (first use in this function) /usr/include/asm/dma-mapping.h: At top level: /usr/include/asm/dma-mapping.h:73: error: syntax error before "size_t" /usr/include/asm/dma-mapping.h:81: error: syntax error before "size_t" /usr/include/asm/dma-mapping.h:131: error: syntax error before "size_t" In file included from /usr/include/asm/pci.h:92, from /usr/include/linux/pci.h:704, from pdc-ulsata2.c:43: /usr/include/asm-generic/pci-dma-compat.h:19: error: syntax error before "size_t" /usr/include/asm-generic/pci-dma-compat.h: In function `pci_alloc_consistent_Rca1c24c8': /usr/include/asm-generic/pci-dma-compat.h:22: error: `hwdev' undeclared (first use in this function) /usr/include/asm-generic/pci-dma-compat.h:22: error: `dma_handle' undeclared (first use in this function) /usr/include/asm-generic/pci-dma-compat.h: At top level: /usr/include/asm-generic/pci-dma-compat.h:26: error: syntax error before "size_t" /usr/include/asm-generic/pci-dma-compat.h: In function `pci_free_consistent_R1bfc1908': /usr/include/asm-generic/pci-dma-compat.h:29: error: `hwdev' undeclared (first use in this function) /usr/include/asm-generic/pci-dma-compat.h:29: error: `vaddr' undeclared (first use in this function) /usr/include/asm-generic/pci-dma-compat.h:29: error: `dma_handle' undeclared (first use in this function) /usr/include/asm-generic/pci-dma-compat.h: At top level: /usr/include/asm-generic/pci-dma-compat.h:33: error: syntax error before "size_t" /usr/include/asm-generic/pci-dma-compat.h: In function `pci_map_single': /usr/include/asm-generic/pci-dma-compat.h:35: error: `hwdev' undeclared (first use in this function) /usr/include/asm-generic/pci-dma-compat.h:35: error: `ptr' undeclared (first use in this function) /usr/include/asm-generic/pci-dma-compat.h:35: error: `direction' undeclared (first use in this function) /usr/include/asm-generic/pci-dma-compat.h: At top level: /usr/include/asm-generic/pci-dma-compat.h:40: error: syntax error before "size_t" /usr/include/asm-generic/pci-dma-compat.h: In function `pci_unmap_single': /usr/include/asm-generic/pci-dma-compat.h:42: error: `hwdev' undeclared (first use in this function) /usr/include/asm-generic/pci-dma-compat.h:42: error: `dma_addr' undeclared (first use in this function) /usr/include/asm-generic/pci-dma-compat.h:42: error: `direction' undeclared (first use in this function) /usr/include/asm-generic/pci-dma-compat.h: At top level: /usr/include/asm-generic/pci-dma-compat.h:47: error: syntax error before "size_t" /usr/include/asm-generic/pci-dma-compat.h: In function `pci_map_page': /usr/include/asm-generic/pci-dma-compat.h:49: error: `hwdev' undeclared (first use in this function) /usr/include/asm-generic/pci-dma-compat.h:49: error: `page' undeclared (first use in this function) /usr/include/asm-generic/pci-dma-compat.h:49: error: `offset' undeclared (first use in this function) /usr/include/asm-generic/pci-dma-compat.h:49: error: `direction' undeclared (first use in this function) /usr/include/asm-generic/pci-dma-compat.h: At top level: /usr/include/asm-generic/pci-dma-compat.h:54: error: syntax error before "size_t" /usr/include/asm-generic/pci-dma-compat.h: In function `pci_unmap_page': /usr/include/asm-generic/pci-dma-compat.h:56: error: `hwdev' undeclared (first use in this function) /usr/include/asm-generic/pci-dma-compat.h:56: error: `dma_address' undeclared (first use in this function) /usr/include/asm-generic/pci-dma-compat.h:56: error: `direction' undeclared (first use in this function) /usr/include/asm-generic/pci-dma-compat.h: At top level: /usr/include/asm-generic/pci-dma-compat.h:75: error: syntax error before "size_t" /usr/include/asm-generic/pci-dma-compat.h: In function `pci_dma_sync_single': /usr/include/asm-generic/pci-dma-compat.h:77: error: `hwdev' undeclared (first use in this function) /usr/include/asm-generic/pci-dma-compat.h:77: error: `dma_handle' undeclared (first use in this function) /usr/include/asm-generic/pci-dma-compat.h:77: error: `direction' undeclared (first use in this function) In file included from pdc-ulsata2.c:44: /usr/include/linux/proc_fs.h: At top level: /usr/include/linux/proc_fs.h:49: error: syntax error before "off_t" /usr/include/linux/proc_fs.h:53: error: syntax error before "off_t" /usr/include/linux/proc_fs.h:59: error: syntax error before "mode_t" /usr/include/linux/proc_fs.h:61: error: syntax error before "uid" /usr/include/linux/proc_fs.h:62: error: syntax error before "gid" /usr/include/linux/proc_fs.h:63: error: conflicting types for `size' /usr/include/linux/stat.h:67: error: previous declaration of `size' /usr/include/linux/proc_fs.h:68: error: conflicting types for `parent' /usr/include/linux/sched.h:381: error: previous declaration of `parent' /usr/include/linux/proc_fs.h:72: error: conflicting types for `count' /usr/include/linux/fs.h:780: error: previous declaration of `count' /usr/include/linux/proc_fs.h:74: error: syntax error before '}' token /usr/include/linux/proc_fs.h:79: error: syntax error before "size_t" /usr/include/linux/proc_fs.h:99: error: syntax error before "mode_t" /usr/include/linux/proc_fs.h:146: error: syntax error before "mode_t" /usr/include/linux/proc_fs.h: In function `create_proc_read_entry': /usr/include/linux/proc_fs.h:149: error: `name' undeclared (first use in this function) /usr/include/linux/proc_fs.h:149: error: `base' undeclared (first use in this function) /usr/include/linux/proc_fs.h:151: error: dereferencing pointer to incomplete type /usr/include/linux/proc_fs.h:152: error: dereferencing pointer to incomplete type /usr/include/linux/proc_fs.h: At top level: /usr/include/linux/proc_fs.h:158: error: syntax error before "mode_t" /usr/include/linux/proc_fs.h: In function `create_proc_info_entry': /usr/include/linux/proc_fs.h:160: error: `name' undeclared (first use in this function) /usr/include/linux/proc_fs.h:160: error: `base' undeclared (first use in this function) /usr/include/linux/proc_fs.h:161: error: dereferencing pointer to incomplete type /usr/include/linux/proc_fs.h: At top level: /usr/include/linux/proc_fs.h:166: error: syntax error before "mode_t" /usr/include/linux/proc_fs.h: In function `proc_net_create': /usr/include/linux/proc_fs.h:168: error: `name' undeclared (first use in this function) /usr/include/linux/proc_fs.h: At top level: /usr/include/linux/proc_fs.h:172: error: syntax error before "mode_t" /usr/include/linux/proc_fs.h: In function `proc_net_fops_create': /usr/include/linux/proc_fs.h:174: error: `name' undeclared (first use in this function) /usr/include/linux/proc_fs.h:176: error: dereferencing pointer to incomplete type /usr/include/linux/proc_fs.h:176: error: `fops' undeclared (first use in this function) /usr/include/linux/proc_fs.h: At top level: /usr/include/linux/proc_fs.h:232: error: syntax error before "size_t" /usr/include/linux/proc_fs.h:244: error: field `vfs_inode' has incomplete type /usr/include/linux/proc_fs.h: In function `PROC_I': /usr/include/linux/proc_fs.h:249: error: `size_t' undeclared (first use in this function) In file included from pdc-ulsata2.c:45: /usr/include/linux/blk.h:1:2: warning: #warning this file is obsolete, please use instead In file included from /usr/include/linux/blkdev.h:6, from /usr/include/linux/blk.h:2, from pdc-ulsata2.c:45: /usr/include/linux/genhd.h: At top level: /usr/include/linux/genhd.h:60: error: syntax error before "sector_t" /usr/include/linux/genhd.h:65: error: syntax error before '}' token /usr/include/linux/genhd.h:90: error: syntax error before "sector_t" /usr/include/linux/genhd.h:92: error: `flags' used prior to declaration /usr/include/linux/genhd.h:109: error: syntax error before '}' token /usr/include/linux/genhd.h: In function `disk_stat_set_all': /usr/include/linux/genhd.h:147: error: dereferencing pointer to incomplete type /usr/include/linux/genhd.h:147: error: dereferencing pointer to incomplete type /usr/include/linux/genhd.h:147: error: dereferencing pointer to incomplete type /usr/include/linux/genhd.h:147: error: dereferencing pointer to incomplete type /usr/include/linux/genhd.h: At top level: /usr/include/linux/genhd.h:189: error: syntax error before "dev" /usr/include/linux/genhd.h:198: error: syntax error before "get_start_sect" /usr/include/linux/genhd.h: In function `get_start_sect': /usr/include/linux/genhd.h:200: error: dereferencing pointer to incomplete type /usr/include/linux/genhd.h:200: error: dereferencing pointer to incomplete type /usr/include/linux/genhd.h: At top level: /usr/include/linux/genhd.h:202: error: syntax error before "get_capacity" /usr/include/linux/genhd.h: In function `get_capacity': /usr/include/linux/genhd.h:204: error: dereferencing pointer to incomplete type /usr/include/linux/genhd.h: At top level: /usr/include/linux/genhd.h:206: error: syntax error before "sector_t" /usr/include/linux/genhd.h: In function `set_capacity': /usr/include/linux/genhd.h:208: error: `disk' undeclared (first use in this function) /usr/include/linux/genhd.h: At top level: /usr/include/linux/genhd.h:219: error: syntax error before "ushort" /usr/include/linux/genhd.h:223: error: syntax error before '}' token /usr/include/linux/genhd.h:230: error: syntax error before "ushort" /usr/include/linux/genhd.h:237: error: syntax error before '}' token /usr/include/linux/genhd.h:361: error: syntax error before "sector_t" /usr/include/linux/genhd.h:368: error: syntax error before "dev" /usr/include/linux/genhd.h:370: error: syntax error before "int" /usr/include/linux/genhd.h:370: error: `blk_register_region' declared as function returning a function /usr/include/linux/genhd.h:373: error: syntax error before "dev" /usr/include/linux/genhd.h: In function `bdget_disk': /usr/include/linux/genhd.h:377: error: dereferencing pointer to incomplete type /usr/include/linux/genhd.h:377: error: dereferencing pointer to incomplete type In file included from /usr/include/linux/blkdev.h:10, from /usr/include/linux/blk.h:2, from pdc-ulsata2.c:45: /usr/include/linux/pagemap.h: At top level: /usr/include/linux/pagemap.h:74: error: syntax error before "pgoff_t" In file included from /usr/include/linux/blkdev.h:14, from /usr/include/linux/blk.h:2, from pdc-ulsata2.c:45: /usr/include/linux/bio.h:62: error: syntax error before "sector_t" /usr/include/linux/bio.h:94: error: syntax error before '}' token /usr/include/linux/bio.h:219: error: field `bio1' has incomplete type /usr/include/linux/bio.h:219: error: field `bio2' has incomplete type /usr/include/linux/bio.h: In function `__bio_kmap_irq': /usr/include/linux/bio.h:291: error: dereferencing pointer to incomplete type /usr/include/linux/bio.h:291: error: dereferencing pointer to incomplete type In file included from /usr/include/linux/blk.h:2, from pdc-ulsata2.c:45: /usr/include/linux/blkdev.h: At top level: /usr/include/linux/blkdev.h:50: error: syntax error before "sector_t" /usr/include/linux/blkdev.h:52: error: syntax error before "seek_mean" /usr/include/linux/blkdev.h:62: error: syntax error before "pid_t" /usr/include/linux/blkdev.h:71: error: syntax error before '}' token /usr/include/linux/blkdev.h:98: error: syntax error before "sector_t" /usr/include/linux/blkdev.h:103: error: syntax error before "hard_sector" /usr/include/linux/blkdev.h:122: error: conflicting types for `start_time' /usr/include/linux/sched.h:401: error: previous declaration of `start_time' /usr/include/linux/blkdev.h:164: error: syntax error before '}' token In file included from /usr/include/linux/blk.h:2, from pdc-ulsata2.c:45: /usr/include/linux/blkdev.h: In function `rq_map_buffer': /usr/include/linux/blkdev.h:442: error: dereferencing pointer to incomplete type /usr/include/linux/blkdev.h:442: error: dereferencing pointer to incomplete type /usr/include/linux/blkdev.h:442: error: dereferencing pointer to incomplete type /usr/include/linux/blkdev.h:443: error: dereferencing pointer to incomplete type /usr/include/linux/blkdev.h:443: error: dereferencing pointer to incomplete type /usr/include/linux/blkdev.h: In function `bdev_get_queue': /usr/include/linux/blkdev.h:518: error: dereferencing pointer to incomplete type /usr/include/linux/blkdev.h: In function `blkdev_dequeue_request': /usr/include/linux/blkdev.h:538: error: dereferencing pointer to incomplete type /usr/include/linux/blkdev.h:540: error: dereferencing pointer to incomplete type /usr/include/linux/blkdev.h:542: error: dereferencing pointer to incomplete type /usr/include/linux/blkdev.h:543: error: dereferencing pointer to incomplete type /usr/include/linux/blkdev.h: In function `block_size': /usr/include/linux/blkdev.h:648: error: dereferencing pointer to incomplete type /usr/include/linux/blkdev.h: At top level: /usr/include/linux/blkdev.h:653: error: syntax error before "sector_t" pdc-ulsata2.c:46:26: linux/tqueue.h: No such file or directory pdc-ulsata2.c:49:27: linux/wrapper.h: No such file or directory In file included from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from pdc-ulsata2.c:50: /usr/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function) In file included from /usr/include/linux/irq.h:72, from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from pdc-ulsata2.c:50: /usr/include/asm/hw_irq.h:28: error: `NR_IRQS' undeclared here (not in a function) /usr/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function) In file included from pdc-ulsata2.c:54: /usr/include/scsi/sg.h:39: error: syntax error before "size_t" pdc-ulsata2.c:57:29: drivers/scsi/sd.h: No such file or directory pdc-ulsata2.c:59:31: drivers/scsi/scsi.h: No such file or directory pdc-ulsata2.c:60:32: drivers/scsi/hosts.h: No such file or directory pdc-ulsata2.c:81: error: syntax error before '*' token pdc-ulsata2.c:81: warning: function declaration isn't a prototype pdc-ulsata2.c:133: error: variable `ulsata2_fops' has initializer but incomplete type pdc-ulsata2.c:135: error: unknown field `open' specified in initializer pdc-ulsata2.c:135: warning: excess elements in struct initializer pdc-ulsata2.c:135: warning: (near initialization for `ulsata2_fops') pdc-ulsata2.c:136: error: unknown field `release' specified in initializer pdc-ulsata2.c:136: warning: excess elements in struct initializer pdc-ulsata2.c:136: warning: (near initialization for `ulsata2_fops') pdc-ulsata2.c:137: error: unknown field `ioctl' specified in initializer pdc-ulsata2.c:137: warning: excess elements in struct initializer pdc-ulsata2.c:137: warning: (near initialization for `ulsata2_fops') pdc-ulsata2.c:193: error: syntax error before "Scsi_Cmnd" pdc-ulsata2.c:194: warning: function declaration isn't a prototype pdc-ulsata2.c: In function `__unmap_scsi_data': pdc-ulsata2.c:195: warning: implicit declaration of function `scsi_to_pci_dma_dir' pdc-ulsata2.c:195: error: `SCpnt' undeclared (first use in this function) pdc-ulsata2.c:200: error: `pdev' undeclared (first use in this function) pdc-ulsata2.c: At top level: pdc-ulsata2.c:212: error: syntax error before "Scsi_Cmnd" pdc-ulsata2.c:213: warning: function declaration isn't a prototype pdc-ulsata2.c: In function `__map_scsi_single_data': pdc-ulsata2.c:215: error: `SCpnt' undeclared (first use in this function) pdc-ulsata2.c:221: error: `pdev' undeclared (first use in this function) pdc-ulsata2.c: At top level: pdc-ulsata2.c:234: error: syntax error before "Scsi_Cmnd" pdc-ulsata2.c:235: warning: function declaration isn't a prototype pdc-ulsata2.c: In function `__map_scsi_sg_data': pdc-ulsata2.c:237: error: `SCpnt' undeclared (first use in this function) pdc-ulsata2.c:242: error: `pdev' undeclared (first use in this function) pdc-ulsata2.c: In function `ulsata2_interrupt': pdc-ulsata2.c:357: error: `io_request_lock_Rc30f3aef' undeclared (first use in this function) pdc-ulsata2.c: In function `ulsata2_init_ioport': pdc-ulsata2.c:451: warning: `check_region' is deprecated (declared at /usr/include/linux/ioport.h:118) pdc-ulsata2.c:454: warning: `check_region' is deprecated (declared at /usr/include/linux/ioport.h:118) pdc-ulsata2.c:463: warning: passing arg 2 of `request_irq_R0c60f2e0' from incompatible pointer type pdc-ulsata2.c: In function `ulsata2_decide_disposition': pdc-ulsata2.c:638: error: `DID_ABORT' undeclared (first use in this function) pdc-ulsata2.c:647: error: `DID_BUS_BUSY' undeclared (first use in this function) pdc-ulsata2.c:652: error: `DID_ERROR' undeclared (first use in this function) pdc-ulsata2.c:686: error: `DID_OK' undeclared (first use in this function) pdc-ulsata2.c: At top level: pdc-ulsata2.c:737: error: syntax error before "device" pdc-ulsata2.c:738: warning: function declaration isn't a prototype pdc-ulsata2.c: In function `update_swapbox': pdc-ulsata2.c:744: error: `io_request_lock_Rc30f3aef' undeclared (first use in this function) pdc-ulsata2.c: In function `ulsata2_init_cam': pdc-ulsata2.c:927: error: `ulong' undeclared (first use in this function) pdc-ulsata2.c:949: error: syntax error before "pada" pdc-ulsata2.c: In function `ulsata2_cleanup': pdc-ulsata2.c:1024: error: `ulong' undeclared (first use in this function) pdc-ulsata2.c:1024: error: syntax error before "pada" pdc-ulsata2.c: At top level: pdc-ulsata2.c:1091: error: syntax error before '*' token pdc-ulsata2.c:1092: warning: function declaration isn't a prototype pdc-ulsata2.c: In function `ulsata2_detect': pdc-ulsata2.c:1106: error: `ulsata2_host' undeclared (first use in this function) pdc-ulsata2.c:1160: warning: implicit declaration of function `scsi_register_Rbfed77a2' pdc-ulsata2.c:1160: warning: assignment makes pointer from integer without a cast pdc-ulsata2.c:1166: error: dereferencing pointer to incomplete type pdc-ulsata2.c:1167: error: dereferencing pointer to incomplete type pdc-ulsata2.c:1168: error: dereferencing pointer to incomplete type pdc-ulsata2.c:1174: warning: implicit declaration of function `scsi_set_pci_device' pdc-ulsata2.c:1177: error: dereferencing pointer to incomplete type pdc-ulsata2.c:1178: error: dereferencing pointer to incomplete type pdc-ulsata2.c: In function `ulsata2_release': pdc-ulsata2.c:1215: error: dereferencing pointer to incomplete type pdc-ulsata2.c:1242: warning: implicit declaration of function `scsi_unregister_R8a91d390' pdc-ulsata2.c: At top level: pdc-ulsata2.c:1253: error: syntax error before '*' token pdc-ulsata2.c:1254: warning: function declaration isn't a prototype pdc-ulsata2.c: In function `ulsata2_ioctl': pdc-ulsata2.c:1260: error: `device' undeclared (first use in this function) pdc-ulsata2.c:1262: error: `arg' undeclared (first use in this function) pdc-ulsata2.c:1276: error: switch quantity not an integer pdc-ulsata2.c:1329: error: dereferencing pointer to incomplete type pdc-ulsata2.c:1329: error: dereferencing pointer to incomplete type pdc-ulsata2.c:1342: warning: unsigned int format, pointer arg (arg 3) pdc-ulsata2.c: At top level: pdc-ulsata2.c:1390: error: syntax error before "off_t" pdc-ulsata2.c:1391: warning: function declaration isn't a prototype pdc-ulsata2.c: In function `ulsata2_proc_info': pdc-ulsata2.c:1399: error: `length' undeclared (first use in this function) pdc-ulsata2.c:1400: error: `offset' undeclared (first use in this function) pdc-ulsata2.c:1403: error: `start' undeclared (first use in this function) pdc-ulsata2.c: In function `ulsata2_scsi2atapi': pdc-ulsata2.c:1582: error: `Scsi_Cmnd' undeclared (first use in this function) pdc-ulsata2.c:1582: error: `SCpnt' undeclared (first use in this function) pdc-ulsata2.c:1588: error: `READ_6' undeclared (first use in this function) pdc-ulsata2.c:1589: error: `WRITE_6' undeclared (first use in this function) pdc-ulsata2.c:1596: error: `READ_10' undeclared (first use in this function) pdc-ulsata2.c:1598: error: `MODE_SELECT' undeclared (first use in this function) pdc-ulsata2.c:1599: error: `MODE_SENSE' undeclared (first use in this function) pdc-ulsata2.c:1609: error: `MODE_SELECT_10' undeclared (first use in this function) pdc-ulsata2.c:1628: error: `START_STOP' undeclared (first use in this function) pdc-ulsata2.c:1631: error: `SYNCHRONIZE_CACHE' undeclared (first use in this function) pdc-ulsata2.c: In function `ulsata2_atapi2scsi': pdc-ulsata2.c:1643: error: `Scsi_Cmnd' undeclared (first use in this function) pdc-ulsata2.c:1643: error: `SCpnt' undeclared (first use in this function) pdc-ulsata2.c:1649: error: `INQUIRY' undeclared (first use in this function) pdc-ulsata2.c:1653: error: `MODE_SENSE' undeclared (first use in this function) pdc-ulsata2.c:1654: error: `MODE_SENSE_10' undeclared (first use in this function) pdc-ulsata2.c: In function `ulsata2_cbk_ata_rw': pdc-ulsata2.c:1685: error: `Scsi_Cmnd' undeclared (first use in this function) pdc-ulsata2.c:1685: error: `SCpnt' undeclared (first use in this function) pdc-ulsata2.c:1692: error: `DID_OK' undeclared (first use in this function) pdc-ulsata2.c:1719: error: `DID_ABORT' undeclared (first use in this function) pdc-ulsata2.c: In function `ulsata2_cbk_atapi_dma': pdc-ulsata2.c:1748: error: `Scsi_Cmnd' undeclared (first use in this function) pdc-ulsata2.c:1748: error: `SCpnt' undeclared (first use in this function) pdc-ulsata2.c:1781: error: `DID_BUS_BUSY' undeclared (first use in this function) pdc-ulsata2.c:1783: error: `CHECK_CONDITION' undeclared (first use in this function) pdc-ulsata2.c:1783: error: `DID_OK' undeclared (first use in this function) pdc-ulsata2.c: In function `ulsata2_cbk_atapi_pio': pdc-ulsata2.c:1805: error: `Scsi_Cmnd' undeclared (first use in this function) pdc-ulsata2.c:1805: error: `SCpnt' undeclared (first use in this function) pdc-ulsata2.c:1816: error: `SCSI_DATA_WRITE' undeclared (first use in this function) pdc-ulsata2.c:1836: error: `DID_BUS_BUSY' undeclared (first use in this function) pdc-ulsata2.c:1838: error: `CHECK_CONDITION' undeclared (first use in this function) pdc-ulsata2.c:1838: error: `DID_OK' undeclared (first use in this function) pdc-ulsata2.c: At top level: pdc-ulsata2.c:1862: error: syntax error before '*' token pdc-ulsata2.c:1863: warning: function declaration isn't a prototype pdc-ulsata2.c: In function `ulsata2_ata_rw': pdc-ulsata2.c:1866: error: `SCpnt' undeclared (first use in this function) pdc-ulsata2.c:1886: error: `READ_6' undeclared (first use in this function) pdc-ulsata2.c:1892: error: `READ_10' undeclared (first use in this function) pdc-ulsata2.c:1898: error: `WRITE_6' undeclared (first use in this function) pdc-ulsata2.c:1903: error: `WRITE_10' undeclared (first use in this function) pdc-ulsata2.c: At top level: pdc-ulsata2.c:1973: error: syntax error before '*' token pdc-ulsata2.c:1974: warning: function declaration isn't a prototype pdc-ulsata2.c: In function `ulsata2_atapi_dma': pdc-ulsata2.c:1975: error: `SCpnt' undeclared (first use in this function) pdc-ulsata2.c:2032: error: `SCSI_DATA_WRITE' undeclared (first use in this function) pdc-ulsata2.c: At top level: pdc-ulsata2.c:2062: error: syntax error before '*' token pdc-ulsata2.c:2063: warning: function declaration isn't a prototype pdc-ulsata2.c: In function `ulsata2_atapi_pio': pdc-ulsata2.c:2064: error: `SCpnt' undeclared (first use in this function) pdc-ulsata2.c:2093: error: `SCSI_DATA_WRITE' undeclared (first use in this function) pdc-ulsata2.c: At top level: pdc-ulsata2.c:2152: error: syntax error before '*' token pdc-ulsata2.c:2152: error: syntax error before '*' token pdc-ulsata2.c:2155: error: `SCpnt' undeclared here (not in a function) pdc-ulsata2.c:2157: error: conflicting types for `lock' /usr/include/linux/fs.h:809: error: previous declaration of `lock' pdc-ulsata2.c:2159: error: `SCpnt' undeclared here (not in a function) pdc-ulsata2.c:2169: error: syntax error before '->' token pdc-ulsata2.c:2170: error: syntax error before '->' token pdc-ulsata2.c:2179: error: syntax error before '->' token pdc-ulsata2.c:2179: warning: type defaults to `int' in declaration of `hexdump' pdc-ulsata2.c:2179: warning: function declaration isn't a prototype pdc-ulsata2.c:2179: error: conflicting types for `hexdump' pdc-ulsata2.c:262: error: previous declaration of `hexdump' pdc-ulsata2.c:2179: warning: data definition has no type or storage class pdc-ulsata2.c:2183: warning: type defaults to `int' in declaration of `pada' pdc-ulsata2.c:2183: error: conflicting types for `pada' pdc-ulsata2.c:2163: error: previous declaration of `pada' pdc-ulsata2.c:2183: error: `SCpnt' undeclared here (not in a function) pdc-ulsata2.c:2183: warning: data definition has no type or storage class pdc-ulsata2.c:2184: warning: type defaults to `int' in declaration of `id' pdc-ulsata2.c:2184: error: conflicting types for `id' pdc-ulsata2.c:2161: error: previous declaration of `id' pdc-ulsata2.c:2184: error: invalid type argument of `->' pdc-ulsata2.c:2184: error: `SCpnt' undeclared here (not in a function) pdc-ulsata2.c:2184: warning: data definition has no type or storage class pdc-ulsata2.c:2189: error: syntax error before "if" pdc-ulsata2.c:2192: warning: type defaults to `int' in declaration of `done' pdc-ulsata2.c:2192: warning: parameter names (without types) in function declaration pdc-ulsata2.c:2192: warning: data definition has no type or storage class pdc-ulsata2.c:2193: error: syntax error before "return" pdc-ulsata2.c:2199: warning: type defaults to `int' in declaration of `drv' pdc-ulsata2.c:2199: error: conflicting types for `drv' pdc-ulsata2.c:2156: error: previous declaration of `drv' pdc-ulsata2.c:2199: error: invalid type argument of `->' pdc-ulsata2.c:2199: error: `SCpnt' undeclared here (not in a function) pdc-ulsata2.c:2199: warning: data definition has no type or storage class pdc-ulsata2.c:2203: warning: type defaults to `int' in declaration of `pdrv' pdc-ulsata2.c:2203: error: conflicting types for `pdrv' pdc-ulsata2.c:2164: error: previous declaration of `pdrv' pdc-ulsata2.c:2203: warning: data definition has no type or storage class pdc-ulsata2.c:2204: warning: type defaults to `int' in declaration of `pcam_dev' pdc-ulsata2.c:2204: error: conflicting types for `pcam_dev' pdc-ulsata2.c:2165: error: previous declaration of `pcam_dev' pdc-ulsata2.c:2204: error: invalid type argument of `->' pdc-ulsata2.c:2204: warning: data definition has no type or storage class pdc-ulsata2.c:2208: error: syntax error before "if" pdc-ulsata2.c:2210: warning: type defaults to `int' in declaration of `done' pdc-ulsata2.c:2210: warning: parameter names (without types) in function declaration pdc-ulsata2.c:2210: warning: data definition has no type or storage class pdc-ulsata2.c:2212: error: syntax error before "do" pdc-ulsata2.c:2212: error: syntax error before "void" pdc-ulsata2.c:2220: warning: type defaults to `int' in declaration of `done' pdc-ulsata2.c:2220: warning: parameter names (without types) in function declaration pdc-ulsata2.c:2220: warning: data definition has no type or storage class pdc-ulsata2.c:2222: error: syntax error before "do" pdc-ulsata2.c:2222: error: syntax error before "void" pdc-ulsata2.c:2250: warning: type defaults to `int' in declaration of `lba' pdc-ulsata2.c:2250: error: initializer element is not constant pdc-ulsata2.c:2250: warning: data definition has no type or storage class pdc-ulsata2.c:2251: error: syntax error before "if" pdc-ulsata2.c:2264: error: syntax error before numeric constant pdc-ulsata2.c:2266: error: syntax error before '(' token pdc-ulsata2.c:2282: warning: type defaults to `int' in declaration of `buff' pdc-ulsata2.c:2282: error: conflicting types for `buff' pdc-ulsata2.c:2155: error: previous declaration of `buff' pdc-ulsata2.c:2282: error: `TYPE_DISK' undeclared here (not in a function) pdc-ulsata2.c:2282: warning: data definition has no type or storage class pdc-ulsata2.c:2283: warning: type defaults to `int' in declaration of `buff' pdc-ulsata2.c:2283: error: conflicting types for `buff' pdc-ulsata2.c:2282: error: previous declaration of `buff' pdc-ulsata2.c:2283: warning: data definition has no type or storage class pdc-ulsata2.c:2284: warning: type defaults to `int' in declaration of `buff' pdc-ulsata2.c:2284: error: conflicting types for `buff' pdc-ulsata2.c:2283: error: previous declaration of `buff' pdc-ulsata2.c:2284: warning: data definition has no type or storage class pdc-ulsata2.c:2285: warning: type defaults to `int' in declaration of `buff' pdc-ulsata2.c:2285: error: conflicting types for `buff' pdc-ulsata2.c:2284: error: previous declaration of `buff' pdc-ulsata2.c:2285: warning: data definition has no type or storage class pdc-ulsata2.c:2286: error: syntax error before numeric constant pdc-ulsata2.c:2287: error: syntax error before numeric constant pdc-ulsata2.c:2289: warning: type defaults to `int' in declaration of `done' pdc-ulsata2.c:2289: warning: parameter names (without types) in function declaration pdc-ulsata2.c:2289: warning: data definition has no type or storage class pdc-ulsata2.c:2290: error: syntax error before '}' token pdc-ulsata2.c:2294: warning: type defaults to `int' in declaration of `done' pdc-ulsata2.c:2294: warning: parameter names (without types) in function declaration pdc-ulsata2.c:2294: warning: data definition has no type or storage class pdc-ulsata2.c:2295: error: syntax error before "break" pdc-ulsata2.c:2299: error: syntax error before numeric constant pdc-ulsata2.c:2301: warning: type defaults to `int' in declaration of `buff' pdc-ulsata2.c:2301: error: conflicting types for `buff' pdc-ulsata2.c:2285: error: previous declaration of `buff' pdc-ulsata2.c:2301: warning: data definition has no type or storage class pdc-ulsata2.c:2302: warning: type defaults to `int' in declaration of `buff' pdc-ulsata2.c:2302: error: conflicting types for `buff' pdc-ulsata2.c:2301: error: previous declaration of `buff' pdc-ulsata2.c:2302: warning: data definition has no type or storage class pdc-ulsata2.c:2303: warning: type defaults to `int' in declaration of `buff' pdc-ulsata2.c:2303: error: conflicting types for `buff' pdc-ulsata2.c:2302: error: previous declaration of `buff' pdc-ulsata2.c:2303: warning: data definition has no type or storage class pdc-ulsata2.c:2304: warning: type defaults to `int' in declaration of `buff' pdc-ulsata2.c:2304: error: conflicting types for `buff' pdc-ulsata2.c:2303: error: previous declaration of `buff' pdc-ulsata2.c:2304: warning: data definition has no type or storage class pdc-ulsata2.c:2306: warning: type defaults to `int' in declaration of `buff' pdc-ulsata2.c:2306: error: conflicting types for `buff' pdc-ulsata2.c:2304: error: previous declaration of `buff' pdc-ulsata2.c:2306: warning: data definition has no type or storage class pdc-ulsata2.c:2307: warning: type defaults to `int' in declaration of `buff' pdc-ulsata2.c:2307: error: conflicting types for `buff' pdc-ulsata2.c:2306: error: previous declaration of `buff' pdc-ulsata2.c:2307: warning: data definition has no type or storage class pdc-ulsata2.c:2308: warning: type defaults to `int' in declaration of `buff' pdc-ulsata2.c:2308: error: conflicting types for `buff' pdc-ulsata2.c:2307: error: previous declaration of `buff' pdc-ulsata2.c:2308: warning: data definition has no type or storage class pdc-ulsata2.c:2309: warning: type defaults to `int' in declaration of `buff' pdc-ulsata2.c:2309: error: conflicting types for `buff' pdc-ulsata2.c:2308: error: previous declaration of `buff' pdc-ulsata2.c:2309: warning: data definition has no type or storage class pdc-ulsata2.c:2310: error: syntax error before '}' token pdc-ulsata2.c:2313: warning: type defaults to `int' in declaration of `done' pdc-ulsata2.c:2313: warning: parameter names (without types) in function declaration pdc-ulsata2.c:2313: warning: data definition has no type or storage class pdc-ulsata2.c:2314: error: syntax error before "break" pdc-ulsata2.c:2323: warning: type defaults to `int' in declaration of `buff' pdc-ulsata2.c:2323: error: conflicting types for `buff' pdc-ulsata2.c:2309: error: previous declaration of `buff' pdc-ulsata2.c:2323: warning: data definition has no type or storage class pdc-ulsata2.c:2324: warning: type defaults to `int' in declaration of `buff' pdc-ulsata2.c:2324: error: conflicting types for `buff' pdc-ulsata2.c:2323: error: previous declaration of `buff' pdc-ulsata2.c:2324: warning: data definition has no type or storage class pdc-ulsata2.c:2325: warning: type defaults to `int' in declaration of `buff' pdc-ulsata2.c:2325: error: conflicting types for `buff' pdc-ulsata2.c:2324: error: previous declaration of `buff' pdc-ulsata2.c:2325: warning: data definition has no type or storage class pdc-ulsata2.c:2326: warning: type defaults to `int' in declaration of `buff' pdc-ulsata2.c:2326: error: conflicting types for `buff' pdc-ulsata2.c:2325: error: previous declaration of `buff' pdc-ulsata2.c:2326: warning: data definition has no type or storage class pdc-ulsata2.c:2327: warning: type defaults to `int' in declaration of `buff' pdc-ulsata2.c:2327: error: conflicting types for `buff' pdc-ulsata2.c:2326: error: previous declaration of `buff' pdc-ulsata2.c:2327: warning: data definition has no type or storage class pdc-ulsata2.c:2328: warning: type defaults to `int' in declaration of `buff' pdc-ulsata2.c:2328: error: conflicting types for `buff' pdc-ulsata2.c:2327: error: previous declaration of `buff' pdc-ulsata2.c:2328: warning: data definition has no type or storage class pdc-ulsata2.c:2329: warning: type defaults to `int' in declaration of `buff' pdc-ulsata2.c:2329: error: conflicting types for `buff' pdc-ulsata2.c:2328: error: previous declaration of `buff' pdc-ulsata2.c:2329: warning: data definition has no type or storage class pdc-ulsata2.c:2330: error: syntax error before '->' token pdc-ulsata2.c:2332: warning: type defaults to `int' in declaration of `done' pdc-ulsata2.c:2332: warning: parameter names (without types) in function declaration pdc-ulsata2.c:2332: warning: data definition has no type or storage class pdc-ulsata2.c:2333: error: syntax error before "break" pdc-ulsata2.c:2360: error: syntax error before "sizeof" pdc-ulsata2.c:2365: error: syntax error before "void" pdc-ulsata2.c:2376: warning: type defaults to `int' in declaration of `done' pdc-ulsata2.c:2376: warning: parameter names (without types) in function declaration pdc-ulsata2.c:2376: warning: data definition has no type or storage class pdc-ulsata2.c:2377: error: syntax error before "break" pdc-ulsata2.c:2381: warning: type defaults to `int' in declaration of `done' pdc-ulsata2.c:2381: warning: parameter names (without types) in function declaration pdc-ulsata2.c:2381: warning: data definition has no type or storage class pdc-ulsata2.c:2382: error: syntax error before "break" pdc-ulsata2.c:2388: warning: type defaults to `int' in declaration of `done' pdc-ulsata2.c:2388: warning: parameter names (without types) in function declaration pdc-ulsata2.c:2388: warning: data definition has no type or storage class pdc-ulsata2.c:2389: error: syntax error before '}' token pdc-ulsata2.c:2398: warning: type defaults to `int' in declaration of `done' pdc-ulsata2.c:2398: warning: parameter names (without types) in function declaration pdc-ulsata2.c:2398: warning: data definition has no type or storage class pdc-ulsata2.c:2399: error: syntax error before '}' token pdc-ulsata2.c:2402: error: syntax error before "void" pdc-ulsata2.c:2409: error: syntax error before '*' token pdc-ulsata2.c:2410: warning: function declaration isn't a prototype pdc-ulsata2.c: In function `ulsata2_scsi_abort': pdc-ulsata2.c:2412: error: `SCpnt' undeclared (first use in this function) pdc-ulsata2.c:2413: error: `SCSI_ABORT_NOT_RUNNING' undeclared (first use in this function) pdc-ulsata2.c:2415: error: `DID_ABORT' undeclared (first use in this function) pdc-ulsata2.c:2417: error: `SCSI_ABORT_SUCCESS' undeclared (first use in this function) pdc-ulsata2.c: At top level: pdc-ulsata2.c:2422: error: syntax error before '*' token pdc-ulsata2.c:2423: warning: function declaration isn't a prototype pdc-ulsata2.c: In function `ulsata2_scsi_eh_abort': pdc-ulsata2.c:2425: error: `SCpnt' undeclared (first use in this function) pdc-ulsata2.c:2426: error: `SCSI_ABORT_NOT_RUNNING' undeclared (first use in this function) pdc-ulsata2.c:2428: error: `DID_ABORT' undeclared (first use in this function) pdc-ulsata2.c:2430: error: `SCSI_ABORT_SUCCESS' undeclared (first use in this function) pdc-ulsata2.c: At top level: pdc-ulsata2.c:2436: error: syntax error before '*' token pdc-ulsata2.c:2437: warning: function declaration isn't a prototype pdc-ulsata2.c: In function `ulsata2_scsi_reset': pdc-ulsata2.c:2441: error: `SCpnt' undeclared (first use in this function) pdc-ulsata2.c:2450: error: `DID_RESET' undeclared (first use in this function) pdc-ulsata2.c:2453: error: `SCSI_RESET_SUCCESS' undeclared (first use in this function) pdc-ulsata2.c:2457: error: `SCSI_RESET_ERROR' undeclared (first use in this function) pdc-ulsata2.c: At top level: pdc-ulsata2.c:2463: error: syntax error before '*' token pdc-ulsata2.c:2464: warning: function declaration isn't a prototype pdc-ulsata2.c: In function `ulsata2_scsi_eh_device_reset': pdc-ulsata2.c:2469: error: `SCpnt' undeclared (first use in this function) pdc-ulsata2.c:2482: error: `SUCCESS' undeclared (first use in this function) pdc-ulsata2.c:2486: error: `FAILED' undeclared (first use in this function) pdc-ulsata2.c: At top level: pdc-ulsata2.c:2492: error: syntax error before '*' token pdc-ulsata2.c:2493: warning: function declaration isn't a prototype pdc-ulsata2.c: In function `ulsata2_scsi_eh_host_reset': pdc-ulsata2.c:2497: error: `SCpnt' undeclared (first use in this function) pdc-ulsata2.c:2509: error: `SUCCESS' undeclared (first use in this function) pdc-ulsata2.c:2513: error: `FAILED' undeclared (first use in this function) pdc-ulsata2.c: At top level: pdc-ulsata2.c:2520: error: syntax error before '*' token pdc-ulsata2.c:2525: warning: function declaration isn't a prototype pdc-ulsata2.c: In function `ulsata2_bios_param': pdc-ulsata2.c:2531: error: `disk' undeclared (first use in this function) pdc-ulsata2.c:2560: error: `geom' undeclared (first use in this function) pdc-ulsata2.c: In function `ulsata2dev_open': pdc-ulsata2.c:2572: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:482) pdc-ulsata2.c: In function `ulsata2dev_release': pdc-ulsata2.c:2579: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:494) pdc-ulsata2.c: At top level: pdc-ulsata2.c:2978: error: syntax error before "driver_template" pdc-ulsata2.c:2978: warning: type defaults to `int' in declaration of `driver_template' pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: initialization makes integer from pointer without a cast pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: `ulsata2_queuecommand' undeclared here (not in a function) pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: `DISABLE_CLUSTERING' undeclared here (not in a function) pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: error: field name not in record or union initializer pdc-ulsata2.c:2978: error: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: excess elements in scalar initializer pdc-ulsata2.c:2978: warning: (near initialization for `driver_template') pdc-ulsata2.c:2978: warning: data definition has no type or storage class pdc-ulsata2.c:2982:38: drivers/scsi/scsi_module.c: No such file or directory /usr/include/asm-generic/siginfo.h:53: error: storage size of `_pad' isn't known /usr/include/linux/stat.h:68: error: storage size of `atime' isn't known /usr/include/linux/stat.h:69: error: storage size of `mtime' isn't known /usr/include/linux/stat.h:70: error: storage size of `ctime' isn't known /usr/include/linux/fs.h:262: error: storage size of `ia_atime' isn't known /usr/include/linux/fs.h:263: error: storage size of `ia_mtime' isn't known /usr/include/linux/fs.h:264: error: storage size of `ia_ctime' isn't known /usr/include/linux/quota.h:226: error: storage size of `dq_dqb' isn't known /usr/include/linux/fs.h:381: error: storage size of `i_atime' isn't known /usr/include/linux/fs.h:382: error: storage size of `i_mtime' isn't known /usr/include/linux/fs.h:383: error: storage size of `i_ctime' isn't known /usr/include/linux/fs.h:515: error: storage size of `f_owner' isn't known /usr/include/linux/genhd.h:234: error: storage size of `v_slice' isn't known pdc-ulsata2.c:133: error: storage size of `ulsata2_fops' isn't known make: *** [pdc-ulsata2.o] Error 1 backup:/usr/src/pdc-ulsata2#