[devel] С glibc-kernheaders что-то не так?

Kirill A. Shutemov =?iso-8859-1?q?k=2Eshutemov_=CE=C1_velesys=2Ecom?=
Пн Мар 26 15:21:08 MSD 2007


> man 2 futex:
<skip/>
#include <linux/futex.h>

#include <sys/time.h>

int futex(int *uaddr, int op, int val, const struct
        timespec *timeout, int *uaddr2, int val3);
<skip/>
> cat test.c
#include <linux/futex.h>
#include <sys/time.h>
int main(void)
{
        return 0;
}
> gcc test.c 2>log
> echo $?
1

log приаттачен.

-- 
Regards,  Kirill A. Shutemov
 + Belarus, Minsk
 + Velesys LLC, http://www.velesys.com/
 + ALT Linux Team, http://www.altlinux.com/
----------- следующая часть -----------
In file included from /usr/include/linux/timex.h:57,
                 from /usr/include/linux/sched.h:11,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/linux/time.h:12: error: redefinition of `struct timespec'
/usr/include/linux/time.h:18: error: redefinition of `struct timeval'
In file included from /usr/include/asm/current.h:7,
                 from /usr/include/asm/processor.h:18,
                 from /usr/include/asm/timex.h:14,
                 from /usr/include/linux/timex.h:60,
                 from /usr/include/linux/sched.h:11,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/asm/pda.h:28: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/pda.h:28: error: requested alignment is not a constant
In file included from /usr/include/linux/cpumask.h:86,
                 from /usr/include/asm/processor.h:23,
                 from /usr/include/asm/timex.h:14,
                 from /usr/include/linux/timex.h:60,
                 from /usr/include/linux/sched.h:11,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/linux/bitmap.h: In function `bitmap_zero':
/usr/include/linux/bitmap.h:128: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h:128: error: (Each undeclared identifier is reported only once
/usr/include/linux/bitmap.h:128: error: for each function it appears in.)
/usr/include/linux/bitmap.h: In function `bitmap_fill':
/usr/include/linux/bitmap.h:143: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function `bitmap_copy':
/usr/include/linux/bitmap.h:149: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function `bitmap_and':
/usr/include/linux/bitmap.h:160: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function `bitmap_or':
/usr/include/linux/bitmap.h:169: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function `bitmap_xor':
/usr/include/linux/bitmap.h:178: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function `bitmap_andnot':
/usr/include/linux/bitmap.h:187: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function `bitmap_complement':
/usr/include/linux/bitmap.h:196: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function `bitmap_equal':
/usr/include/linux/bitmap.h:205: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function `bitmap_intersects':
/usr/include/linux/bitmap.h:214: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function `bitmap_subset':
/usr/include/linux/bitmap.h:223: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function `bitmap_empty':
/usr/include/linux/bitmap.h:231: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function `bitmap_full':
/usr/include/linux/bitmap.h:239: 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:253: 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:262: error: `BITS_PER_LONG' undeclared (first use in this function)
In file included from /usr/include/asm/processor.h:23,
                 from /usr/include/asm/timex.h:14,
                 from /usr/include/linux/timex.h:60,
                 from /usr/include/linux/sched.h:11,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:88: error: syntax error before "DECLARE_BITMAP"
/usr/include/linux/cpumask.h:89: error: syntax error before "_unused_cpumask_arg_"
/usr/include/linux/cpumask.h:92: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpu_set':
/usr/include/linux/cpumask.h:94: error: `cpu' undeclared (first use in this function)
/usr/include/linux/cpumask.h:94: error: `dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:98: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpu_clear':
/usr/include/linux/cpumask.h:100: error: `cpu' undeclared (first use in this function)
/usr/include/linux/cpumask.h:100: error: `dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:104: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_setall':
/usr/include/linux/cpumask.h:106: error: `dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:106: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:110: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_clear':
/usr/include/linux/cpumask.h:112: error: `dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:112: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:119: error: syntax error before "cpumask_t"
/usr/include/linux/cpumask.h: In function `__cpu_test_and_set':
/usr/include/linux/cpumask.h:121: error: `cpu' undeclared (first use in this function)
/usr/include/linux/cpumask.h:121: error: `addr' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:125: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_and':
/usr/include/linux/cpumask.h:128: error: `dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:128: error: `src1p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:128: error: `src2p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:128: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:132: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_or':
/usr/include/linux/cpumask.h:135: error: `dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:135: error: `src1p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:135: error: `src2p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:135: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:139: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_xor':
/usr/include/linux/cpumask.h:142: error: `dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:142: error: `src1p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:142: error: `src2p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:142: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:147: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_andnot':
/usr/include/linux/cpumask.h:150: error: `dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:150: error: `src1p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:150: error: `src2p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:150: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:154: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_complement':
/usr/include/linux/cpumask.h:157: error: `dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:157: error: `srcp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:157: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:161: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_equal':
/usr/include/linux/cpumask.h:164: error: `src1p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:164: error: `src2p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:164: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:168: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_intersects':
/usr/include/linux/cpumask.h:171: error: `src1p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:171: error: `src2p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:171: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:175: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_subset':
/usr/include/linux/cpumask.h:178: error: `src1p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:178: error: `src2p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:178: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:182: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_empty':
/usr/include/linux/cpumask.h:184: error: `srcp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:184: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:188: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_full':
/usr/include/linux/cpumask.h:190: error: `srcp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:190: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:194: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_weight':
/usr/include/linux/cpumask.h:196: error: `srcp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:196: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:201: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_shift_right':
/usr/include/linux/cpumask.h:204: error: `dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:204: error: `srcp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:204: error: `n' undeclared (first use in this function)
/usr/include/linux/cpumask.h:204: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:209: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_shift_left':
/usr/include/linux/cpumask.h:212: error: `dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:212: error: `srcp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:212: error: `n' undeclared (first use in this function)
/usr/include/linux/cpumask.h:212: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:216: error: syntax error before '*' token
/usr/include/linux/cpumask.h:218: error: syntax error before '*' token
/usr/include/linux/cpumask.h:271: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpumask_scnprintf':
/usr/include/linux/cpumask.h:273: error: `buf' undeclared (first use in this function)
/usr/include/linux/cpumask.h:273: error: `len' undeclared (first use in this function)
/usr/include/linux/cpumask.h:273: error: `srcp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:273: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:279: error: syntax error before "cpumask_t"
/usr/include/linux/cpumask.h: In function `__cpumask_parse':
/usr/include/linux/cpumask.h:281: error: `buf' undeclared (first use in this function)
/usr/include/linux/cpumask.h:281: error: `len' undeclared (first use in this function)
/usr/include/linux/cpumask.h:281: error: `dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:281: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:287: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpulist_scnprintf':
/usr/include/linux/cpumask.h:289: error: `buf' undeclared (first use in this function)
/usr/include/linux/cpumask.h:289: error: `len' undeclared (first use in this function)
/usr/include/linux/cpumask.h:289: error: `srcp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:289: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:293: error: syntax error before "cpumask_t"
/usr/include/linux/cpumask.h: In function `__cpulist_parse':
/usr/include/linux/cpumask.h:295: error: `buf' undeclared (first use in this function)
/usr/include/linux/cpumask.h:295: error: `dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:295: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:301: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpu_remap':
/usr/include/linux/cpumask.h:303: error: `oldbit' undeclared (first use in this function)
/usr/include/linux/cpumask.h:303: error: `oldp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:303: error: `newp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:303: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:308: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_remap':
/usr/include/linux/cpumask.h:311: error: `dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:311: error: `srcp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:311: error: `oldp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:311: error: `newp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:311: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:379: error: syntax error before "cpu_possible_map"
/usr/include/linux/cpumask.h:380: error: syntax error before "cpu_online_map"
/usr/include/linux/cpumask.h:381: error: syntax error before "cpu_present_map"
/usr/include/linux/cpumask.h:402: error: syntax error before '*' token
In file included from /usr/include/asm/timex.h:14,
                 from /usr/include/linux/timex.h:60,
                 from /usr/include/linux/sched.h:11,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/asm/processor.h:70: error: syntax error before "cpumask_t"
/usr/include/asm/processor.h:74: error: syntax error before '}' token
/usr/include/asm/processor.h:191: error: syntax error before "u16"
/usr/include/asm/processor.h:193: error: syntax error before "twd"
/usr/include/asm/processor.h:194: error: syntax error before "fop"
/usr/include/asm/processor.h:195: error: syntax error before "rip"
/usr/include/asm/processor.h:196: error: syntax error before "rdp"
/usr/include/asm/processor.h:197: error: syntax error before "mxcsr"
/usr/include/asm/processor.h:198: error: syntax error before "mxcsr_mask"
/usr/include/asm/processor.h:199: error: syntax error before "st_space"
/usr/include/asm/processor.h:200: error: syntax error before "xmm_space"
/usr/include/asm/processor.h:201: error: syntax error before "padding"
/usr/include/asm/processor.h:202: error: syntax error before '}' token
/usr/include/asm/processor.h:205: error: field `fxsave' has incomplete type
/usr/include/asm/processor.h:209: error: syntax error before "u32"
/usr/include/asm/processor.h:211: error: syntax error before "rsp1"
/usr/include/asm/processor.h:212: error: syntax error before "rsp2"
/usr/include/asm/processor.h:213: error: syntax error before "reserved2"
/usr/include/asm/processor.h:214: error: syntax error before "ist"
/usr/include/asm/processor.h:215: error: syntax error before "reserved3"
/usr/include/asm/processor.h:216: error: syntax error before "reserved4"
/usr/include/asm/processor.h:217: error: syntax error before "reserved5"
/usr/include/asm/processor.h:218: error: syntax error before "io_bitmap_base"
/usr/include/asm/processor.h:229: error: syntax error before '}' token
/usr/include/asm/processor.h:266: error: syntax error before "u64"
/usr/include/asm/processor.h: In function `prefetchw':
/usr/include/asm/processor.h:410: error: called object is not a function
In file included from /usr/include/linux/timex.h:60,
                 from /usr/include/linux/sched.h:11,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/asm/timex.h: In function `get_cycles_sync':
/usr/include/asm/timex.h:36: error: called object is not a function
/usr/include/asm/timex.h:36: error: called object is not a function
/usr/include/asm/timex.h:36: error: syntax error before ':' token
In file included from /usr/include/asm/div64.h:1,
                 from /usr/include/linux/calc64.h:5,
                 from /usr/include/linux/jiffies.h:4,
                 from /usr/include/linux/sched.h:12,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/asm-generic/div64.h:53:3: #error do_div() does not yet support the C64
In file included from /usr/include/linux/jiffies.h:4,
                 from /usr/include/linux/sched.h:12,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/linux/calc64.h: In function `do_div_llr':
