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

__NR_SYSCALL_BASE undefined error



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/