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.. |
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 07:00 PM. |