/usr/include/linux/calc64.h:23: error: `u64' undeclared (first use in this function)
/usr/include/linux/calc64.h:23: error: syntax error before "result"
/usr/include/linux/calc64.h:25: error: `result' undeclared (first use in this function)
In file included from /usr/include/linux/sched.h:12,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/linux/jiffies.h: At top level:
/usr/include/linux/jiffies.h:81: error: syntax error before "jiffies_64"
/usr/include/linux/jiffies.h:85: error: syntax error before "get_jiffies_64"
In file included from /usr/include/linux/sched.h:12,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/linux/jiffies.h:256:47: division by zero in #if
/usr/include/linux/jiffies.h: In function `jiffies_to_msecs':
/usr/include/linux/jiffies.h:259: error: `MSEC_PER_SEC' undeclared (first use in this function)
/usr/include/linux/jiffies.h:267:47: division by zero in #if
/usr/include/linux/jiffies.h: In function `jiffies_to_usecs':
/usr/include/linux/jiffies.h:270: error: `USEC_PER_SEC' undeclared (first use in this function)
/usr/include/linux/jiffies.h:280:47: division by zero in #if
/usr/include/linux/jiffies.h: In function `msecs_to_jiffies':
/usr/include/linux/jiffies.h:283: error: `MSEC_PER_SEC' undeclared (first use in this function)
/usr/include/linux/jiffies.h:293:47: division by zero in #if
/usr/include/linux/jiffies.h: In function `usecs_to_jiffies':
/usr/include/linux/jiffies.h:296: error: `USEC_PER_SEC' undeclared (first use in this function)
/usr/include/linux/jiffies.h: In function `timespec_to_jiffies':
/usr/include/linux/jiffies.h:317: error: called object is not a function
/usr/include/linux/jiffies.h:317: error: called object is not a function
/usr/include/linux/jiffies.h:317: error: `NSEC_PER_SEC' undeclared (first use in this function)
/usr/include/linux/jiffies.h:318: error: called object is not a function
/usr/include/linux/jiffies.h:318: error: called object is not a function
/usr/include/linux/jiffies.h:321: error: syntax error before "sec"
/usr/include/linux/jiffies.h:321: error: syntax error before "NSEC_PER_SEC"
/usr/include/linux/jiffies.h:321: error: called object is not a function
/usr/include/linux/jiffies.h:321: error: syntax error before ')' token
/usr/include/linux/jiffies.h: In function `jiffies_to_timespec':
/usr/include/linux/jiffies.h:334: error: syntax error before "nsec"
/usr/include/linux/jiffies.h:335: error: `nsec' undeclared (first use in this function)
/usr/include/linux/jiffies.h:335: error: `NSEC_PER_SEC' undeclared (first use in this function)
/usr/include/linux/jiffies.h: In function `timeval_to_jiffies':
/usr/include/linux/jiffies.h:356: error: called object is not a function
/usr/include/linux/jiffies.h:356: error: called object is not a function
/usr/include/linux/jiffies.h:356: error: `NSEC_PER_SEC' undeclared (first use in this function)
/usr/include/linux/jiffies.h:357: error: called object is not a function
/usr/include/linux/jiffies.h:357: error: called object is not a function
/usr/include/linux/jiffies.h:360: error: syntax error before "sec"
/usr/include/linux/jiffies.h:360: error: syntax error before "NSEC_PER_SEC"
/usr/include/linux/jiffies.h:360: error: called object is not a function
/usr/include/linux/jiffies.h:360: error: syntax error before ')' token
/usr/include/linux/jiffies.h: In function `jiffies_to_timeval':
/usr/include/linux/jiffies.h:372: error: syntax error before "nsec"
/usr/include/linux/jiffies.h:375: error: `nsec' undeclared (first use in this function)
/usr/include/linux/jiffies.h:375: error: `NSEC_PER_SEC' undeclared (first use in this function)
/usr/include/linux/jiffies.h:376: error: `NSEC_PER_USEC' undeclared (first use in this function)
/usr/include/linux/jiffies.h: At top level:
/usr/include/linux/jiffies.h:383: error: syntax error before "jiffies_to_clock_t"
/usr/include/linux/jiffies.h:385:41: division by zero in #if
/usr/include/linux/jiffies.h:385:42: division by zero in #if
/usr/include/linux/jiffies.h: In function `jiffies_to_clock_t':
/usr/include/linux/jiffies.h:388: error: syntax error before "tmp"
/usr/include/linux/jiffies.h:389: error: `tmp' undeclared (first use in this function)
/usr/include/linux/jiffies.h:389: error: `NSEC_PER_SEC' undeclared (first use in this function)
/usr/include/linux/jiffies.h:389: error: `USER_HZ' undeclared (first use in this function)
/usr/include/linux/jiffies.h:396:18: division by zero in #if
/usr/include/linux/jiffies.h: In function `clock_t_to_jiffies':
/usr/include/linux/jiffies.h:401: error: syntax error before "jif"
/usr/include/linux/jiffies.h:404: error: `USER_HZ' undeclared (first use in this function)
/usr/include/linux/jiffies.h:408: error: `jif' undeclared (first use in this function)
/usr/include/linux/jiffies.h:408: error: syntax error before numeric constant
/usr/include/linux/jiffies.h: At top level:
/usr/include/linux/jiffies.h:414: error: syntax error before "jiffies_64_to_clock_t"
/usr/include/linux/jiffies.h:414: error: syntax error before "x"
/usr/include/linux/jiffies.h:416:41: division by zero in #if
/usr/include/linux/jiffies.h:416:42: division by zero in #if
/usr/include/linux/jiffies.h: In function `jiffies_64_to_clock_t':
/usr/include/linux/jiffies.h:424: error: `x' undeclared (first use in this function)
/usr/include/linux/jiffies.h:425: error: `NSEC_PER_SEC' undeclared (first use in this function)
/usr/include/linux/jiffies.h:425: error: `USER_HZ' undeclared (first use in this function)
/usr/include/linux/jiffies.h: At top level:
/usr/include/linux/jiffies.h:430: error: syntax error before "nsec_to_clock_t"
/usr/include/linux/jiffies.h:430: error: syntax error before "x"
/usr/include/linux/jiffies.h:432:28: division by zero in #if
/usr/include/linux/jiffies.h: In function `nsec_to_clock_t':
/usr/include/linux/jiffies.h:433: error: `x' undeclared (first use in this function)
/usr/include/linux/jiffies.h:433: error: `NSEC_PER_SEC' undeclared (first use in this function)
/usr/include/linux/jiffies.h:433: error: `USER_HZ' undeclared (first use in this function)
In file included from /usr/include/linux/sched.h:17,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:88: error: syntax error before "DECLARE_BITMAP"
/usr/include/linux/nodemask.h:89: error: syntax error before "_unused_nodemask_arg_"
/usr/include/linux/nodemask.h:92: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__node_set':
/usr/include/linux/nodemask.h:94: error: `node' undeclared (first use in this function)
/usr/include/linux/nodemask.h:94: error: `dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:98: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__node_clear':
/usr/include/linux/nodemask.h:100: error: `node' undeclared (first use in this function)
/usr/include/linux/nodemask.h:100: error: `dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:104: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__nodes_setall':
/usr/include/linux/nodemask.h:106: error: `dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:106: error: `nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:110: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__nodes_clear':
/usr/include/linux/nodemask.h:112: error: `dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:112: error: `nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:120: error: syntax error before "nodemask_t"
/usr/include/linux/nodemask.h: In function `__node_test_and_set':
/usr/include/linux/nodemask.h:122: error: `node' undeclared (first use in this function)
/usr/include/linux/nodemask.h:122: error: `addr' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:127: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__nodes_and':
/usr/include/linux/nodemask.h:130: error: `dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:130: error: `src1p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:130: error: `src2p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:130: error: `nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:135: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__nodes_or':
/usr/include/linux/nodemask.h:138: error: `dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:138: error: `src1p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:138: error: `src2p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:138: error: `nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:143: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__nodes_xor':
/usr/include/linux/nodemask.h:146: error: `dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:146: error: `src1p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:146: error: `src2p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:146: error: `nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:151: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__nodes_andnot':
/usr/include/linux/nodemask.h:154: error: `dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:154: error: `src1p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:154: error: `src2p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:154: error: `nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:159: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__nodes_complement':
/usr/include/linux/nodemask.h:162: error: `dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:162: error: `srcp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:162: error: `nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:167: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__nodes_equal':
/usr/include/linux/nodemask.h:170: error: `src1p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:170: error: `src2p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:170: error: `nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:175: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__nodes_intersects':
/usr/include/linux/nodemask.h:178: error: `src1p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:178: error: `src2p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:178: error: `nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:183: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__nodes_subset':
/usr/include/linux/nodemask.h:186: error: `src1p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:186: error: `src2p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:186: error: `nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:190: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__nodes_empty':
/usr/include/linux/nodemask.h:192: error: `srcp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:192: error: `nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:196: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__nodes_full':
/usr/include/linux/nodemask.h:198: error: `srcp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:198: error: `nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:202: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__nodes_weight':
/usr/include/linux/nodemask.h:204: error: `srcp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:204: error: `nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:209: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__nodes_shift_right':
/usr/include/linux/nodemask.h:212: error: `dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:212: error: `srcp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:212: error: `n' undeclared (first use in this function)
/usr/include/linux/nodemask.h:212: error: `nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:217: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__nodes_shift_left':
/usr/include/linux/nodemask.h:220: error: `dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:220: error: `srcp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:220: error: `n' undeclared (first use in this function)
/usr/include/linux/nodemask.h:220: error: `nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:227: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__first_node':
/usr/include/linux/nodemask.h:229: error: syntax error before "int"
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:233: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__next_node':
/usr/include/linux/nodemask.h:235: error: syntax error before "int"
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:251: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__first_unset_node':
/usr/include/linux/nodemask.h:253: error: syntax error before "int"
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:286: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__nodemask_scnprintf':
/usr/include/linux/nodemask.h:288: error: `buf' undeclared (first use in this function)
/usr/include/linux/nodemask.h:288: error: `len' undeclared (first use in this function)
/usr/include/linux/nodemask.h:288: error: `srcp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:288: error: `nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:294: error: syntax error before "nodemask_t"
/usr/include/linux/nodemask.h: In function `__nodemask_parse':
/usr/include/linux/nodemask.h:296: error: `buf' undeclared (first use in this function)
/usr/include/linux/nodemask.h:296: error: `len' undeclared (first use in this function)
/usr/include/linux/nodemask.h:296: error: `dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:296: error: `nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:302: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__nodelist_scnprintf':
/usr/include/linux/nodemask.h:304: error: `buf' undeclared (first use in this function)
/usr/include/linux/nodemask.h:304: error: `len' undeclared (first use in this function)
/usr/include/linux/nodemask.h:304: error: `srcp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:304: error: `nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:308: error: syntax error before "nodemask_t"
/usr/include/linux/nodemask.h: In function `__nodelist_parse':
/usr/include/linux/nodemask.h:310: error: `buf' undeclared (first use in this function)
/usr/include/linux/nodemask.h:310: error: `dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:310: error: `nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:316: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__node_remap':
/usr/include/linux/nodemask.h:318: error: `oldbit' undeclared (first use in this function)
/usr/include/linux/nodemask.h:318: error: `oldp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:318: error: `newp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:318: error: `nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:323: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function `__nodes_remap':
/usr/include/linux/nodemask.h:326: error: `dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:326: error: `srcp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:326: error: `oldp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:326: error: `newp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:326: error: `nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:345: error: syntax error before "node_online_map"
/usr/include/linux/nodemask.h:346: error: syntax error before "node_possible_map"
In file included from /usr/include/linux/sched.h:23,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/asm/mmu.h:15: error: syntax error before "rwlock_t"
/usr/include/asm/mmu.h:18: error: syntax error before '}' token
In file included from /usr/include/asm/cputime.h:4,
                 from /usr/include/linux/sched.h:24,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/asm-generic/cputime.h:23: error: syntax error before "cputime64_t"
In file included from /usr/include/linux/smp.h:18,
                 from /usr/include/linux/sched.h:26,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/asm/smp.h:34: error: syntax error before "cpu_present_mask"
/usr/include/asm/smp.h:35: error: syntax error before "cpu_possible_map"
/usr/include/asm/smp.h:36: error: syntax error before "cpu_online_map"
/usr/include/asm/smp.h:37: error: syntax error before "cpu_callout_map"
/usr/include/asm/smp.h:38: error: syntax error before "cpu_initialized"
/usr/include/asm/smp.h:55: error: syntax error before "cpu_sibling_map"
/usr/include/asm/smp.h:55: error: `CONFIG_NR_CPUS' undeclared here (not in a function)
/usr/include/asm/smp.h:56: error: syntax error before "cpu_core_map"
/usr/include/asm/smp.h:57: error: syntax error before "phys_proc_id"
/usr/include/asm/smp.h:58: error: syntax error before "cpu_core_id"
/usr/include/asm/smp.h:59: error: syntax error before "cpu_llc_id"
/usr/include/asm/smp.h: In function `hard_smp_processor_id':
/usr/include/asm/smp.h:79: error: `APIC_BASE' undeclared (first use in this function)
/usr/include/asm/smp.h:79: error: `APIC_ID' undeclared (first use in this function)
/usr/include/asm/smp.h: At top level:
/usr/include/asm/smp.h:100: error: syntax error before "x86_cpu_to_apicid"
/usr/include/asm/smp.h:101: error: syntax error before "x86_cpu_to_log_apicid"
/usr/include/asm/smp.h:102: error: syntax error before "bios_cpu_apicid"
/usr/include/asm/smp.h:104: error: syntax error before "cpumask"
/usr/include/asm/smp.h: In function `cpu_mask_to_apicid':
/usr/include/asm/smp.h:106: error: `cpumask' undeclared (first use in this function)
/usr/include/asm/smp.h: In function `cpu_present_to_apicid':
/usr/include/asm/smp.h:114: error: `BAD_APICID' undeclared (first use in this function)
/usr/include/asm/smp.h: In function `logical_smp_processor_id':
/usr/include/asm/smp.h:137: error: `APIC_BASE' undeclared (first use in this function)
/usr/include/asm/smp.h:137: error: `APIC_LDR' undeclared (first use in this function)
In file included from /usr/include/linux/signal.h:4,
                 from /usr/include/linux/sched.h:28,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/linux/list.h:838:2: warning: #warning "don't include kernel headers in userspace"
In file included from /usr/include/linux/signal.h:6,
                 from /usr/include/linux/sched.h:28,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/asm/signal.h: At top level:
/usr/include/asm/signal.h:35: error: conflicting types for 'sigset_t'
/usr/include/sys/select.h:38: error: previous declaration of 'sigset_t' was here
In file included from /usr/include/asm/siginfo.h:6,
                 from /usr/include/linux/signal.h:7,
                 from /usr/include/linux/sched.h:28,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/asm-generic/siginfo.h:74: error: syntax error before "clock_t"
/usr/include/asm-generic/siginfo.h:91: error: syntax error before '}' token
/usr/include/asm-generic/siginfo.h:92: error: syntax error before '}' token
In file included from /usr/include/linux/sched.h:30,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/linux/fs_struct.h:9: error: syntax error before "rwlock_t"
/usr/include/linux/fs_struct.h:13: error: syntax error before '}' token
In file included from /usr/include/linux/sched.h:31,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/linux/completion.h:15: error: syntax error before "wait_queue_head_t"
/usr/include/linux/completion.h: In function `init_completion':
/usr/include/linux/completion.h:26: error: dereferencing pointer to incomplete type
/usr/include/linux/completion.h:27: error: dereferencing pointer to incomplete type
In file included from /usr/include/linux/sched.h:32,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/linux/pid.h: At top level:
/usr/include/linux/pid.h:47: error: field `pid_chain' has incomplete type
/usr/include/linux/pid.h:49: error: field `tasks' has incomplete type
/usr/include/linux/pid.h:50: error: field `rcu' has incomplete type
/usr/include/linux/pid.h:55: error: field `node' has incomplete type
In file included from /usr/include/linux/topology.h:34,
                 from /usr/include/linux/sched.h:34,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/asm/topology.h:71: error: syntax error before "cpu_coregroup_map"
