-   Linux - Newbie (
-   -   i ve problem .in shell programming..plz solve (

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

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.