All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Xemomai 3 - posix demo programs don't seem to be loading the right socket program.
@ 2015-07-08  2:45 Glen Wernersbach
  2015-07-08 10:11 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 3+ messages in thread
From: Glen Wernersbach @ 2015-07-08  2:45 UTC (permalink / raw)
  To: xenomai

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   

Any ideas?


Glen
-- 
Glen Wernersbach View Profile <http://www.linkedin.com/in/GlenWernersbach>
Business, Innovation and Technical Consultant;
President and CEO
Jetsoft Development Co.


629 Old St Rt. 74 ­ Suite 210
Cincinnati, Oh 45244
513-240-9929
glen@jetsoftdev.com



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-08 20:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-08  2:45 [Xenomai] Xemomai 3 - posix demo programs don't seem to be loading the right socket program Glen Wernersbach
2015-07-08 10:11 ` Gilles Chanteperdrix
2015-07-08 20:57   ` Glen Wernersbach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.