In file included from /usr/include/linux/sched.h:108,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/linux/timer.h:12: error: field `entry' has incomplete type
In file included from /usr/include/linux/hrtimer.h:19,
                 from /usr/include/linux/sched.h:109,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/linux/ktime.h:47: error: syntax error before "s64"
/usr/include/linux/ktime.h:51: error: syntax error before "s32"
/usr/include/linux/ktime.h:57: error: syntax error before '}' token
/usr/include/linux/ktime.h:134: error: syntax error before "ktime_set"
/usr/include/linux/ktime.h: In function `ktime_set':
/usr/include/linux/ktime.h:136: error: syntax error before '{' token
/usr/include/linux/ktime.h: At top level:
/usr/include/linux/ktime.h:147: error: syntax error before "ktime_sub"
/usr/include/linux/ktime.h:147: error: syntax error before "lhs"
/usr/include/linux/ktime.h: In function `ktime_sub':
/usr/include/linux/ktime.h:149: error: syntax error before "res"
/usr/include/linux/ktime.h:151: error: `res' undeclared (first use in this function)
/usr/include/linux/ktime.h:151: error: `lhs' undeclared (first use in this function)
/usr/include/linux/ktime.h:151: error: `rhs' undeclared (first use in this function)
/usr/include/linux/ktime.h:153: error: `NSEC_PER_SEC' undeclared (first use in this function)
/usr/include/linux/ktime.h: At top level:
/usr/include/linux/ktime.h:166: error: syntax error before "ktime_add"
/usr/include/linux/ktime.h:166: error: syntax error before "add1"
/usr/include/linux/ktime.h: In function `ktime_add':
/usr/include/linux/ktime.h:168: error: syntax error before "res"
/usr/include/linux/ktime.h:170: error: `res' undeclared (first use in this function)
/usr/include/linux/ktime.h:170: error: `add1' undeclared (first use in this function)
/usr/include/linux/ktime.h:170: error: `add2' undeclared (first use in this function)
/usr/include/linux/ktime.h:179: error: `NSEC_PER_SEC' undeclared (first use in this function)
/usr/include/linux/ktime.h:180: error: `u32' undeclared (first use in this function)
/usr/include/linux/ktime.h: At top level:
/usr/include/linux/ktime.h:193: error: syntax error before "ktime_add_ns"
/usr/include/linux/ktime.h:193: error: syntax error before "kt"
/usr/include/linux/ktime.h:202: error: syntax error before "timespec_to_ktime"
/usr/include/linux/ktime.h: In function `timespec_to_ktime':
/usr/include/linux/ktime.h:204: error: syntax error before '{' token
/usr/include/linux/ktime.h: At top level:
/usr/include/linux/ktime.h:215: error: syntax error before "timeval_to_ktime"
/usr/include/linux/ktime.h: In function `timeval_to_ktime':
/usr/include/linux/ktime.h:217: error: syntax error before '{' token
/usr/include/linux/ktime.h: At top level:
/usr/include/linux/ktime.h:228: error: syntax error before "kt"
/usr/include/linux/ktime.h: In function `ktime_to_timespec':
/usr/include/linux/ktime.h:230: error: `kt' undeclared (first use in this function)
/usr/include/linux/ktime.h: At top level:
/usr/include/linux/ktime.h:241: error: syntax error before "kt"
/usr/include/linux/ktime.h: In function `ktime_to_timeval':
/usr/include/linux/ktime.h:244: error: `kt' undeclared (first use in this function)
/usr/include/linux/ktime.h:245: error: `NSEC_PER_USEC' undeclared (first use in this function)
/usr/include/linux/ktime.h: At top level:
/usr/include/linux/ktime.h:254: error: syntax error before "ktime_to_ns"
/usr/include/linux/ktime.h:254: error: syntax error before "kt"
/usr/include/linux/ktime.h: In function `ktime_to_ns':
/usr/include/linux/ktime.h:256: error: syntax error before "kt"
In file included from /usr/include/linux/sched.h:109,
                 from /usr/include/linux/futex.h:4,
                 from test.c:1:
/usr/include/linux/hrtimer.h: At top level:
/usr/include/linux/hrtimer.h:55: error: syntax error before "ktime_t"
/usr/include/linux/hrtimer.h:58: error: syntax error before '}' token
/usr/include/linux/hrtimer.h:69: error: field `timer' has incomplete type
/usr/include/linux/hrtimer.h:92: error: syntax error before "ktime_t"
/usr/include/linux/hrtimer.h:93: error: syntax error before '*' token
/usr/include/linux/hrtimer.h:93: error: `ktime_t' declared as function returning a function
/usr/include/linux/hrtimer.h:93: error: 'ktime_t' redeclared as different kind of symbol
/usr/include/linux/ktime.h:57: error: previous declaration of 'ktime_t' was here
/usr/include/linux/hrtimer.h:94: error: syntax error before '*' token
/usr/include/linux/hrtimer.h:94: error: `ktime_t' declared as function returning a function
/usr/include/linux/hrtimer.h:96: error: syntax error before "softirq_time"
/usr/include/linux/hrtimer.h:113: error: syntax error before "ktime_t"
/usr/include/linux/hrtimer.h:121: error: syntax error before "hrtimer_get_remaining"
/usr/include/linux/hrtimer.h: In function `hrtimer_active':
/usr/include/linux/hrtimer.h:130: error: dereferencing pointer to incomplete type
/usr/include/linux/hrtimer.h: At top level:
/usr/include/linux/hrtimer.h:135: error: syntax error before "ktime_t"
In file included from test.c:1:
/usr/include/linux/futex.h:97: error: syntax error before '*' token
In file included from test.c:2:
/usr/include/sys/time.h:58: error: redefinition of `struct timezone'
/usr/include/sys/time.h:96: error: syntax error before numeric constant
/usr/include/sys/time.h:110: error: redefinition of `struct itimerval'
/usr/include/asm/smp.h:102: warning: array 'bios_cpu_apicid' assumed to have one element
/usr/include/asm/mmu.h:17: error: storage size of `sem' isn't known
/usr/include/asm/smp.h:55: error: storage size of `cpu_sibling_map' isn't known
/usr/include/asm/smp.h:56: error: storage size of `cpu_core_map' isn't known
/usr/include/asm/smp.h:57: error: storage size of `phys_proc_id' isn't known
/usr/include/asm/smp.h:58: error: storage size of `cpu_core_id' isn't known
/usr/include/asm/smp.h:59: error: storage size of `cpu_llc_id' isn't known
/usr/include/asm/smp.h:100: error: storage size of `x86_cpu_to_apicid' isn't known
/usr/include/asm/smp.h:101: error: storage size of `x86_cpu_to_log_apicid' isn't known
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 189 байтов
Описание: Digital signature
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20070326/8f49028e/attachment-0001.bin>


Подробная информация о списке рассылки Devel