On 03/24/2013 11:01 PM, Davide Faconti wrote:
>> Socket: Protocol not supported
>
> Is there anyone that as any idea of what is going on and how I could
> fix it?
Hi,
could you try the following patch?
diff --git a/src/skins/posix/rtdm.c b/src/skins/posix/rtdm.c
index aa23737..c6326f0 100644
--- a/src/skins/posix/rtdm.c
+++ b/src/skins/posix/rtdm.c
@@ -87,7 +87,7 @@ int __wrap_socket(int protocol_family, int socket_type, int
protocol)
protocol_family, socket_type, protocol);
if (ret >= 0)
ret += __pse51_rtdm_fd_start;
- else if (ret == -EAFNOSUPPORT || ret == -ENOSYS) {
+ else if (ret == -EAFNOSUPPORT || ret == -EPROTONOSUPPORT || ret ==
-ENOSYS) {
ret = __real_socket(protocol_family, socket_type, protocol);
if (ret >= __pse51_rtdm_fd_start) {
You need to recompile xenomai user-space support after
applying it.
Regards.
--
Gilles.
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai