All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Josef E. Galea" <josefeg@euroweb.net.mt>
To: linux-kernel@vger.kernel.org
Subject: System call problem
Date: Sat, 26 Feb 2005 15:17:45 +0100	[thread overview]
Message-ID: <42208509.3080201@euroweb.net.mt> (raw)

Hi,

I am implemeting a new system call for a project I'm working on. I added 
the system call to the file arch/i386/kernel/process.c and added the 
relevant entries in the files arch/i386/entry.S and 
include/asm-i386/unistd.h. My system call is made up of only two lines, 
a printk statement, and a return statement which gets the value of a 
field that I added to the task_struct structure.

I compiled and booted the kernel and am trying to build a user space 
application that uses my system call, however gcc is returning this error:
/tmp/cc4zgzUr.o(.text+0x4e): In functiono `get_rmt_paging':
: undefined reference to `errno'

Can anyone help me with this?

Thanks
Josef

             reply	other threads:[~2005-02-26 14:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-26 14:17 Josef E. Galea [this message]
2005-02-26 14:43 ` System call problem Steven Rostedt
2005-02-26 18:45   ` Josef E. Galea
2005-02-27 23:02 ` linux-os
  -- strict thread matches above, loose matches on Subject: below --
2003-01-12  0:38 System Call Problem Hall, Luca
2003-01-12  1:04 ` Robert Love

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42208509.3080201@euroweb.net.mt \
    --to=josefeg@euroweb.net.mt \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.