LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 11-05-2011, 06:06 PM   #1
manheer
LQ Newbie
 
Registered: Nov 2011
Posts: 1

Rep: Reputation: Disabled
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..
 
Old 11-06-2011, 03:33 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
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.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
plz solve this problem on make: *** [zaptel.o] Error 1 acbhaskar1 Linux - Server 2 06-22-2011 04:51 AM
how to solve solve broken shell problem prasanth.george Red Hat 1 01-21-2011 10:48 AM
plz solve this fork program problem ourtime545 Programming 4 02-18-2009 08:54 PM
just 1 little problem to solve before I can run GTA III in wine plz help! vegetassj2 Linux - Games 2 04-27-2005 12:20 PM
plz plz solve my route mapping problem nedian123 Linux - Networking 1 07-12-2004 10:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration