All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: David Wiebe <dwiebe2@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] rt_dev_ioctl
Date: Wed, 22 Jun 2011 10:57:31 +0200	[thread overview]
Message-ID: <1308733051.2159.12.camel@domain.hid> (raw)
In-Reply-To: <4E01AB2C.4070409@domain.hid>

On Wed, 2011-06-22 at 01:43 -0700, David Wiebe wrote:
> Hello,
> 
> I'm re-writing my code to work with xenomai and I don't know how to get 
> rt_dev_ioctl to compile in my program.
> 
> #include <rtdk.h> in my program doesn't help


#include <rtdm/rtdm.h>

> 
> david@domain.hid$ 
> arm-none-linux-gnueabi-gcc -o xenomai-spi-eth-00002 $CFLAGS 
> xenomai-spi-eth-00002.c $LDFLAGS -I 
> /home/david/122720101858-beagleboard-working-set/kernel/linux/include/
> xenomai-spi-eth-00002.c: In function 'main':
> xenomai-spi-eth-00002.c:137: warning: implicit declaration of function 
> 'rt_dev_open'
> xenomai-spi-eth-00002.c:145: warning: implicit declaration of function 
> 'rt_dev_ioctl'
> /tmp/ccZErCuj.o: In function `main':
> xenomai-spi-eth-00002.c:(.text+0x2c4): undefined reference to `rt_dev_open'
> xenomai-spi-eth-00002.c:(.text+0x318): undefined reference to `rt_dev_ioctl'
> collect2: ld returned 1 exit status
> 
> 
> David
> 
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help

-- 
Philippe.




  reply	other threads:[~2011-06-22  8:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-21 13:11 [Xenomai-help] regarding ARMv.s error suresh reddy
2011-06-21 14:02 ` Gilles Chanteperdrix
2011-06-22  7:19   ` Gilles Chanteperdrix
2011-06-22  8:43     ` [Xenomai-help] rt_dev_ioctl David Wiebe
2011-06-22  8:57       ` Philippe Gerum [this message]
2011-06-22 16:19         ` David Wiebe
2011-06-22 16:28           ` Philippe Gerum
2011-06-22 17:54             ` David Wiebe
2011-06-22 18:00               ` Gilles Chanteperdrix
2011-06-22 18:50                 ` David Wiebe
2011-06-23  3:35                   ` David Wiebe
2011-06-23  6:57                     ` Philippe Gerum

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=1308733051.2159.12.camel@domain.hid \
    --to=rpm@xenomai.org \
    --cc=dwiebe2@domain.hid \
    --cc=xenomai@xenomai.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.