The source code is as follows
#include<linux/linkage.h>
asmlinkage long sys_mycall(int i)
{
return i+10;
}
#include<linux/linkage.h>
asmlinkage long sys_mycall(int i)
{
return i+10;
}
----- Original Message ----
From: Avishay Traeger <atraeger@xxxxxxxxxxxxx>
To: Irfan Ahmed <ahm_irf@xxxxxxxxx>
Cc: kernelnewbies@xxxxxxxxxxxx
Sent: Saturday, April 28, 2007 9:41:31 PM
Subject: Re: Try to add a system call but compilation error occured
From: Avishay Traeger <atraeger@xxxxxxxxxxxxx>
To: Irfan Ahmed <ahm_irf@xxxxxxxxx>
Cc: kernelnewbies@xxxxxxxxxxxx
Sent: Saturday, April 28, 2007 9:41:31 PM
Subject: Re: Try to add a system call but compilation error occured
On Fri, 2007-04-27 at 23:20 -0700, Irfan Ahmed wrote:
> Hi,
>
> I have tried to add a system call in Fedora Linux 6. I have attached a
> file where the steps are written
> its URL is
> http://nd.edu/~ablaich/system_call_implementation_a_blaich.txt
>
> During compilation of the kernel I got the following error.
>
> Can any body help me or suggest me any solution.
<snip>
Can you post the source code? It's a bit tough trying to fix
compilation errors by guessing at what you did.
Also, did you #include <linux/shm.h>?
Avishay
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ
> Hi,
>
> I have tried to add a system call in Fedora Linux 6. I have attached a
> file where the steps are written
> its URL is
> http://nd.edu/~ablaich/system_call_implementation_a_blaich.txt
>
> During compilation of the kernel I got the following error.
>
> Can any body help me or suggest me any solution.
<snip>
Can you post the source code? It's a bit tough trying to fix
compilation errors by guessing at what you did.
Also, did you #include <linux/shm.h>?
Avishay
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ
Send instant messages to your online friends http://uk.messenger.yahoo.com