LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   i ve problem .in shell programming..plz solve (https://www.linuxquestions.org/questions/linux-newbie-8/i-ve-problem-in-shell-programming-plz-solve-912076/)

manheer 11-05-2011 06:06 PM

i ve problem .in shell programming..plz solve
 
i want to make a new system call. i have edited all the files like. arch/x86/kernel/syscall_table_32.S
L/linux/include/asm-x86/unistd_32.h
L/include/linux/syscalls.h
i have changed the kernel makefile too
this is my system call
asmlinkage long sys_sysSum (int a, int b)
{
printk("calling sysSum\n");
return a+b;
}
bt, i am getting error
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘long’
what to do?? plz help..

colucix 11-06-2011 03:33 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate of http://www.linuxquestions.org/questi...9/#post4516824.

Moreover, it appears you've signed with two different accounts. If you've had problems with your previous account (forgot password?) please contact me by e-mail through my LQ profile. Thanks.


All times are GMT -5. The time now is 05:11 AM.