On Sun, Aug 22, 2010 at 11:58 PM, Tapas Mishra <mightydre...@gmail.com>wrote:

> On Sun, Aug 22, 2010 at 8:49 PM, arshad hussain <arshad.su...@gmail.com>
> wrote:
> > Ok. So you included linux/syscalls.h instead of sys/syscalls.h
> > and still it cannot find
> Yes this is what happened
> >"__NR_exit" symbol. Right? Or it
> > compiled successfully but did not load.
> Not reached here.

Try changing the headers path for syscalls.h from sys/syscalls.h to
asm/syscalls.h and
inculde unistd.h <linux/unistd.h>, you should be able to compile your
module.

However, as Mulyadi explained in his post, since the syscall table is not
exported in 2.6.x kernels,
you would get a warning message for an undefined symble sys_table.

Regards,
~Sharad.

Reply via email to