[PATCH] usbdevice_fs header breakage

From: Harald Welte
Date: Sat Sep 03 2005 - 03:44:00 EST


On my x86_64 box, If I don't apply the following patch, I fail to
compile any userspace application that includes usbdevice_fs.h (see
attached compiler errors from trying to compile openct).

linux/compat.h includes asm/compat.h
asm-x86_64/compat.h includes linux/sched.h
linux/sched.h includes linux/timex.h
and linux/timex.h re-defines glibc types such as "struct timeval"

I'm not sure whether this fix is the correct way/place to fix the issue.
Actually, it seems wrong to me, since usbdevice_fs.h doesn't include
config.h but uses CONFIG_COMPAT. So somebody who understands the code,
please clean this up.


[USBDEVFS] fix inclusion of <linux/compat.h> to avoud header mess

Without moving the include of compat.h down, userspace programs that use
usbdevice_fs.h end up including half the kernel includes (and eventually
fail to compile).

Signed-off-by: Harald Welte <laforge@xxxxxxxxxxxxx>

---
commit 6066d9bc752ad495d7a8966a9629a26d949588ed
tree 054e3fbee4c56a1e8d6a365f0722d7db7e01e2e2
parent a2c9c9a399f2069f31d608d142da8d5d82609b0d
author Harald Welte <laforge@xxxxxxxxxxxxx> Sa, 03 Sep 2005 11:08:53 +0200
committer Harald Welte <laforge@xxxxxxxxxxxxx> Sa, 03 Sep 2005 11:08:53 +0200

include/linux/usbdevice_fs.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/usbdevice_fs.h b/include/linux/usbdevice_fs.h
--- a/include/linux/usbdevice_fs.h
+++ b/include/linux/usbdevice_fs.h
@@ -32,7 +32,6 @@
#define _LINUX_USBDEVICE_FS_H

#include <linux/types.h>
-#include <linux/compat.h>

/* --------------------------------------------------------------------- */

@@ -125,6 +124,7 @@ struct usbdevfs_hub_portinfo {
};

