LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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


Reply
  Search this Thread
Old 04-28-2007, 01:27 AM   #1
ahm_irf
Member
 
Registered: Feb 2007
Posts: 37

Rep: Reputation: 15
Try to add a system call but compilation error occured


Hi,

I have tried to add a system call in Fedora Linux 6. I have attached a file where the steps are written
its URL is http://nd.edu/~ablaich/system_call_i...n_a_blaich.txt

During compilation of the kernel I got the following error.

Can any body help me or suggest me any solution.

____________________________________________________________________________________________
root@localhost linux-2.6.18.2]# make all
scripts/kconfig/conf -s arch/i386/Kconfig
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CHK include/linux/compile.h
dnsdomainname: Unknown host
GEN .version
CHK include/linux/compile.h
dnsdomainname: Unknown host
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
arch/i386/kernel/built-in.o: In function `sys_ipc':
arch/i386/kernel/sys_i386.c:181: undefined reference to `do_shmat'
arch/i386/kernel/sys_i386.c:190: undefined reference to `do_shmat'
kernel/built-in.o: In function `copy_process':
kernel/fork.c:1093: undefined reference to `copy_semundo'
kernel/fork.c:1270: undefined reference to `exit_sem'
kernel/built-in.o: In function `do_exit':
kernel/exit.c:916: undefined reference to `exit_sem'
kernel/built-in.o.data+0xb08): undefined reference to `shm_ctlmax'
kernel/built-in.o.data+0xb34): undefined reference to `shm_ctlall'
kernel/built-in.o.data+0xb60): undefined reference to `shm_ctlmni'
kernel/built-in.o.data+0xb8c): undefined reference to `msg_ctlmax'
kernel/built-in.o.data+0xbb8): undefined reference to `msg_ctlmni'
kernel/built-in.o.data+0xbe4): undefined reference to `msg_ctlmnb'
kernel/built-in.o.data+0xc10): undefined reference to `sem_ctls'
make: *** [.tmp_vmlinux1] Error 1
[root@localhost linux-2.6.18.2]#
 
  


Reply



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
add new system call linux_lover2005 Programming 2 10-14-2006 01:37 AM
how to add a new system call in ARM mayank_linux Programming 0 09-10-2006 11:26 PM
how to add another system call in to the kernel?? Pratik H Pandya Programming 1 03-26-2006 02:02 AM
To add our own system call,compilation problem hegdeshashi Linux - Networking 1 01-27-2006 11:13 PM
Error when add a new system call in RH9.0. GreenStar Linux - Newbie 2 11-01-2003 01:52 PM

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

All times are GMT -5. The time now is 10:20 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
Open Source Consulting | Domain Registration