All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Wiebe <dwiebe2@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] rt_dev_ioctl
Date: Wed, 22 Jun 2011 01:43:24 -0700	[thread overview]
Message-ID: <4E01AB2C.4070409@domain.hid> (raw)
In-Reply-To: <4E01977E.1080202@domain.hid>

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


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



  reply	other threads:[~2011-06-22  8:43 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     ` David Wiebe [this message]
2011-06-22  8:57       ` [Xenomai-help] rt_dev_ioctl Philippe Gerum
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=4E01AB2C.4070409@domain.hid \
    --to=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.