Gentoo Archives: gentoo-user

From: Christian Marie <pingu@g.o>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: _syscallX isn't in linux-headers-2.6.20 ??
Date: Thu, 08 Feb 2007 05:18:20
Message-Id: 20070208051045.GA8845@tiny.chatswood.mooter.com
In Reply to: [gentoo-user] _syscallX isn't in linux-headers-2.6.20 ?? by Iain Buchanan
1 On Thu, Feb 08, 2007 at 10:23:09AM +0930, Iain Buchanan wrote:
2 > Hi all,
3 >
4 > I'm trying to use:
5 >
6 > _syscall3(int, ioprio_set, int, which, int, who, int, ioprio);
7 > _syscall2(int, ioprio_get, int, which, int, who);
8 >
9 > and supposedly I just
10 >
11 > #include <linux/unistd.h>
12 >
13 > but I'm getting these error from gcc:
14 >
15 > error: syntax error before "ioprio_set"
16 > warning: data definition has no type or storage class
17 > error: syntax error before "ioprio_get"
18 > warning: data definition has no type or storage class
19
20 Hi,
21
22 It would be helpful to provide us with the failing code as we have no
23 clue what you could be doing wrong.
24 --
25 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: _syscallX isn't in linux-headers-2.6.20 ?? Iain Buchanan <iaindb@××××××××××××.au>