#ifdef CONFIG_COMPAT
+#include <linux/compat.h>
struct usbdevfs_urb32 {
unsigned char type;
unsigned char endpoint;
--
- Harald Welte <laforge@xxxxxxxxxxxx> http://gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
In file included from /usr/include/linux/timex.h:58,
from /usr/include/linux/sched.h:11,
from /usr/include/asm/compat.h:8,
from /usr/include/linux/compat.h:15,
from /usr/include/linux/usbdevice_fs.h:35,
from sys-linux.c:15:
/usr/include/linux/time.h:12: error: redefinition of âstruct timespecâ
/usr/include/linux/time.h:18: error: redefinition of âstruct timevalâ
/usr/include/linux/time.h:23: error: redefinition of âstruct timezoneâ
/usr/include/linux/time.h:147: error: redefinition of âstruct itimervalâ
In file included from /usr/include/linux/spinlock.h:16,
from /usr/include/linux/seqlock.h:30,
from /usr/include/asm/vsyscall.h:4,
from /usr/include/asm/timex.h:12,
from /usr/include/linux/timex.h:61,
from /usr/include/linux/sched.h:11,
from /usr/include/asm/compat.h:8,
from /usr/include/linux/compat.h:15,
from /usr/include/linux/usbdevice_fs.h:35,
from sys-linux.c:15:
/usr/include/asm/processor.h:185: error: syntax error before âu16â
/usr/include/asm/processor.h:187: error: syntax error before âtwdâ
/usr/include/asm/processor.h:188: error: syntax error before âfopâ
/usr/include/asm/processor.h:189: error: syntax error before âripâ
/usr/include/asm/processor.h:190: error: syntax error before ârdpâ
/usr/include/asm/processor.h:191: error: syntax error before âmxcsrâ
/usr/include/asm/processor.h:192: error: syntax error before âmxcsr_maskâ
/usr/include/asm/processor.h:193: error: syntax error before âst_spaceâ
/usr/include/asm/processor.h:194: error: syntax error before âxmm_spaceâ
/usr/include/asm/processor.h:195: error: syntax error before âpaddingâ
/usr/include/asm/processor.h:196: error: syntax error before â}â token
/usr/include/asm/processor.h:199: error: field âfxsaveâ has incomplete type
/usr/include/asm/processor.h:203: error: syntax error before âu32â
/usr/include/asm/processor.h:205: error: syntax error before ârsp1â
/usr/include/asm/processor.h:206: error: syntax error before ârsp2â
/usr/include/asm/processor.h:207: error: syntax error before âreserved2â
/usr/include/asm/processor.h:208: error: syntax error before âistâ
/usr/include/asm/processor.h:209: error: syntax error before âreserved3â
/usr/include/asm/processor.h:210: error: syntax error before âreserved4â
/usr/include/asm/processor.h:211: error: syntax error before âreserved5â
/usr/include/asm/processor.h:212: error: syntax error before âio_bitmap_baseâ
/usr/include/asm/processor.h:223: error: syntax error before â}â token
/usr/include/asm/processor.h:254: error: syntax error before âu64â
/usr/include/asm/processor.h: In function âprefetchwâ:
/usr/include/asm/processor.h:404: error: called object â"r"â is not a function
In file included from /usr/include/asm/div64.h:1,
from /usr/include/linux/jiffies.h:9,
from /usr/include/linux/sched.h:12,
from /usr/include/asm/compat.h:8,
from /usr/include/linux/compat.h:15,
from /usr/include/linux/usbdevice_fs.h:35,
from sys-linux.c:15:
/usr/include/asm-generic/div64.h:54:3: error: #error do_div() does not yet support the C64
In file included from /usr/include/linux/sched.h:12,
from /usr/include/asm/compat.h:8,
from /usr/include/linux/compat.h:15,
from /usr/include/linux/usbdevice_fs.h:35,
from sys-linux.c:15:
/usr/include/linux/jiffies.h: At top level:
/usr/include/linux/jiffies.h:84: error: syntax error before âjiffies_64â
/usr/include/linux/jiffies.h:88: error: syntax error before âget_jiffies_64â
/usr/include/linux/jiffies.h: In function âtimespec_to_jiffiesâ:
/usr/include/linux/jiffies.h:320: error: called object âu64â is not a function
/usr/include/linux/jiffies.h:320: error: called object âu64â is not a function
/usr/include/linux/jiffies.h:320: error: âNSEC_PER_SECâ undeclared (first use in this function)
/usr/include/linux/jiffies.h:320: error: (Each undeclared identifier is reported only once
/usr/include/linux/jiffies.h:320: error: for each function it appears in.)
/usr/include/linux/jiffies.h:321: error: called object âu64â is not a function
/usr/include/linux/jiffies.h:321: error: called object âu64â is not a function
/usr/include/linux/jiffies.h:324: error: syntax error before âsecâ
/usr/include/linux/jiffies.h:324: error: syntax error before âNSEC_PER_SECâ
/usr/include/linux/jiffies.h:324: error: called object âu64â is not a function
/usr/include/linux/jiffies.h:324: error: syntax error before â)â token
/usr/include/linux/jiffies.h: In function âjiffies_to_timespecâ:
/usr/include/linux/jiffies.h:337: error: syntax error before ânsecâ
/usr/include/linux/jiffies.h:338: error: syntax error before âresultâ
/usr/include/linux/jiffies.h:338: error: âresultâ undeclared (first use in this function)
/usr/include/linux/jiffies.h:338: 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:359: error: called object âu64â is not a function
/usr/include/linux/jiffies.h:359: error: called object âu64â is not a function
/usr/include/linux/jiffies.h:359: error: âNSEC_PER_SECâ undeclared (first use in this function)
/usr/include/linux/jiffies.h:360: error: called object âu64â is not a function
/usr/include/linux/jiffies.h:360: error: called object âu64â is not a function
/usr/include/linux/jiffies.h:363: error: syntax error before âsecâ
/usr/include/linux/jiffies.h:363: error: syntax error before âNSEC_PER_SECâ
/usr/include/linux/jiffies.h:363: error: called object âu64â is not a function
/usr/include/linux/jiffies.h:363: error: syntax error before â)â token
/usr/include/linux/jiffies.h: In function âjiffies_to_timevalâ:
/usr/include/linux/jiffies.h:375: error: syntax error before ânsecâ
/usr/include/linux/jiffies.h:376: error: syntax error before âresultâ
/usr/include/linux/jiffies.h:376: error: âresultâ undeclared (first use in this function)
/usr/include/linux/jiffies.h:376: error: âNSEC_PER_SECâ undeclared (first use in this function)
/usr/include/linux/jiffies.h:377: 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â
In file included from /usr/include/linux/sched.h:12,
from /usr/include/asm/compat.h:8,
from /usr/include/linux/compat.h:15,
from /usr/include/linux/usbdevice_fs.h:35,
from sys-linux.c:15:
/usr/include/linux/jiffies.h:385:41: error: division by zero in #if
/usr/include/linux/jiffies.h:385:42: error: 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: error: 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: error: division by zero in #if
/usr/include/linux/jiffies.h:416:42: error: 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: error: 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/cpumask.h:82,
from /usr/include/linux/sched.h:15,
from /usr/include/asm/compat.h:8,
from /usr/include/linux/compat.h:15,
from /usr/include/linux/usbdevice_fs.h:35,
from sys-linux.c:15:
/usr/include/linux/bitmap.h: In function âbitmap_zeroâ:
/usr/include/linux/bitmap.h:119: error: âBITS_PER_LONGâ undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function âbitmap_fillâ:
/usr/include/linux/bitmap.h:134: error: âBITS_PER_LONGâ undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function âbitmap_copyâ:
/usr/include/linux/bitmap.h:140: error: âBITS_PER_LONGâ undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function âbitmap_andâ:
/usr/include/linux/bitmap.h:151: error: âBITS_PER_LONGâ undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function âbitmap_orâ:
/usr/include/linux/bitmap.h:160: error: âBITS_PER_LONGâ undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function âbitmap_xorâ:
/usr/include/linux/bitmap.h:169: error: âBITS_PER_LONGâ undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function âbitmap_andnotâ:
/usr/include/linux/bitmap.h:178: error: âBITS_PER_LONGâ undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function âbitmap_complementâ:
/usr/include/linux/bitmap.h:187: error: âBITS_PER_LONGâ undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function âbitmap_equalâ:
/usr/include/linux/bitmap.h:196: error: âBITS_PER_LONGâ undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function âbitmap_intersectsâ:
/usr/include/linux/bitmap.h:205: error: âBITS_PER_LONGâ undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function âbitmap_subsetâ:
/usr/include/linux/bitmap.h:214: error: âBITS_PER_LONGâ undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function âbitmap_emptyâ:
/usr/include/linux/bitmap.h:222: error: âBITS_PER_LONGâ undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function âbitmap_fullâ:
/usr/include/linux/bitmap.h:230: 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:244: 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:253: error: âBITS_PER_LONGâ undeclared (first use in this function)
In file included from /usr/include/linux/sched.h:15,
from /usr/include/asm/compat.h:8,
from /usr/include/linux/compat.h:15,
from /usr/include/linux/usbdevice_fs.h:35,
from sys-linux.c:15:
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:85: error: syntax error before âDECLARE_BITMAPâ
/usr/include/linux/cpumask.h:86: error: syntax error before â_unused_cpumask_arg_â
/usr/include/linux/cpumask.h:89: error: syntax error before â*â token
/usr/include/linux/cpumask.h: In function â__cpu_setâ:
/usr/include/linux/cpumask.h:91: error: âcpuâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:91: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:95: error: syntax error before â*â token
/usr/include/linux/cpumask.h: In function â__cpu_clearâ:
/usr/include/linux/cpumask.h:97: error: âcpuâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:97: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:101: error: syntax error before â*â token
/usr/include/linux/cpumask.h: In function â__cpus_setallâ:
/usr/include/linux/cpumask.h:103: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:103: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:107: error: syntax error before â*â token
/usr/include/linux/cpumask.h: In function â__cpus_clearâ:
/usr/include/linux/cpumask.h:109: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:109: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:116: error: syntax error before âcpumask_tâ
/usr/include/linux/cpumask.h: In function â__cpu_test_and_setâ:
/usr/include/linux/cpumask.h:118: error: âcpuâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:118: error: âaddrâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:122: error: syntax error before â*â token
/usr/include/linux/cpumask.h: In function â__cpus_andâ:
/usr/include/linux/cpumask.h:125: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:125: error: âsrc1pâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:125: error: âsrc2pâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:125: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:129: error: syntax error before â*â token
/usr/include/linux/cpumask.h: In function â__cpus_orâ:
/usr/include/linux/cpumask.h:132: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:132: error: âsrc1pâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:132: error: âsrc2pâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:132: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:136: error: syntax error before â*â token
/usr/include/linux/cpumask.h: In function â__cpus_xorâ:
/usr/include/linux/cpumask.h:139: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:139: error: âsrc1pâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:139: error: âsrc2pâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:139: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:144: error: syntax error before â*â token
/usr/include/linux/cpumask.h: In function â__cpus_andnotâ:
/usr/include/linux/cpumask.h:147: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:147: error: âsrc1pâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:147: error: âsrc2pâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:147: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:151: error: syntax error before â*â token
/usr/include/linux/cpumask.h: In function â__cpus_complementâ:
/usr/include/linux/cpumask.h:154: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:154: error: âsrcpâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:154: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:158: error: syntax error before â*â token
/usr/include/linux/cpumask.h: In function â__cpus_equalâ:
/usr/include/linux/cpumask.h:161: error: âsrc1pâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:161: error: âsrc2pâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:161: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:165: error: syntax error before â*â token
/usr/include/linux/cpumask.h: In function â__cpus_intersectsâ:
/usr/include/linux/cpumask.h:168: error: âsrc1pâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:168: error: âsrc2pâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:168: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:172: error: syntax error before â*â token
/usr/include/linux/cpumask.h: In function â__cpus_subsetâ:
/usr/include/linux/cpumask.h:175: error: âsrc1pâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:175: error: âsrc2pâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:175: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:179: error: syntax error before â*â token
/usr/include/linux/cpumask.h: In function â__cpus_emptyâ:
/usr/include/linux/cpumask.h:181: error: âsrcpâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:181: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:185: error: syntax error before â*â token
/usr/include/linux/cpumask.h: In function â__cpus_fullâ:
/usr/include/linux/cpumask.h:187: error: âsrcpâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:187: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:191: error: syntax error before â*â token
/usr/include/linux/cpumask.h: In function â__cpus_weightâ:
/usr/include/linux/cpumask.h:193: error: âsrcpâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:193: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:198: error: syntax error before â*â token
/usr/include/linux/cpumask.h: In function â__cpus_shift_rightâ:
/usr/include/linux/cpumask.h:201: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:201: error: âsrcpâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:201: error: ânâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:201: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:206: error: syntax error before â*â token
/usr/include/linux/cpumask.h: In function â__cpus_shift_leftâ:
/usr/include/linux/cpumask.h:209: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:209: error: âsrcpâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:209: error: ânâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:209: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:213: error: syntax error before â*â token
/usr/include/linux/cpumask.h: In function â__first_cpuâ:
/usr/include/linux/cpumask.h:215: error: syntax error before âintâ
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:219: error: syntax error before â*â token
/usr/include/linux/cpumask.h: In function â__next_cpuâ:
/usr/include/linux/cpumask.h:221: error: syntax error before âintâ
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:270: error: syntax error before â*â token
/usr/include/linux/cpumask.h: In function â__cpumask_scnprintfâ:
/usr/include/linux/cpumask.h:272: error: âbufâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:272: error: âlenâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:272: error: âsrcpâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:272: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:278: error: syntax error before âcpumask_tâ
/usr/include/linux/cpumask.h: In function â__cpumask_parseâ:
/usr/include/linux/cpumask.h:280: error: âbufâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:280: error: âlenâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:280: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:280: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:286: error: syntax error before â*â token
/usr/include/linux/cpumask.h: In function â__cpulist_scnprintfâ:
/usr/include/linux/cpumask.h:288: error: âbufâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:288: error: âlenâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:288: error: âsrcpâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:288: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:292: error: syntax error before âcpumask_tâ
/usr/include/linux/cpumask.h: In function â__cpulist_parseâ:
/usr/include/linux/cpumask.h:294: error: âbufâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:294: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/cpumask.h:294: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:362: error: syntax error before âcpu_possible_mapâ
/usr/include/linux/cpumask.h:363: error: syntax error before âcpu_online_mapâ
/usr/include/linux/cpumask.h:364: error: syntax error before âcpu_present_mapâ
In file included from /usr/include/linux/sched.h:17,
from /usr/include/asm/compat.h:8,
from /usr/include/linux/compat.h:15,
from /usr/include/linux/usbdevice_fs.h:35,
from sys-linux.c:15:
/usr/include/linux/nodemask.h:85: error: syntax error before âDECLARE_BITMAPâ
/usr/include/linux/nodemask.h:86: error: syntax error before â_unused_nodemask_arg_â
/usr/include/linux/nodemask.h:89: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__node_setâ:
/usr/include/linux/nodemask.h:91: error: ânodeâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:91: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:95: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__node_clearâ:
/usr/include/linux/nodemask.h:97: error: ânodeâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:97: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:101: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__nodes_setallâ:
/usr/include/linux/nodemask.h:103: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:103: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:107: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__nodes_clearâ:
/usr/include/linux/nodemask.h:109: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:109: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:117: error: syntax error before ânodemask_tâ
/usr/include/linux/nodemask.h: In function â__node_test_and_setâ:
/usr/include/linux/nodemask.h:119: error: ânodeâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:119: error: âaddrâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:124: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__nodes_andâ:
/usr/include/linux/nodemask.h:127: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:127: error: âsrc1pâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:127: error: âsrc2pâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:127: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:132: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__nodes_orâ:
/usr/include/linux/nodemask.h:135: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:135: error: âsrc1pâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:135: error: âsrc2pâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:135: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:140: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__nodes_xorâ:
/usr/include/linux/nodemask.h:143: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:143: error: âsrc1pâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:143: error: âsrc2pâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:143: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:148: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__nodes_andnotâ:
/usr/include/linux/nodemask.h:151: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:151: error: âsrc1pâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:151: error: âsrc2pâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:151: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:156: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__nodes_complementâ:
/usr/include/linux/nodemask.h:159: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:159: error: âsrcpâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:159: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:164: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__nodes_equalâ:
/usr/include/linux/nodemask.h:167: error: âsrc1pâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:167: error: âsrc2pâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:167: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:172: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__nodes_intersectsâ:
/usr/include/linux/nodemask.h:175: error: âsrc1pâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:175: error: âsrc2pâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:175: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:180: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__nodes_subsetâ:
/usr/include/linux/nodemask.h:183: error: âsrc1pâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:183: error: âsrc2pâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:183: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:187: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__nodes_emptyâ:
/usr/include/linux/nodemask.h:189: error: âsrcpâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:189: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:193: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__nodes_fullâ:
/usr/include/linux/nodemask.h:195: error: âsrcpâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:195: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:199: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__nodes_weightâ:
/usr/include/linux/nodemask.h:201: error: âsrcpâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:201: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:206: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__nodes_shift_rightâ:
/usr/include/linux/nodemask.h:209: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:209: error: âsrcpâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:209: error: ânâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:209: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:214: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__nodes_shift_leftâ:
/usr/include/linux/nodemask.h:217: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:217: error: âsrcpâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:217: error: ânâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:217: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:224: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__first_nodeâ:
/usr/include/linux/nodemask.h:226: error: syntax error before âintâ
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:230: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__next_nodeâ:
/usr/include/linux/nodemask.h:232: error: syntax error before âintâ
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:248: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__first_unset_nodeâ:
/usr/include/linux/nodemask.h:250: error: syntax error before âintâ
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:283: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__nodemask_scnprintfâ:
/usr/include/linux/nodemask.h:285: error: âbufâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:285: error: âlenâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:285: error: âsrcpâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:285: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:291: error: syntax error before ânodemask_tâ
/usr/include/linux/nodemask.h: In function â__nodemask_parseâ:
/usr/include/linux/nodemask.h:293: error: âbufâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:293: error: âlenâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:293: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:293: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:299: error: syntax error before â*â token
/usr/include/linux/nodemask.h: In function â__nodelist_scnprintfâ:
/usr/include/linux/nodemask.h:301: error: âbufâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:301: error: âlenâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:301: error: âsrcpâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:301: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:305: error: syntax error before ânodemask_tâ
/usr/include/linux/nodemask.h: In function â__nodelist_parseâ:
/usr/include/linux/nodemask.h:307: error: âbufâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:307: error: âdstpâ undeclared (first use in this function)
/usr/include/linux/nodemask.h:307: error: ânbitsâ undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:326: error: syntax error before ânode_online_mapâ
/usr/include/linux/nodemask.h:327: error: syntax error before ânode_possible_mapâ
In file included from /usr/include/linux/sched.h:23,
from /usr/include/asm/compat.h:8,
from /usr/include/linux/compat.h:15,
from /usr/include/linux/usbdevice_fs.h:35,
from sys-linux.c:15:
/usr/include/asm/mmu.h:17: error: field âsemâ has incomplete type
In file included from /usr/include/asm/cputime.h:4,
from /usr/include/linux/sched.h:24,
from /usr/include/asm/compat.h:8,
from /usr/include/linux/compat.h:15,
from /usr/include/linux/usbdevice_fs.h:35,
from sys-linux.c:15:
/usr/include/asm-generic/cputime.h:23: error: syntax error before âcputime64_tâ
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:28,
from /usr/include/asm/compat.h:8,
from /usr/include/linux/compat.h:15,
from /usr/include/linux/usbdevice_fs.h:35,
from sys-linux.c:15:
/usr/include/linux/list.h:770: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/asm/compat.h:8,
from /usr/include/linux/compat.h:15,
from /usr/include/linux/usbdevice_fs.h:35,
from sys-linux.c:15:
/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/asm/compat.h:8,
from /usr/include/linux/compat.h:15,
from /usr/include/linux/usbdevice_fs.h:35,
from sys-linux.c:15:
/usr/include/asm-generic/siginfo.h:75: error: syntax error before âclock_tâ
/usr/include/asm-generic/siginfo.h:92: error: syntax error before â}â token
/usr/include/asm-generic/siginfo.h:93: error: syntax error before â}â token
In file included from /usr/include/linux/sched.h:32,
from /usr/include/asm/compat.h:8,
from /usr/include/linux/compat.h:15,
from /usr/include/linux/usbdevice_fs.h:35,
from sys-linux.c:15:
/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:33,
from /usr/include/asm/compat.h:8,
from /usr/include/linux/compat.h:15,
from /usr/include/linux/usbdevice_fs.h:35,
from sys-linux.c:15:
/usr/include/linux/pid.h: At top level:
/usr/include/linux/pid.h:17: error: field âpid_chainâ has incomplete type
/usr/include/linux/pid.h:19: error: field âpid_listâ has incomplete type
In file included from /usr/include/linux/sched.h:34,
from /usr/include/asm/compat.h:8,
from /usr/include/linux/compat.h:15,
from /usr/include/linux/usbdevice_fs.h:35,
from sys-linux.c:15:
/usr/include/linux/percpu.h: In function â__alloc_percpuâ:
/usr/include/linux/percpu.h:45: error: âGFP_KERNELâ undeclared (first use in this function)
In file included from /usr/include/linux/sched.h:36,
from /usr/include/asm/compat.h:8,
from /usr/include/linux/compat.h:15,
from /usr/include/linux/usbdevice_fs.h:35,
from sys-linux.c:15:
/usr/include/linux/seccomp.h: In function âsecure_computingâ:
/usr/include/linux/seccomp.h:18: error: âTIF_SECCOMPâ undeclared (first use in this function)
/usr/include/linux/seccomp.h: In function âhas_secure_computingâ:
/usr/include/linux/seccomp.h:24: error: âTIF_SECCOMPâ undeclared (first use in this function)
In file included from /usr/include/linux/sched.h:104,
from /usr/include/asm/compat.h:8,
from /usr/include/linux/compat.h:15,
from /usr/include/linux/usbdevice_fs.h:35,
from sys-linux.c:15:
/usr/include/linux/timer.h: At top level:
/usr/include/linux/timer.h:12: error: field âentryâ has incomplete type
In file included from /usr/include/linux/compat.h:15,
from /usr/include/linux/usbdevice_fs.h:35,
from sys-linux.c:15:
/usr/include/asm/compat.h:12: error: syntax error before âcompat_size_tâ
/usr/include/asm/compat.h:13: error: syntax error before âcompat_ssize_tâ
/usr/include/asm/compat.h:14: error: syntax error before âcompat_time_tâ
/usr/include/asm/compat.h:15: error: syntax error before âcompat_clock_tâ
/usr/include/asm/compat.h:16: error: syntax error before âcompat_pid_tâ
/usr/include/asm/compat.h:17: error: syntax error before âcompat_uid_tâ
/usr/include/asm/compat.h:18: error: syntax error before âcompat_gid_tâ
/usr/include/asm/compat.h:19: error: syntax error before âcompat_uid32_tâ
/usr/include/asm/compat.h:20: error: syntax error before âcompat_gid32_tâ
/usr/include/asm/compat.h:21: error: syntax error before âcompat_mode_tâ
/usr/include/asm/compat.h:22: error: syntax error before âcompat_ino_tâ
/usr/include/asm/compat.h:23: error: syntax error before âcompat_dev_tâ
/usr/include/asm/compat.h:24: error: syntax error before âcompat_off_tâ
/usr/include/asm/compat.h:25: error: syntax error before âcompat_loff_tâ
/usr/include/asm/compat.h:26: error: syntax error before âcompat_nlink_tâ
/usr/include/asm/compat.h:27: error: syntax error before âcompat_ipc_pid_tâ
/usr/include/asm/compat.h:28: error: syntax error before âcompat_daddr_tâ
/usr/include/asm/compat.h:29: error: syntax error before âcompat_caddr_tâ
/usr/include/asm/compat.h:31: error: syntax error before âcompat_timer_tâ
/usr/include/asm/compat.h:32: error: syntax error before âcompat_key_tâ
/usr/include/asm/compat.h:34: error: syntax error before âcompat_int_tâ
/usr/include/asm/compat.h:35: error: syntax error before âcompat_long_tâ
/usr/include/asm/compat.h:36: error: syntax error before âcompat_uint_tâ
/usr/include/asm/compat.h:37: error: syntax error before âcompat_ulong_tâ
/usr/include/asm/compat.h:40: error: syntax error before âcompat_time_tâ
/usr/include/asm/compat.h:45: error: syntax error before âcompat_time_tâ
/usr/include/asm/compat.h:50: error: syntax error before âcompat_dev_tâ
/usr/include/asm/compat.h:52: error: syntax error before âst_inoâ
/usr/include/asm/compat.h:53: error: syntax error before âst_modeâ
/usr/include/asm/compat.h:54: error: syntax error before âst_nlinkâ
/usr/include/asm/compat.h:55: error: syntax error before âst_uidâ
/usr/include/asm/compat.h:56: error: syntax error before âst_gidâ
/usr/include/asm/compat.h:57: error: syntax error before âst_rdevâ
/usr/include/asm/compat.h:58: error: syntax error before â__pad2â
/usr/include/asm/compat.h:59: error: syntax error before âst_sizeâ
/usr/include/asm/compat.h:60: error: syntax error before âst_blksizeâ
/usr/include/asm/compat.h:61: error: syntax error before âst_blocksâ
/usr/include/asm/compat.h:62: error: syntax error before âst_atimeâ
/usr/include/asm/compat.h:63: error: syntax error before âst_atime_nsecâ
/usr/include/asm/compat.h:64: error: syntax error before âst_mtimeâ
/usr/include/asm/compat.h:65: error: syntax error before âst_mtime_nsecâ
/usr/include/asm/compat.h:66: error: syntax error before âst_ctimeâ
/usr/include/asm/compat.h:67: error: syntax error before âst_ctime_nsecâ
/usr/include/asm/compat.h:68: error: syntax error before â__unused4â
/usr/include/asm/compat.h:69: error: syntax error before â__unused5â
/usr/include/asm/compat.h:75: error: syntax error before âcompat_off_tâ
/usr/include/asm/compat.h:77: error: syntax error before âl_pidâ
/usr/include/asm/compat.h:91: error: syntax error before âcompat_loff_tâ
/usr/include/asm/compat.h:93: error: syntax error before âl_pidâ
/usr/include/asm/compat.h:113: error: syntax error before âcompat_old_sigset_tâ
/usr/include/asm/compat.h:118: error: syntax error before âcompat_sigset_wordâ
/usr/include/asm/compat.h:124: error: syntax error before âcompat_key_tâ
/usr/include/asm/compat.h:126: error: syntax error before âgidâ
/usr/include/asm/compat.h:127: error: syntax error before âcuidâ
/usr/include/asm/compat.h:128: error: syntax error before âcgidâ
/usr/include/asm/compat.h:130: error: conflicting types for â__pad1â
/usr/include/asm/compat.h:51: error: previous declaration of â__pad1â was here
/usr/include/asm/compat.h:132: error: conflicting types for â__pad2â
/usr/include/asm/compat.h:58: error: previous declaration of â__pad2â was here
/usr/include/asm/compat.h:133: error: syntax error before âunused1â
/usr/include/asm/compat.h:134: error: syntax error before âunused2â
/usr/include/asm/compat.h:138: error: field âsem_permâ has incomplete type
/usr/include/asm/compat.h:139: error: syntax error before âcompat_time_tâ
/usr/include/asm/compat.h:141: error: syntax error before âsem_ctimeâ
/usr/include/asm/compat.h:142: error: syntax error before â__unused2â
/usr/include/asm/compat.h:143: error: syntax error before âsem_nsemsâ
/usr/include/asm/compat.h:144: error: syntax error before â__unused3â
/usr/include/asm/compat.h:145: error: syntax error before â__unused4â
/usr/include/asm/compat.h:149: error: field âmsg_permâ has incomplete type
/usr/include/asm/compat.h:150: error: syntax error before âcompat_time_tâ
/usr/include/asm/compat.h:152: error: syntax error before âmsg_rtimeâ
/usr/include/asm/compat.h:153: error: syntax error before â__unused2â
/usr/include/asm/compat.h:154: error: syntax error before âmsg_ctimeâ
/usr/include/asm/compat.h:155: error: syntax error before â__unused3â
/usr/include/asm/compat.h:156: error: syntax error before âmsg_cbytesâ
/usr/include/asm/compat.h:157: error: syntax error before âmsg_qnumâ
/usr/include/asm/compat.h:158: error: syntax error before âmsg_qbytesâ
/usr/include/asm/compat.h:159: error: syntax error before âmsg_lspidâ
/usr/include/asm/compat.h:160: error: syntax error before âmsg_lrpidâ
/usr/include/asm/compat.h:161: error: syntax error before â__unused4â
/usr/include/asm/compat.h:162: error: syntax error before â__unused5â
/usr/include/asm/compat.h:166: error: field âshm_permâ has incomplete type
/usr/include/asm/compat.h:167: error: syntax error before âcompat_size_tâ
/usr/include/asm/compat.h:169: error: syntax error before â__unused1â
/usr/include/asm/compat.h:170: error: syntax error before âshm_dtimeâ
/usr/include/asm/compat.h:171: error: syntax error before â__unused2â
/usr/include/asm/compat.h:172: error: syntax error before âshm_ctimeâ
/usr/include/asm/compat.h:173: error: syntax error before â__unused3â
/usr/include/asm/compat.h:174: error: syntax error before âshm_cpidâ
/usr/include/asm/compat.h:175: error: syntax error before âshm_lpidâ
/usr/include/asm/compat.h:176: error: syntax error before âshm_nattchâ
/usr/include/asm/compat.h:177: error: syntax error before â__unused4â
/usr/include/asm/compat.h:178: error: syntax error before â__unused5â
/usr/include/asm/compat.h:187: error: syntax error before âcompat_uptr_tâ
/usr/include/asm/compat.h:189: error: syntax error before âuptrâ
/usr/include/asm/compat.h: In function âcompat_ptrâ:
/usr/include/asm/compat.h:191: error: âuptrâ undeclared (first use in this function)
/usr/include/asm/compat.h: At top level:
/usr/include/asm/compat.h:194: error: syntax error before âptr_to_compatâ
/usr/include/asm/compat.h: In function âptr_to_compatâ:
/usr/include/asm/compat.h:196: error: âu32â undeclared (first use in this function)
/usr/include/asm/compat.h:196: error: syntax error before âunsignedâ
/usr/include/asm/compat.h: In function âcompat_alloc_user_spaceâ:
/usr/include/asm/compat.h:201: error: dereferencing pointer to incomplete type
In file included from /usr/include/linux/usbdevice_fs.h:35,
from sys-linux.c:15:
/usr/include/linux/compat.h: At top level:
/usr/include/linux/compat.h:24: error: field âit_intervalâ has incomplete type
/usr/include/linux/compat.h:25: error: field âit_valueâ has incomplete type
/usr/include/linux/compat.h:29: error: syntax error before âcompat_time_tâ
/usr/include/linux/compat.h:34: error: field âit_intervalâ has incomplete type
/usr/include/linux/compat.h:35: error: field âit_valueâ has incomplete type
/usr/include/linux/compat.h:39: error: syntax error before âcompat_clock_tâ
/usr/include/linux/compat.h:41: error: syntax error before âtms_cutimeâ
/usr/include/linux/compat.h:42: error: syntax error before âtms_cstimeâ
/usr/include/linux/compat.h:48: error: syntax error before âcompat_sigset_wordâ
/usr/include/linux/compat.h:56: error: syntax error before âcompat_uptr_tâ
/usr/include/linux/compat.h:61: error: syntax error before âcompat_ulong_tâ
/usr/include/linux/compat.h:66: error: field âru_utimeâ has incomplete type
/usr/include/linux/compat.h:67: error: field âru_stimeâ has incomplete type
/usr/include/linux/compat.h:68: error: syntax error before âcompat_long_tâ
/usr/include/linux/compat.h:70: error: syntax error before âru_idrssâ
/usr/include/linux/compat.h:71: error: syntax error before âru_isrssâ
/usr/include/linux/compat.h:72: error: syntax error before âru_minfltâ
/usr/include/linux/compat.h:73: error: syntax error before âru_majfltâ
/usr/include/linux/compat.h:74: error: syntax error before âru_nswapâ
/usr/include/linux/compat.h:75: error: syntax error before âru_inblockâ
/usr/include/linux/compat.h:76: error: syntax error before âru_oublockâ
/usr/include/linux/compat.h:77: error: syntax error before âru_msgsndâ
/usr/include/linux/compat.h:78: error: syntax error before âru_msgrcvâ
/usr/include/linux/compat.h:79: error: syntax error before âru_nsignalsâ
/usr/include/linux/compat.h:80: error: syntax error before âru_nvcswâ
/usr/include/linux/compat.h:81: error: syntax error before âru_nivcswâ
/usr/include/linux/compat.h:88: error: syntax error before âcompat_pid_tâ
/usr/include/linux/compat.h:93: error: syntax error before âu32â
/usr/include/linux/compat.h:95: error: syntax error before âd_reclenâ
/usr/include/linux/compat.h:97: error: syntax error before â}â token
/usr/include/linux/compat.h:100: error: syntax error before âcompat_int_tâ
/usr/include/linux/compat.h:107: error: syntax error before âcompat_sigval_tâ
/usr/include/linux/compat.h:109: error: syntax error before âsigev_notifyâ
/usr/include/linux/compat.h:111: error: syntax error before âcompat_int_tâ
/usr/include/linux/compat.h:115: error: syntax error before âcompat_uptr_tâ
/usr/include/linux/compat.h:118: error: syntax error before â}â token
/usr/include/linux/compat.h:119: error: syntax error before â}â token
/usr/include/linux/compat.h:127: error: syntax error before âcompat_uptr_tâ
/usr/include/linux/compat.h:132: error: syntax error before âoptionâ
/usr/include/linux/compat.h:140: error: syntax error before âcompat_uptr_tâ
/usr/include/linux/compat.h:143: error: syntax error before âcompat_ulong_tâ
/usr/include/linux/compat.h:152: error: syntax error before âcompat_ulong_tâ
/usr/include/linux/compat.h:154: error: syntax error before â*â token
/usr/include/linux/compat.h:156: error: syntax error before â*â token
/usr/include/linux/compat.h:157: error: syntax error before âsiginfo_tâ
In file included from sys-linux.c:15:
/usr/include/linux/usbdevice_fs.h:131: error: syntax error before âcompat_int_tâ
/usr/include/linux/usbdevice_fs.h:133: error: syntax error before âbufferâ
/usr/include/linux/usbdevice_fs.h:134: error: syntax error before âbuffer_lengthâ
/usr/include/linux/usbdevice_fs.h:135: error: syntax error before âactual_lengthâ
/usr/include/linux/usbdevice_fs.h:136: error: syntax error before âstart_frameâ
/usr/include/linux/usbdevice_fs.h:137: error: syntax error before ânumber_of_packetsâ
/usr/include/linux/usbdevice_fs.h:138: error: syntax error before âerror_countâ
/usr/include/linux/usbdevice_fs.h:139: error: syntax error before âsignrâ
/usr/include/linux/usbdevice_fs.h:140: error: syntax error before âusercontextâ
/usr/include/linux/usbdevice_fs.h:142: error: syntax error before â}â token
In file included from /usr/include/signal.h:212,
from sys-linux.c:22:
/usr/include/bits/siginfo.h:34: error: redefinition of âunion sigvalâ
/usr/include/bits/siginfo.h:52: error: nested redefinition of âstruct siginfoâ
/usr/include/bits/siginfo.h:65: error: syntax error before â.â token
/usr/include/bits/siginfo.h:66: error: syntax error before â.â token
/usr/include/bits/siginfo.h:72: error: syntax error before â.â token
/usr/include/bits/siginfo.h:73: error: syntax error before â.â token
/usr/include/bits/siginfo.h:75: error: syntax error before â}â token
/usr/include/bits/siginfo.h:80: error: syntax error before â.â token
/usr/include/bits/siginfo.h:81: error: syntax error before â.â token
/usr/include/bits/siginfo.h:83: error: syntax error before â}â token
/usr/include/bits/siginfo.h:88: error: syntax error before â.â token
/usr/include/bits/siginfo.h:89: error: syntax error before â.â token
/usr/include/bits/siginfo.h:90: error: syntax error before â.â token
/usr/include/bits/siginfo.h:91: error: syntax error before â.â token
/usr/include/bits/siginfo.h:92: error: syntax error before â.â token
/usr/include/bits/siginfo.h:98: error: syntax error before â.â token
/usr/include/bits/siginfo.h:99: error: conflicting types for â_sigfaultâ
/usr/include/asm-generic/siginfo.h:85: error: previous declaration of â_sigfaultâ was here
/usr/include/bits/siginfo.h:104: error: syntax error before â.â token
/usr/include/bits/siginfo.h:105: error: syntax error before â.â token
/usr/include/bits/siginfo.h:106: error: conflicting types for â_sigpollâ
/usr/include/asm-generic/siginfo.h:91: error: previous declaration of â_sigpollâ was here
/usr/include/bits/siginfo.h:107: error: syntax error before â}â token
/usr/include/bits/siginfo.h:108: error: syntax error before â}â token
/usr/include/bits/siginfo.h:133: error: syntax error before â-â token
/usr/include/bits/siginfo.h:155: error: syntax error before â(â token
/usr/include/bits/siginfo.h:176: error: syntax error before â(â token
/usr/include/bits/siginfo.h:197: error: syntax error before â(â token
/usr/include/bits/siginfo.h:206: error: syntax error before â(â token
/usr/include/bits/siginfo.h:217: error: syntax error before â(â token
/usr/include/bits/siginfo.h:226: error: syntax error before â(â token
/usr/include/bits/siginfo.h:243: error: syntax error before â(â token
/usr/include/bits/siginfo.h:274: error: redefinition of âstruct sigeventâ
/usr/include/bits/siginfo.h:302: error: syntax error before numeric constant
In file included from /usr/include/signal.h:246,
from sys-linux.c:22:
/usr/include/bits/sigaction.h:26: error: redefinition of âstruct sigactionâ
/usr/include/bits/sigaction.h:34: error: syntax error before âsiginfo_tâ
In file included from sys-linux.c:22:
/usr/include/signal.h:280: error: syntax error before âsiginfo_tâ
/usr/include/signal.h:288: error: syntax error before âsiginfo_tâ
In file included from /usr/include/signal.h:333,
from sys-linux.c:22:
/usr/include/bits/sigcontext.h:102: error: redefinition of âstruct _fpstateâ
/usr/include/bits/sigcontext.h:118: error: redefinition of âstruct sigcontextâ
In file included from /usr/include/signal.h:348,
from sys-linux.c:22:
/usr/include/bits/sigstack.h:36: error: syntax error before numeric constant
/usr/include/bits/sigstack.h:51: error: redefinition of âstruct sigaltstackâ

Attachment: pgp00000.pgp
Description: PGP signature