[RTnet-users] RTnet + Xenomai
Brought to you by:
bet-frogger,
kiszka
|
From: Sylvain <syl...@mi...> - 2014-02-19 14:30:18
|
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 |