- Codice: Seleziona tutto
root@darkstar:/home/inux# gcc chip.c
In file included from /usr/include/linux/preempt.h:9,
from /usr/include/linux/spinlock.h:49,
from /usr/include/linux/irq.h:18,
from chip.c:13:
/usr/include/linux/thread_info.h:23: error: expected specifier-qualifier-list before 'u32'
In file included from /usr/include/asm/bitops.h:4,
from /usr/include/linux/bitops.h:17,
from /usr/include/linux/thread_info.h:33,
from /usr/include/linux/preempt.h:9,
from /usr/include/linux/spinlock.h:49,
from /usr/include/linux/irq.h:18,
from chip.c:13:
/usr/include/asm/bitops_64.h: In function 'set_bit':
/usr/include/asm/bitops_64.h:34: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/bitops_64.h: In function 'clear_bit':
/usr/include/asm/bitops_64.h:69: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/bitops_64.h: In function 'change_bit':
/usr/include/asm/bitops_64.h:146: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/bitops_64.h: In function 'test_and_set_bit':
/usr/include/asm/bitops_64.h:164: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/bitops_64.h: In function 'test_and_clear_bit':
/usr/include/asm/bitops_64.h:215: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/bitops_64.h: In function 'test_and_change_bit':
/usr/include/asm/bitops_64.h:266: error: expected string literal before 'LOCK_PREFIX'
In file included from /usr/include/linux/preempt.h:11,
from /usr/include/linux/spinlock.h:49,
from /usr/include/linux/irq.h:18,
from chip.c:13:
/usr/include/linux/list.h:995:2: warning: #warning "don't include kernel headers in userspace"
In file included from /usr/include/asm/cmpxchg.h:4,
from /usr/include/asm/system_64.h:6,
from /usr/include/asm/system.h:4,
from /usr/include/linux/spinlock.h:57,
from /usr/include/linux/irq.h:18,
from chip.c:13:
/usr/include/asm/cmpxchg_64.h: In function '__cmpxchg':
/usr/include/asm/cmpxchg_64.h:67: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/cmpxchg_64.h:73: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/cmpxchg_64.h:79: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/cmpxchg_64.h:85: error: expected string literal before 'LOCK_PREFIX'
In file included from /usr/include/linux/irq.h:18,
from chip.c:13:
/usr/include/linux/spinlock.h: At top level:
/usr/include/linux/spinlock.h:297: error: expected declaration specifiers or '...' before 'bool'
/usr/include/linux/spinlock.h: In function 'double_spin_lock':
/usr/include/linux/spinlock.h:301: error: 'l1_first' undeclared (first use in this function)
/usr/include/linux/spinlock.h:301: error: (Each undeclared identifier is reported only once
/usr/include/linux/spinlock.h:301: error: for each function it appears in.)
/usr/include/linux/spinlock.h: At top level:
/usr/include/linux/spinlock.h:316: error: expected declaration specifiers or '...' before 'bool'
/usr/include/linux/spinlock.h: In function 'double_spin_unlock':
/usr/include/linux/spinlock.h:320: error: 'l1_taken_first' undeclared (first use in this function)
In file included from /usr/include/asm/atomic.h:4,
from /usr/include/linux/spinlock.h:333,
from /usr/include/linux/irq.h:18,
from chip.c:13:
/usr/include/asm/atomic_64.h: In function 'atomic_add':
/usr/include/asm/atomic_64.h:56: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/atomic_64.h: In function 'atomic_sub':
/usr/include/asm/atomic_64.h:71: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/atomic_64.h: In function 'atomic_sub_and_test':
/usr/include/asm/atomic_64.h:90: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/atomic_64.h: In function 'atomic_inc':
/usr/include/asm/atomic_64.h:105: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/atomic_64.h: In function 'atomic_dec':
/usr/include/asm/atomic_64.h:119: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/atomic_64.h: In function 'atomic_dec_and_test':
/usr/include/asm/atomic_64.h:137: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/atomic_64.h: In function 'atomic_inc_and_test':
/usr/include/asm/atomic_64.h:156: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/atomic_64.h: In function 'atomic_add_negative':
/usr/include/asm/atomic_64.h:176: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/atomic_64.h: In function 'atomic_add_return':
/usr/include/asm/atomic_64.h:193: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/atomic_64.h: In function 'atomic64_add':
/usr/include/asm/atomic_64.h:241: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/atomic_64.h: In function 'atomic64_sub':
/usr/include/asm/atomic_64.h:256: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/atomic_64.h: In function 'atomic64_sub_and_test':
/usr/include/asm/atomic_64.h:275: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/atomic_64.h: In function 'atomic64_inc':
/usr/include/asm/atomic_64.h:290: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/atomic_64.h: In function 'atomic64_dec':
/usr/include/asm/atomic_64.h:304: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/atomic_64.h: In function 'atomic64_dec_and_test':
/usr/include/asm/atomic_64.h:322: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/atomic_64.h: In function 'atomic64_inc_and_test':
/usr/include/asm/atomic_64.h:341: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/atomic_64.h: In function 'atomic64_add_negative':
/usr/include/asm/atomic_64.h:361: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/atomic_64.h: In function 'atomic64_add_return':
/usr/include/asm/atomic_64.h:378: error: expected string literal before 'LOCK_PREFIX'
In file included from /usr/include/linux/cpumask.h:86,
from /usr/include/linux/irq.h:19,
from chip.c:13:
/usr/include/linux/bitmap.h: In function 'bitmap_zero':
/usr/include/linux/bitmap.h:135: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_fill':
/usr/include/linux/bitmap.h:150: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_copy':
/usr/include/linux/bitmap.h:156: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_and':
/usr/include/linux/bitmap.h:167: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_or':
/usr/include/linux/bitmap.h:176: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_xor':
/usr/include/linux/bitmap.h:185: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_andnot':
/usr/include/linux/bitmap.h:194: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_complement':
/usr/include/linux/bitmap.h:203: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_equal':
/usr/include/linux/bitmap.h:212: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_intersects':
/usr/include/linux/bitmap.h:221: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_subset':
/usr/include/linux/bitmap.h:230: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_empty':
/usr/include/linux/bitmap.h:238: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_full':
/usr/include/linux/bitmap.h:246: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_weight':
/usr/include/linux/bitmap.h:254: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_shift_right':
/usr/include/linux/bitmap.h:262: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_shift_left':
/usr/include/linux/bitmap.h:271: error: 'BITS_PER_LONG' undeclared (first use in this function)
In file included from /usr/include/linux/irq.h:19,
from chip.c:13:
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:88: error: expected specifier-qualifier-list before 'DECLARE_BITMAP'
/usr/include/linux/cpumask.h: In function '__cpu_set':
/usr/include/linux/cpumask.h:94: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpu_clear':
/usr/include/linux/cpumask.h:100: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpus_setall':
/usr/include/linux/cpumask.h:106: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpus_clear':
/usr/include/linux/cpumask.h:112: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpu_test_and_set':
/usr/include/linux/cpumask.h:121: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpus_and':
/usr/include/linux/cpumask.h:128: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h:128: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h:128: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpus_or':
/usr/include/linux/cpumask.h:135: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h:135: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h:135: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpus_xor':
/usr/include/linux/cpumask.h:142: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h:142: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h:142: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpus_andnot':
/usr/include/linux/cpumask.h:150: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h:150: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h:150: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpus_complement':
/usr/include/linux/cpumask.h:157: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h:157: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpus_equal':
/usr/include/linux/cpumask.h:164: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h:164: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpus_intersects':
/usr/include/linux/cpumask.h:171: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h:171: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpus_subset':
/usr/include/linux/cpumask.h:178: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h:178: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpus_empty':
/usr/include/linux/cpumask.h:184: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpus_full':
/usr/include/linux/cpumask.h:190: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpus_weight':
/usr/include/linux/cpumask.h:196: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpus_shift_right':
/usr/include/linux/cpumask.h:204: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h:204: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpus_shift_left':
/usr/include/linux/cpumask.h:212: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h:212: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpumask_scnprintf':
/usr/include/linux/cpumask.h:273: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpumask_parse_user':
/usr/include/linux/cpumask.h:281: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpulist_scnprintf':
/usr/include/linux/cpumask.h:289: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpulist_parse':
/usr/include/linux/cpumask.h:295: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpu_remap':
/usr/include/linux/cpumask.h:303: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h:303: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h: In function '__cpus_remap':
/usr/include/linux/cpumask.h:311: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h:311: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h:311: error: 'cpumask_t' has no member named 'bits'
/usr/include/linux/cpumask.h:311: error: 'cpumask_t' has no member named 'bits'
In file included from /usr/include/asm-generic/irq_regs.h:15,
from /usr/include/asm/irq_regs_64.h:1,
from /usr/include/asm/irq_regs.h:4,
from /usr/include/linux/irq.h:25,
from chip.c:13:
/usr/include/linux/percpu.h: At top level:
/usr/include/linux/percpu.h:72: error: expected declaration specifiers or '...' before 'gfp_t'
/usr/include/linux/percpu.h:78: error: expected declaration specifiers or '...' before 'gfp_t'
/usr/include/linux/percpu.h:84: error: expected declaration specifiers or '...' before 'gfp_t'
/usr/include/linux/percpu.h: In function '__percpu_alloc_mask':
/usr/include/linux/percpu.h:86: error: 'gfp' undeclared (first use in this function)
In file included from chip.c:14:
/usr/include/linux/msi.h: At top level:
/usr/include/linux/msi.h:7: error: expected specifier-qualifier-list before 'u32'
/usr/include/linux/msi.h:30: error: field 'list' has incomplete type
In file included from /usr/include/linux/module.h:18,
from chip.c:15:
/usr/include/linux/marker.h:103: error: expected declaration specifiers or '...' before numeric constant
/usr/include/linux/marker.h:103: error: expected declaration specifiers or '...' before numeric constant
/usr/include/linux/marker.h: In function '__printf':
/usr/include/linux/marker.h:103: error: expected declaration specifiers before '__mark_check_format'
/usr/include/linux/marker.h:107: error: storage class specified for parameter '__mark_empty_function'
/usr/include/linux/marker.h:114: error: storage class specified for parameter 'marker_probe_register'
/usr/include/linux/marker.h:119: error: storage class specified for parameter 'marker_probe_unregister'
/usr/include/linux/marker.h:123: error: storage class specified for parameter 'marker_probe_unregister_private_data'
/usr/include/linux/marker.h:125: error: storage class specified for parameter 'marker_arm'
/usr/include/linux/marker.h:126: error: storage class specified for parameter 'marker_disarm'
/usr/include/linux/marker.h:127: error: storage class specified for parameter 'marker_get_private_data'
In file included from /usr/include/asm/local.h:4,
from /usr/include/linux/module.h:19,
from chip.c:15:
/usr/include/asm/local_64.h:10: error: storage class specified for parameter 'local_t'
/usr/include/asm/local_64.h:17: error: expected ')' before '*' token
/usr/include/asm/local_64.h:25: error: expected ')' before '*' token
/usr/include/asm/local_64.h:33: error: expected declaration specifiers or '...' before 'local_t'
/usr/include/asm/local_64.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/asm/local_64.h:41: error: expected declaration specifiers or '...' before 'local_t'
/usr/include/asm/local_64.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/asm/local_64.h:58: error: expected declaration specifiers or '...' before 'local_t'
/usr/include/asm/local_64.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/asm/local_64.h:77: error: expected ')' before '*' token
/usr/include/asm/local_64.h:96: error: expected ')' before '*' token
/usr/include/asm/local_64.h:116: error: expected declaration specifiers or '...' before 'local_t'
/usr/include/asm/local_64.h:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/asm/local_64.h:134: error: expected declaration specifiers or '...' before 'local_t'
/usr/include/asm/local_64.h:135: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/asm/local_64.h:144: error: expected declaration specifiers or '...' before 'local_t'
/usr/include/asm/local_64.h:145: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from chip.c:15:
/usr/include/linux/module.h:48: error: field 'attr' has incomplete type
/usr/include/linux/module.h:59: error: field 'kobj' has incomplete type
/usr/include/linux/module.h:65: error: storage class specified for parameter 'init_module'
/usr/include/linux/module.h:66: error: storage class specified for parameter 'cleanup_module'
/usr/include/linux/module.h:477: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/linux/module.h:483: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/linux/module.h:489: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/linux/module.h:494: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/linux/module.h:504: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/linux/module.h:508: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/linux/module.h:513: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/linux/module.h:523: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/linux/module.h:528: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/linux/module.h:533: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/linux/module.h:540: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/linux/module.h:545: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/linux/module.h:550: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/linux/module.h:556: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/linux/module.h:563: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/linux/module.h:568: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/linux/module.h:589: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/linux/module.h:596: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/linux/module.h:601: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/linux/module.h:606: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/linux/module.h:618: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/linux/module.h:621: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from /usr/include/asm/hardirq_64.h:6,
from /usr/include/asm/hardirq.h:4,
from /usr/include/linux/hardirq.h:7,
from /usr/include/linux/interrupt.h:11,
from chip.c:16:
/usr/include/asm/pda.h:41: error: storage class specified for parameter '_cpu_pda'
/usr/include/asm/pda.h:42: error: storage class specified for parameter 'boot_cpu_pda'
/usr/include/asm/pda.h:50: error: storage class specified for parameter '__bad_pda_field'
/usr/include/asm/pda.h:56: error: storage class specified for parameter '_proxy_pda'
In file included from /usr/include/asm/apic_64.h:5,
from /usr/include/asm/apic.h:4,
from /usr/include/asm/hardirq_64.h:7,
from /usr/include/asm/hardirq.h:4,
from /usr/include/linux/hardirq.h:7,
from /usr/include/linux/interrupt.h:11,
from chip.c:16:
/usr/include/linux/delay.h:10: error: storage class specified for parameter 'loops_per_jiffy'
In file included from /usr/include/linux/delay.h:12,
from /usr/include/asm/apic_64.h:5,
from /usr/include/asm/apic.h:4,
from /usr/include/asm/hardirq_64.h:7,
from /usr/include/asm/hardirq.h:4,
from /usr/include/linux/hardirq.h:7,
from /usr/include/linux/interrupt.h:11,
from chip.c:16:
/usr/include/asm/delay.h:11: error: storage class specified for parameter '__bad_udelay'
/usr/include/asm/delay.h:12: error: storage class specified for parameter '__bad_ndelay'
/usr/include/asm/delay.h:14: error: storage class specified for parameter '__udelay'
/usr/include/asm/delay.h:15: error: storage class specified for parameter '__ndelay'
/usr/include/asm/delay.h:16: error: storage class specified for parameter '__const_udelay'
/usr/include/asm/delay.h:17: error: storage class specified for parameter '__delay'
In file included from /usr/include/asm/apic_64.h:5,
from /usr/include/asm/apic.h:4,
from /usr/include/asm/hardirq_64.h:7,
from /usr/include/asm/hardirq.h:4,
from /usr/include/linux/hardirq.h:7,
from /usr/include/linux/interrupt.h:11,
from chip.c:16:
/usr/include/linux/delay.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from /usr/include/asm/fixmap.h:4,
from /usr/include/asm/apic_64.h:6,
from /usr/include/asm/apic.h:4,
from /usr/include/asm/hardirq_64.h:7,
from /usr/include/asm/hardirq.h:4,
from /usr/include/linux/hardirq.h:7,
from /usr/include/linux/interrupt.h:11,
from chip.c:16:
/usr/include/asm/fixmap_64.h:48: error: expected declaration specifiers or '...' before 'pgprot_t'
/usr/include/asm/fixmap_64.h:48: error: storage class specified for parameter '__set_fixmap'
/usr/include/asm/fixmap_64.h:68: error: storage class specified for parameter '__this_fixmap_does_not_exist'
/usr/include/asm/fixmap_64.h:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from /usr/include/asm/apic.h:4,
from /usr/include/asm/hardirq_64.h:7,
from /usr/include/asm/hardirq.h:4,
from /usr/include/linux/hardirq.h:7,
from /usr/include/linux/interrupt.h:11,
from chip.c:16:
/usr/include/asm/apic_64.h:19: error: storage class specified for parameter 'apic_verbosity'
/usr/include/asm/apic_64.h:20: error: storage class specified for parameter 'apic_runs_main_timer'
/usr/include/asm/apic_64.h:21: error: storage class specified for parameter 'ioapic_force'
/usr/include/asm/apic_64.h:22: error: storage class specified for parameter 'disable_apic_timer'
/usr/include/asm/apic_64.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/asm/apic_64.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/asm/apic_64.h:51: error: storage class specified for parameter 'apic_wait_icr_idle'
/usr/include/asm/apic_64.h:52: error: storage class specified for parameter 'safe_apic_wait_icr_idle'
/usr/include/asm/apic_64.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token


). Se lo provi facci sapere.