public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Josef E. Galea" <josefeg@euroweb.net.mt>
To: linux-kernel@vger.kernel.org
Subject: Re: System call problem
Date: Sat, 26 Feb 2005 19:45:28 +0100	[thread overview]
Message-ID: <4220C3C8.1060705@euroweb.net.mt> (raw)
In-Reply-To: <1109429016.1452.48.camel@localhost.localdomain>

Steven Rostedt wrote:

>On Sat, 2005-02-26 at 15:17 +0100, Josef E. Galea wrote:
>
>  
>
>>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'
>>
>>    
>>
>
>Where you defined your system call in the user space program (ie. where
>you declared your _syscall macro), did you also include <errno.h>?
>
>-- Steve
>
>
>  
>
I included <linux/errno.h> and it didn't solve the problem. Now i 
included <errno.h> and it did. Thanks for you help!

Josef

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

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-26 14:17 System call problem Josef E. Galea
2005-02-26 14:43 ` Steven Rostedt
2005-02-26 18:45   ` Josef E. Galea [this message]
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=4220C3C8.1060705@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox