From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HExcN-0006bv-9X for garchives@archives.gentoo.org; Thu, 08 Feb 2007 00:58:31 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l180vOIZ001051; Thu, 8 Feb 2007 00:57:24 GMT Received: from mail.netspace.net.au (mail-out4.netspace.net.au [203.10.110.77]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l180rDG8028960 for ; Thu, 8 Feb 2007 00:53:15 GMT Received: from [172.16.0.52] (ppp246-231.static.internode.on.net [203.122.246.231]) by mail.netspace.net.au (Postfix) with ESMTP id 79A7B3759DD for ; Thu, 8 Feb 2007 11:53:15 +1100 (EST) Subject: [gentoo-user] _syscallX isn't in linux-headers-2.6.20 ?? From: Iain Buchanan To: gentoo-user@lists.gentoo.org Content-Type: text/plain Date: Thu, 08 Feb 2007 10:23:09 +0930 Message-Id: <1170895989.14243.49.camel@orpheus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.8.2.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 843a1c00-4fdb-49d0-87db-fe2a79aa007e X-Archives-Hash: fe95f90109354d4cbdcbc2c819c732d5 Hi all, I'm trying to use: _syscall3(int, ioprio_set, int, which, int, who, int, ioprio); _syscall2(int, ioprio_get, int, which, int, who); and supposedly I just #include but I'm getting these error from gcc: error: syntax error before "ioprio_set" warning: data definition has no type or storage class error: syntax error before "ioprio_get" warning: data definition has no type or storage class so I had a look in /usr/include/linux/unistd.h and it doesn't even have _syscall in there!! It's in /usr/src/linux though... Am I doing something wrong? I'm following http://www.die.net/doc/linux/man/man2/ioprio_set.2.html I know this is a C-ish question, only loosely related to gentoo but I'd really appreciate any help!! TIA, -- Iain Buchanan The groundhog is like most other prophets; it delivers its message and then disappears. -- gentoo-user@gentoo.org mailing list