__NR_SYSCALL_BASE undefined error

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

 



Hi

Iam trying to implement a system call as a module . In the user program iam 
defining the address of the system call as

     #define __NR_my_call (__NR_SYSCALL_BASE + 226)

when the program is compiled it gives

__NR_SYSCALL_BASE: undefined varibale.

I have included the header file /usr/src/linux/include/asm-arm/unistd.h

could someone help me in solving this error??

thanks!
Charumathi .



You Can If U think U Can


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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