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<rtdk.h> in my program doesn't help > > > > #include<rtdm/rtdm.h> > > > >> david@david-HP-TouchSmart-tm2-Notebook-PC:~/06-21-2011-xenomai-spi$ > >> 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 > >> [email protected] > >> https://mail.gna.org/listinfo/xenomai-help > -- Philippe. _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
