Re: RTAI example
Paolo Mantegazza <[email protected]> Wed, 14 Mar 2018 13:57:32 +0100
| Newsgroups | gmane.linux.real-time.rtai |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============9085193253459357717== Content-Type: multipart/alternative; boundary="------------4AB3407FAC017EA3D36D50E1" Content-Language: en-US This is a multi-part message in MIME format. --------------4AB3407FAC017EA3D36D50E1 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable The people I know are using (Q)RTAILab are all working under Linux. Then, is your trouble related to the fact that you are working under=20 Window$ :-)? One of them has suggested having a look at the following link: https://stackoverflow.com/questions/29660492/windows-equivalent-for-sys-m= man-h.=20 <https://stackoverflow.com/questions/29660492/windows-equivalent-for-sys-= mman-h> Paolo On 03/14/2018 11:23 AM, Garbarino Luca wrote: > > I run the *.bat file from the command windows to compile the rtai=20 > exmple and i got the following error message: > > C:\MatlabSaInstallation\Matlab2012b/rtw/c/rtai/rtmain.c:32:22: fatal=20 > error: sys/mman.h: No such file or directory compilation terminated. > > make: *** [rtmain.o] Error 1 > > this is the reason why I can=92t compile the rtai example . How can I=20 > fix the problem. > > Kind regards > > Luca > > > > _______________________________________________ > Rtai mailing list > [email protected] > https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai --------------4AB3407FAC017EA3D36D50E1 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dwindows-1252"> </head> <body text=3D"#000000" bgcolor=3D"#FFFFFF"> <div class=3D"moz-cite-prefix">The people I know are using (Q)RTAILab are all working under Linux. <br> Then, is your trouble related to the fact that you are working under Window$ :-)?<br> One of them has suggested having a look at the following link:<br> <a href=3D"https://stackoverflow.com/questions/29660492/windows-equivalent-f= or-sys-mman-h">https://stackoverflow.com/questions/29660492/windows-equiv= alent-for-sys-mman-h.</a><br> Paolo<br> <br> On 03/14/2018 11:23 AM, Garbarino Luca wrote:<br> </div> <blockquote type=3D"cite" cite=3D"mid:[email protected]"> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dwindows-1252"> <meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri",sans-serif; mso-fareast-language:EN-US;} a:link, span.MsoHyperlink {mso-style-priority:99; color:#0563C1; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:#954F72; text-decoration:underline;} span.StileMessaggioDiPostaElettronica17 {mso-style-type:personal-compose; font-family:"Calibri",sans-serif; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri",sans-serif; mso-fareast-language:EN-US;} @page WordSection1 {size:612.0pt 792.0pt; margin:70.85pt 2.0cm 2.0cm 2.0cm;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> <div class=3D"WordSection1"> <p class=3D"MsoNormal"><span lang=3D"EN-US">I run the *.bat file from the command windows to compile the rtai exmple and i got the following error message:<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>=A0</o:p></span>= </p> <p class=3D"MsoNormal"><span lang=3D"EN-US">C:\MatlabSaInstallati= on\Matlab2012b/rtw/c/rtai/rtmain.c:32:22: fatal error: sys/mman.h: No such file or directory compilation terminated.<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">make: *** [rtmain.o] Error 1<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>=A0</o:p></span>= </p> <p class=3D"MsoNormal"><span lang=3D"EN-US">this is the reason wh= y I can=92t compile the rtai example . How can I fix the problem.= <o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>=A0</o:p></span>= </p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>=A0</o:p></span>= </p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Kind regards<o:p></o:= p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>=A0</o:p></span>= </p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Luca <o:p></o:p></spa= n></p> </div> <br> <fieldset class=3D"mimeAttachmentHeader"></fieldset> <br> <pre wrap=3D"">_______________________________________________ Rtai mailing list <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:[email protected]">Rtai@= rtai.org</a> <a class=3D"moz-txt-link-freetext" href=3D"https://mail.rtai.org/cgi-bin/= mailman/listinfo/rtai">https://mail.rtai.org/cgi-bin/mailman/listinfo/rta= i</a></pre> </blockquote> <p><br> </p> </body> </html> --------------4AB3407FAC017EA3D36D50E1-- --===============9085193253459357717== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Rtai mailing list [email protected] https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai --===============9085193253459357717==--