Fedora Linux Support Community & Resources Center
Old 30th April 2007, 04:49 AM
ahm_irf Offline
Registered User
Join Date: Feb 2007
Posts: 33
"expected specifier-qualifier-list" ERROR while adding a new system call


I have tried to add a new system call. I am using Fedora linux 6 ..Kernel
I followed the document http://nd.edu/~ablaich/system_call_i...n_a_blaich.txt to add a new system call.

During compilation I got the following error. I have place my system call code in ~/ipc/ which is also as follows. Does any body has idea about this error.
__________________________________________________ _________
In file included from include/linux/shm.h:4,
from ipc/mycall.c:2:
include/linux/ipc.h:59: error: expected specifier-qualifier-list before ‘spinlock_t’
ipc/mycall.c:3:21: error: inttypes.h: No such file or directory
make[1]: *** [ipc/mycall.o] Error 1
make: *** [ipc] Error 2
__________________________________________________ ________________

/*System call code*/


asmlinkage long sys_mycall(int i)
return i+10;
Reply With Quote

adding, error

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem mounting NFS drive: "mount.nfs: mount system call failed" Mr tim esquire Servers & Networking 7 6th October 2009 11:43 PM
Link for getting the source code of "open" system call cola Using Fedora 6 17th March 2009 11:29 AM
error message say; Xlib: extension "XFree86-DRI" missing on display ":0.0". sturmkim Using Fedora 3 1st October 2006 04:40 AM
Can't compile "checkpassword-0.90" on a "fedora core 3" system adnieman Using Fedora 1 11th September 2005 08:24 PM
Error:visibility arg must be one of "default", "hidden", "protected" or "internal" wangfeng Using Fedora 0 23rd May 2005 04:59 AM

Current GMT-time: 07:34 (Saturday, 23-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat