<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hello all!</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
To get this out of the way prior to all of the requested debugging information - I don't need the legacy stack, any networking stack will do. I started with legacy because that was what was shown on the RTEMS documentation pages. We're trying to integrate
RTEMS into our system and I considered adding the networking stack that had some documentation a big enough effort without perhaps trying to integrate another network stack. But I'm absolutely glad to go with any suggestion.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Now, onto the requested build failure information.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
Following <a href="https://docs.rtems.org/branches/master/legacy-networking/quick_start.html" id="LPlnk186671">https://docs.rtems.org/branches/master/legacy-networking/quick_start.html</a></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1">
<blockquote itemscope="" itemtype="https://schemas.microsoft.com/QuotedText" style="border-left: 3px solid rgb(200, 200, 200); border-top-color: rgb(200, 200, 200); border-right-color: rgb(200, 200, 200); border-bottom-color: rgb(200, 200, 200); padding-left: 1ex; margin-left: 0.8ex; color: rgb(102, 102, 102);">
../source-builder/sb-set-builder --prefix=$HOME/src/rtems-net-build 6/rtems-net-legacy --host=sparc-rtems6 --with-rtems-bsp=sparc
<div class="ContentPasted1">RTEMS Source Builder - Set Builder, 6 (8e568b2ca348 modified)</div>
<div class="ContentPasted1">warning: exe: absolute exe found in path: (__cmake) /usr/bin/cmake</div>
<div class="ContentPasted1">Build Set: 6/rtems-net-legacy</div>
<div class="ContentPasted1">config: tools/rtems-net-legacy-6.cfg</div>
<div class="ContentPasted1">error: config error: rtems-bsp.cfg:104: RTEMS tools not found (sparc-rtems6-gcc) found; Please check the --with-tools option or --prefix.</div>
<div class="ContentPasted1">Build FAILED</div>
<div class="ContentPasted1">Build Set: Time 0:00:00.012407</div>
<div class="ContentPasted1">Build FAILED</div>
</blockquote>
The error information implies that '--prefix' should specify where the 'sparc-rtems6-gcc' should be located, so I tried something different (specifying where the build tools are located).</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2">
<blockquote itemscope="" itemtype="https://schemas.microsoft.com/QuotedText" style="border-left: 3px solid rgb(200, 200, 200); border-top-color: rgb(200, 200, 200); border-right-color: rgb(200, 200, 200); border-bottom-color: rgb(200, 200, 200); padding-left: 1ex; margin-left: 0.8ex; color: rgb(102, 102, 102);">
prefix=$HOME/src/Toolchains/osr_rtems_6_sparc 6/rtems-net-legacy --host=sparc-rtems6 --with-rtems-bsp=sparc
<div class="ContentPasted2">RTEMS Source Builder - Set Builder, 6 (8e568b2ca348 modified)</div>
<div class="ContentPasted2">warning: exe: absolute exe found in path: (__cmake) /usr/bin/cmake</div>
<div class="ContentPasted2">Build Set: 6/rtems-net-legacy</div>
<div class="ContentPasted2">config: tools/rtems-net-legacy-6.cfg</div>
<div class="ContentPasted2">error: config error: rtems-bsp.cfg:131: RTEMS BSP not found (sparc-rtems6-sparc.pc); Please check the --with-rtems option or --prefix.</div>
<div class="ContentPasted2">Build FAILED</div>
<div class="ContentPasted2">Build Set: Time 0:00:00.014283</div>
<div class="ContentPasted2">Build FAILED</div>
</blockquote>
What I'm guessing is that the networking build still relies on everything being in the correct location, but the documentation doesn't indicate where the networking repository should be put and how the networking build fits in with the tools build and the application
builds. This is probably the information I'm currently lacking. Then again, I may be missing something in the documentation that I erroneously overlooked. If so, just let me know.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2 ContentPasted3">
The "Hello World" failure is documented in this ticket: <a href="https://devel.rtems.org/ticket/4927" id="LPlnk462314">https://devel.rtems.org/ticket/4927</a></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2">
Thanks again in advance!</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2">
Brett</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Joel Sherrill <joel@rtems.org><br>
<b>Sent:</b> Tuesday, August 15, 2023 9:57 AM<br>
<b>To:</b> Brett Sterling <brett.sterling@odysseysr.com><br>
<b>Cc:</b> users@rtems.org <users@rtems.org>; Vijay Kumar Banerjee <vijay@rtems.org><br>
<b>Subject:</b> Re: Networking examples</font>
<div> </div>
</div>
<div>
<div id="x_footer" style="background-color:#ffeb9c; width:98%; border:1px solid #FFEB9C; padding:2pt; border-style:solid; border-color:#9C6500">
<font face="Calibri,sans-serif" size="2"><font color="#9C6500">CAUTION:</font><font color="black"> This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.</font></div>
<br>
</font>
<div>
<div dir="ltr">
<div>I add Vijay since he has been working with this. </div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Tue, Aug 15, 2023 at 9:27 AM Brett Sterling <<a href="mailto:brett.sterling@odysseysr.com">brett.sterling@odysseysr.com</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div class="x_msg7018943989205263307">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hello all,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
My goal is to integrate networking into our RTEMS solution, so I started here: <a href="https://usg02.safelinks.protection.office365.us/?url=https%3A%2F%2Fdocs.rtems.org%2Fbranches%2Fmaster%2Flegacy-networking%2Findex.html&data=05%7C01%7C%7Ca986447e0b18401e8d8108db9da85b8c%7Cd761ffacf6be45b88f6f288a59577095%7C0%7C0%7C638277118637201789%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=O7Cl3JjG1IGmeX5TzhEdb65bNPtvrK%2BF4Zzqtlw5Zhk%3D&reserved=0" id="x_m_7018943989205263307LPlnk187737" target="_blank">https://docs.rtems.org/branches/master/legacy-networking/index.html</a>.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
But, as soon as I had started, I hit a failure. I tried the 'quick start' (<a href="https://usg02.safelinks.protection.office365.us/?url=https%3A%2F%2Fdocs.rtems.org%2Fbranches%2Fmaster%2Flegacy-networking%2Fquick_start.html&data=05%7C01%7C%7Ca986447e0b18401e8d8108db9da85b8c%7Cd761ffacf6be45b88f6f288a59577095%7C0%7C0%7C638277118637358041%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=gCplMFshN695pxIZnLZlIxdIjfO9mkjZXsOzmm8R45s%3D&reserved=0" id="x_m_7018943989205263307LPlnk634552" target="_blank">https://docs.rtems.org/branches/master/legacy-networking/quick_start.html</a>),
but regardless of which way I tried to build, the build failed.</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Please post about that. This shouldn't happen.</div>
<div><br>
</div>
<div>And Vijay has recent experience testing the legacy stack.</div>
<div><br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div class="x_msg7018943989205263307">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Based on the failure of the 'quick-start' for the RTEMS "Hello World" example coupled with this failure, I'm starting to consider moving back to an older RTEMS version (I've seen networking information for both RTEMS 4 & 5), but first wanted to reach out to
the user community to get input.</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Let's see how this failed. </div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div class="x_msg7018943989205263307">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Optimally, I would like to find an RTEMS example (any version) <i>WITH NETWORKING</i> that runs on either an RTEMS simulator, or on a commercially available development board so that I can see networking working and then evolve it into my system.</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Do you really want the legacy stack or just a network stack? </div>
<div> </div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div class="x_msg7018943989205263307">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Less optimally, I would like to find an RTEMS example (any version) <i>WITH NETWORKING</i> that at least completely builds.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
If no one has examples of these, I would be glad to try different things to get the networking stuff building. Especially if someone else can show that they can build with networking.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thanks in advance!</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Brett</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
</div>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
<a href="https://usg02.safelinks.protection.office365.us/?url=http%3A%2F%2Flists.rtems.org%2Fmailman%2Flistinfo%2Fusers&data=05%7C01%7C%7Ca986447e0b18401e8d8108db9da85b8c%7Cd761ffacf6be45b88f6f288a59577095%7C0%7C0%7C638277118637358041%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=emkBfMPRDD5Ncf8xS7x%2BOB3hQwBUEpkMKEh9lK38Mx4%3D&reserved=0" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a></div>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>