Re: syscall macro fails upon compilation

From: Davide Libenzi
Date: Thu Jul 05 2007 - 18:17:51 EST


On Thu, 5 Jul 2007, Gautam Singaraju wrote:

> I have been adding a syscall to the kernel (v 2.6.21); I am able to
> compile and boot into the kernel. However, the userspace macro fails
> to compile with the following message: "error: expected declaration
> specifiers or â...â before âmycallâ". I could not find any solution
> using google. I use the _syscall0 macro. Any suggestion would help.

Try a `man syscall`



- Davide