On Tue, Jul 07, 2015 at 10:45:05PM -0400, Glen Wernersbach wrote:
> Hi All,
> 
> Fooling around with Xenomai 3 RC4. I can get the TestSuite to work but when
> I run any of the standard posix demo examples I get the following error:
> ./bufp-readwrite 
> socket 1: Address family not supported by protocol
> socket 2: Address family not supported by protocol
> 
> Looking on the web this would indicate that the wrapper instruction is not
> in the linker flags but it is. I tried building my own copy just to make
> sure the wrapper was included but got the same error.
> make
> gcc -o RsConMain RsConMain.c -I/usr/xenomai/include/cobalt
> -I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -D__COBALT__
> -Wl,@/usr/xenomai/lib/cobalt.wrappers   -L/usr/xenomai/lib -lcobalt
> -lpthread -lrt   

I do not think "RsConMain" is a "standard posix demo example", or I
do not know what you mean by that. Anyway, providing the source of
the code you compile would allow us to help you instead of making
educated guesses. But the obvious question is: do you have the
support for the socket family you are trying to use enabled in the
kernel configuration?

-- 
                                            Gilles.
https://click-hack.org

_______________________________________________
Xenomai mailing list
[email protected]
http://xenomai.org/mailman/listinfo/xenomai

Reply via email to