Results 1 to 1 of 1
hi to all
I m implementing a system call say mycall,I have done all d steps 4 this according to following pdf file "Implementing a System Call on Linux 2.6 ...
- 06-27-2008 #1Just Joined!
- Join Date
- May 2008
- Posts
- 4
error during compilation of system call after rebuilding
hi to all
I m implementing a system call say mycall,I have done all d steps 4 this according to following pdf file "Implementing a System Call on Linux 2.6 for i386.pdf ". After this i rebuild d kernel,kernel is properly booted, but when i m calling this system call in an c program. but following error is occuring after compilation.
testmycall.h:7: error: expected declaration specifiers or ... before mycall
testmycall.h:7: error: expected declaration specifiers or ... before i
testmycall.c: In function _syscall1:
testmycall.c:8: error: expected =, ,, ;, asm or __attribute__ before { token
testmycall.h:7: error: parameter name omitted
testmycall.h:7: error: parameter name omitted
testmycall.c:12: error: expected { at end of input
thanks
Prakash Sharma


Reply With Quote
