On 07/20/2012 11:19 AM, Danilo De Lorenzo wrote:
Thanks! now I can build the examples successfully, but at runtime I
still get the error:
socket: Address family not supported by protocol
and this is the output of:
nm -s ./xddp-echo
You need to enable CONFIG_XENO_DRIVERS_RTIPC options in you
Thanks! now I can build the examples successfully, but at runtime I still
get the error:
socket: Address family not supported by protocol
and this is the output of:
nm -s ./xddp-echo
00601e10 d _DYNAMIC
00601fe8 d _GLOBAL_OFFSET_TABLE_
00401710 R _IO_stdin_used
On 07/19/2012 07:18 PM, Danilo De Lorenzo wrote:
> I'm getting this error when compiling the examples in the ipc folder
>
> gcc -I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -Wall
> -Werror-implicit-function-
> declaration -pipe -D__XENO__ -I/usr/xenomai/include/posix
> -Wl,@/usr/xenomai/lib/p
Also,
if I remove the -lpthread flag the example compile successfully, but then
when I run it I get:
socket: Address family not supported by protocol
and this is the output of
nm -s ./xddp-echo
00601e10 d _DYNAMIC
00601fe8 d _GLOBAL_OFFSET_TABLE_
00401710 R _IO_stdin_use
I'm getting this error when compiling the examples in the ipc folder
gcc -I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -Wall
-Werror-implicit-function-
declaration -pipe -D__XENO__ -I/usr/xenomai/include/posix
-Wl,@/usr/xenomai/lib/posix.wrappers -L/usr/xenomai/lib -lpthread_rt
-lxenomai -lpth