Re: linux/module.h does not exist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sun, Aug 22, 2010 at 11:58 PM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
On Sun, Aug 22, 2010 at 8:49 PM, arshad hussain <arshad.super@xxxxxxxxx> 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.

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux