ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] С glibc-kernheaders что-то не так?
@ 2007-03-26 11:21 Kirill A. Shutemov
  2007-03-26 11:59 ` Kirill A. Shutemov
  0 siblings, 1 reply; 10+ messages in thread
From: Kirill A. Shutemov @ 2007-03-26 11:21 UTC (permalink / raw)
  To: ALT Devel discussion list


[-- Attachment #1.1: Type: text/plain, Size: 501 bytes --]

> 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/

[-- Attachment #1.2: log --]
[-- Type: text/plain, Size: 48592 bytes --]

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [devel] С glibc-kernheaders что-то не так?
  2007-03-26 11:21 [devel] С glibc-kernheaders что-то не так? Kirill A. Shutemov
@ 2007-03-26 11:59 ` Kirill A. Shutemov
  2007-03-27 11:44   ` Kirill A. Shutemov
  0 siblings, 1 reply; 10+ messages in thread
From: Kirill A. Shutemov @ 2007-03-26 11:59 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 653 bytes --]

On [Mon, 26.03.2007 14:20], Kirill A. Shutemov wrote:
> > 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 приаттачен.

https://bugzilla.altlinux.org/show_bug.cgi?id=11214

-- 
Regards,  Kirill A. Shutemov
 + Belarus, Minsk
 + Velesys LLC, http://www.velesys.com/
 + ALT Linux Team, http://www.altlinux.com/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [devel] С glibc-kernheaders что-то не так?
  2007-03-26 11:59 ` Kirill A. Shutemov
@ 2007-03-27 11:44   ` Kirill A. Shutemov
  2007-03-27 12:47     ` Dmitry V. Levin
  0 siblings, 1 reply; 10+ messages in thread
From: Kirill A. Shutemov @ 2007-03-27 11:44 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 788 bytes --]

On [Mon, 26.03.2007 14:59], Kirill A. Shutemov wrote:
> On [Mon, 26.03.2007 14:20], Kirill A. Shutemov wrote:
> > > 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 приаттачен.
> 
> https://bugzilla.altlinux.org/show_bug.cgi?id=11214

ldv@, что скажите?

-- 
Regards,  Kirill A. Shutemov
 + Belarus, Minsk
 + Velesys LLC, http://www.velesys.com/
 + ALT Linux Team, http://www.altlinux.com/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [devel] С glibc-kernheaders что-то не так?
  2007-03-27 11:44   ` Kirill A. Shutemov
@ 2007-03-27 12:47     ` Dmitry V. Levin
  2007-03-30 10:17       ` Kirill A. Shutemov
  0 siblings, 1 reply; 10+ messages in thread
From: Dmitry V. Levin @ 2007-03-27 12:47 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 787 bytes --]

On Tue, Mar 27, 2007 at 02:44:59PM +0300, Kirill A. Shutemov wrote:
> On [Mon, 26.03.2007 14:59], Kirill A. Shutemov wrote:
> > On [Mon, 26.03.2007 14:20], Kirill A. Shutemov wrote:
> > > > 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 приаттачен.
> > 
> > https://bugzilla.altlinux.org/show_bug.cgi?id=11214
> 
> ldv@, что скажите?

Некогда смотреть. :(


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [devel] С glibc-kernheaders что-то не так?
  2007-03-27 12:47     ` Dmitry V. Levin
@ 2007-03-30 10:17       ` Kirill A. Shutemov
  2007-03-30 12:22         ` Dmitry V. Levin
  0 siblings, 1 reply; 10+ messages in thread
From: Kirill A. Shutemov @ 2007-03-30 10:17 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 1166 bytes --]

