Problem implementing system call

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

 



Hi

Iam trying to implement a system call in kernel. but, I have a problem in 
compiling.When I do make bzImage, I am getting an undefined reference to my 
systemcall. Iam pretty sure that i have declared my
system call globally. But, Iam wondering what else could be the reason.

The last few lines in my entry.S looks like this.

.rept NR_syscalls-(.-sys_call_table)/4
	.long SYMBOL_NAME (sys_ni_syscall)
.endr


Iam wondering If I have to change these numbers as Iam adding a new system 
call. If so, to what should I change??

I would greatly appreciate if someone can help me in this. Iam stuck in this 
for more than a week!!


thanks!!
Charuamthi


You Can If U think U Can


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

--
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