From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philippe Gerum In-Reply-To: <4E02162A.9060004@domain.hid> References: <4E00A476.2080006@domain.hid> <4E01977E.1080202@domain.hid> <4E01AB2C.4070409@domain.hid> <1308733051.2159.12.camel@domain.hid> <4E02162A.9060004@domain.hid> Content-Type: text/plain; charset="UTF-8" Date: Wed, 22 Jun 2011 18:28:58 +0200 Message-ID: <1308760138.2159.92.camel@domain.hid> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] rt_dev_ioctl List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Wiebe Cc: xenomai@xenomai.org On Wed, 2011-06-22 at 09:19 -0700, David Wiebe wrote: > On 11-06-22 01:57 AM, Philippe Gerum wrote: > Still not compiling. > Your build flags are likely wrong. Did you get them via xeno-config? > > 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 in my program doesn't help > > > > #include > > > >> 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.