On [Tue, 27.03.2007 16:46], Dmitry V. Levin wrote:
> On Tue, Mar 27, 2007 at 02:44:59PM +0300, Kirill A. Shutemov wrote:
> > On [Mon, 26.03.2007 14:59], Kirill A. Shutemov wrote:
> > > On [Mon, 26.03.2007 14:20], Kirill A. Shutemov wrote:
> > > > > 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 приаттачен.
> > > 
> > > https://bugzilla.altlinux.org/show_bug.cgi?id=11214
> > 
> > ldv@, что скажите?
> 
> Некогда смотреть. :(

Бага актуальна. Из-за неё откладывается новый релиз qemu.

-- 
Regards,  Kirill A. Shutemov
 + Belarus, Minsk
 + Velesys LLC, http://www.velesys.com/
 + ALT Linux Team, http://www.altlinux.com/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [devel] С glibc-kernheaders что-то не так?
  2007-03-30 10:17       ` Kirill A. Shutemov
@ 2007-03-30 12:22         ` Dmitry V. Levin
  2007-04-02  8:22           ` Kirill A. Shutemov
  0 siblings, 1 reply; 10+ messages in thread
From: Dmitry V. Levin @ 2007-03-30 12:22 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 1172 bytes --]

On Fri, Mar 30, 2007 at 01:17:22PM +0300, Kirill A. Shutemov wrote:
> On [Tue, 27.03.2007 16:46], Dmitry V. Levin wrote:
> > On Tue, Mar 27, 2007 at 02:44:59PM +0300, Kirill A. Shutemov wrote:
> > > On [Mon, 26.03.2007 14:59], Kirill A. Shutemov wrote:
> > > > On [Mon, 26.03.2007 14:20], Kirill A. Shutemov wrote:
> > > > > > 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 приаттачен.
> > > > 
> > > > https://bugzilla.altlinux.org/show_bug.cgi?id=11214
> > > 
> > > ldv@, что скажите?
> > 
> > Некогда смотреть. :(
> 
> Бага актуальна. Из-за неё откладывается новый релиз qemu.

Тогда посмотрите, пожалуйста, что можно сделать, не сломав всё остальное.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [devel] С glibc-kernheaders что-то не так?
  2007-03-30 12:22         ` Dmitry V. Levin
@ 2007-04-02  8:22           ` Kirill A. Shutemov
  2007-04-03 10:30             ` Kirill A. Shutemov
  0 siblings, 1 reply; 10+ messages in thread
From: Kirill A. Shutemov @ 2007-04-02  8:22 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 767 bytes --]

On [Fri, 30.03.2007 16:21], Dmitry V. Levin wrote:
> Тогда посмотрите, пожалуйста, что можно сделать, не сломав всё остальное.

git://git.altlinux.org/people/kas/packages/glibc-kernheaders.git#a2c5f8f

Кстати:

$ for f in `rpm -ql glibc-kernheaders|grep '\.h$'`; do 
    echo "#include <$f>" > test.c;
    gcc -c test.c 2> /dev/null;
    [ "$?" = "0" ] || echo $f;
  done > list
$ wc -l list
685 list
$ rpm -ql glibc-kernheaders | grep '\.h$' | wc -l
1169

Думал.

P.S. У вас в репозитории alt4, а в Сизифе alt5
-- 
Regards,  Kirill A. Shutemov
 + Belarus, Minsk
 + Velesys LLC, http://www.velesys.com/
 + ALT Linux Team, http://www.altlinux.com/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [devel] С glibc-kernheaders что-то не так?
  2007-04-02  8:22           ` Kirill A. Shutemov
@ 2007-04-03 10:30             ` Kirill A. Shutemov
  2007-04-06  8:45               ` Kirill A. Shutemov
  0 siblings, 1 reply; 10+ messages in thread
From: Kirill A. Shutemov @ 2007-04-03 10:30 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 894 bytes --]

On [Mon, 02.04.2007 11:21], Kirill A. Shutemov wrote:
> On [Fri, 30.03.2007 16:21], Dmitry V. Levin wrote:
> > Тогда посмотрите, пожалуйста, что можно сделать, не сломав всё остальное.
> 
> git://git.altlinux.org/people/kas/packages/glibc-kernheaders.git#a2c5f8f

В моём репозитории ещё одни комит посмотрите.

> Кстати:
> 
> $ for f in `rpm -ql glibc-kernheaders|grep '\.h$'`; do 
>     echo "#include <$f>" > test.c;
>     gcc -c test.c 2> /dev/null;
>     [ "$?" = "0" ] || echo $f;
>   done > list
> $ wc -l list
> 685 list
> $ rpm -ql glibc-kernheaders | grep '\.h$' | wc -l
> 1169
> 
> Думал.
Коментарии?

-- 
Regards,  Kirill A. Shutemov
 + Belarus, Minsk
 + Velesys LLC, http://www.velesys.com/
 + ALT Linux Team, http://www.altlinux.com/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [devel] С glibc-kernheaders что-то не так?
  2007-04-03 10:30             ` Kirill A. Shutemov
