system call implementation

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

 



Hi

Iam trying to implement a new system call ("test") in linux kernel. when iam 
done with make dep and do make bzImage, i get the following error:


In arch/i386/kernel/kernel.o: In function 'sys_call_table':
arch/i386/kernel/kernel.o(data+0x3d4): undefined reference to  'sys_test'

I am using kernel 2.4.2.  and the last few lines of my my 
/arch/i386/kernel/entry.S looks like this:

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

and there are 226 system call entries in /arch/i386/kernel/entry.S and in 
/include/asm/unistd.h . This number includes even my system call entry.


can someone help me in resolving this error??

Thanks!
Charu.



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