From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4E02162A.9060004@domain.hid> Date: Wed, 22 Jun 2011 09:19:54 -0700 From: David Wiebe MIME-Version: 1.0 References: <4E00A476.2080006@domain.hid> <4E01977E.1080202@domain.hid> <4E01AB2C.4070409@domain.hid> <1308733051.2159.12.camel@domain.hid> In-Reply-To: <1308733051.2159.12.camel@domain.hid> Content-Type: text/plain; charset=UTF-8; format=flowed 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: Philippe Gerum Cc: xenomai@xenomai.org On 11-06-22 01:57 AM, Philippe Gerum wrote: Still not compiling. > 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