@ 2007-04-06  8:45               ` Kirill A. Shutemov
  2007-04-06  9:57                 ` Dmitry V. Levin
  0 siblings, 1 reply; 10+ messages in thread
From: Kirill A. Shutemov @ 2007-04-06  8:45 UTC (permalink / raw)
  To: ALT Devel discussion list; +Cc: ldv

[-- Attachment #1: Type: text/plain, Size: 765 bytes --]

On [Tue, 03.04.2007 13:29], Kirill A. Shutemov wrote:
> On [Mon, 02.04.2007 11:21], Kirill A. Shutemov wrote:
> > On [Fri, 30.03.2007 16:21], Dmitry V. Levin wrote:
> > > Тогда посмотрите, пожалуйста, что можно сделать, не сломав всё остальное.
> > 
> > git://git.altlinux.org/people/kas/packages/glibc-kernheaders.git#a2c5f8f
> 
> В моём репозитории ещё одни комит посмотрите.
Дмитрий, будте добры, посмотрите. Я не думаю, что это отнимет много
времени.

-- 
Regards,  Kirill A. Shutemov
 + Belarus, Minsk
 + Velesys LLC, http://www.velesys.com/
 + ALT Linux Team, http://www.altlinux.com/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [devel] С glibc-kernheaders что-то не так?
  2007-04-06  8:45               ` Kirill A. Shutemov
@ 2007-04-06  9:57                 ` Dmitry V. Levin
  0 siblings, 0 replies; 10+ messages in thread
From: Dmitry V. Levin @ 2007-04-06  9:57 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 574 bytes --]

On Fri, Apr 06, 2007 at 11:45:46AM +0300, Kirill A. Shutemov wrote:
> On [Tue, 03.04.2007 13:29], Kirill A. Shutemov wrote:
> > On [Mon, 02.04.2007 11:21], Kirill A. Shutemov wrote:
> > > On [Fri, 30.03.2007 16:21], Dmitry V. Levin wrote:
> > > > Тогда посмотрите, пожалуйста, что можно сделать, не сломав всё остальное.
> > > 
> > > git://git.altlinux.org/people/kas/packages/glibc-kernheaders.git#a2c5f8f
> > 
> > В моём репозитории ещё одни комит посмотрите.
> Дмитрий, будте добры, посмотрите. Я не думаю, что это отнимет много
> времени.

OK


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-04-06  9:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-26 11:21 [devel] С glibc-kernheaders что-то не так? Kirill A. Shutemov
2007-03-26 11:59 ` Kirill A. Shutemov
2007-03-27 11:44   ` Kirill A. Shutemov
2007-03-27 12:47     ` Dmitry V. Levin
2007-03-30 10:17       ` Kirill A. Shutemov
2007-03-30 12:22         ` Dmitry V. Levin
2007-04-02  8:22           ` Kirill A. Shutemov
2007-04-03 10:30             ` Kirill A. Shutemov
2007-04-06  8:45               ` Kirill A. Shutemov
2007-04-06  9:57                 ` Dmitry V. Levin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git