Hello,

I am testing the example code using RTnet with Xenomai given on Xenomai
website : http://www.xenomai.org/index.php/RTnet:Programming Nevertheless, I
do not exacty know which librairies and options are to
be used with gcc . And I do not succeed in compiling it...

 Here is what the compiler says : gcc -I/usr/xenomai/include
 -D_GNU_SOURCE -D_REENTRANT -D__XENO__ -lrtdm -L/usr/xenomai/lib
 -lxenomai -lpthread -lrt -L /usr/xenomai/lib -o main main.c -lrtdm
 -lxenomai /tmp/ccLHOd3t.o: In function `main':
     main.c:(.text+0x1fd): undefined reference to `rt_inet_aton'
     collect2: ld returned 1 exit status
     make: *** [main] Error 1


Any idea ?

Thanks a lot,
Best regards,
Sylvain


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to