Steve wrote: > On 18/05/2009, Gilles Chanteperdrix <[email protected]> wrote: >> Steve wrote: >>> First, thank you for the help on my previous query. >>> >>> I am still working on porting a c++ application from RTAI to Xenomai, >>> and have encountered a problem with sockets, specifically the select >>> function. >>> >>> When Xenomai is not being used the code runs as expected. Once the >>> Xenomai headers, compile options, etc, are used the select function >>> fails with the error EFAULT. I have reproduced the error (works >>> without Xenomai, EFAULTs with Xenomai) using the following program: >>> > <snip> >>> I am using Xenomai 2.4.6.1 on a vanilla 2.6.24.6 Linux kernel, and >>> running on Ubuntu 8.04. >> Could you try 2.4.7, to see if you are not having a bug which has >> already been fixed? >> >> What you are trying should work, even though you are not really using >> Xenomai's select but Linux plain select. >> >> -- >> Gilles. >> > > I have just tested my example code with Xenomai version 2.4.7 but I am > still encountering the problem.
You need to pull the latest 2.4.x git version [1]. Jan [1] http://git.xenomai.org/?p=xenomai-2.4.git;a=summary
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
