<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Mritunjay,</div><div id="AppleMailSignature">can you try to use the commit <span style="text-align: right; background-color: rgba(255, 255, 255, 0);">3afec267ab08568ea454789e562450b00feea5c0</span></div><div id="AppleMailSignature"><span style="text-align: right; background-color: rgba(255, 255, 255, 0);">Dated 25.9. 2019</span></div><div id="AppleMailSignature"><br>From Heinz</div><div><br>On 17.07.2020, at 20:23, Mritunjay Sharma <<a href="mailto:mritunjaysharma394@gmail.com">mritunjaysharma394@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 17, 2020 at 12:53 PM Heinz Junkes <<a href="mailto:junkes@fhi-berlin.mpg.de">junkes@fhi-berlin.mpg.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">You are right. I was not aware of that the dhcpcd stuff is already included into the source of the epicsPlayground repo. Will have a look into it. <div>Heinz<br><br><div dir="ltr">FHI, Heinz Junkes</div></div></div></blockquote><div><br></div><div>Thank you so much, Heinz! It will be kind of you to advice for now to how to proceed ahead like whether we have to either </div><div class="gmail_quote">use and build the old legacy stack using `--enable-networking` or the libbsd stack? </div><div class="gmail_quote">Also, should I start writing the recipe for RSB based on the existing notes of how the process went for building </div><div class="gmail_quote">EPICS7 for RTEMS5 for pc-386? </div><div class="gmail_quote"><br></div><div class="gmail_quote">Also, I have written another blog on what I learnt recently (using mutt). Here's the link: </div><div class="gmail_quote"><a href="https://medium.com/@mritunjaysharma394/how-to-set-up-mutt-text-based-mail-client-with-gmail-993ae40b0003">https://medium.com/@mritunjaysharma394/how-to-set-up-mutt-text-based-mail-client-with-gmail-993ae40b0003</a><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">I also learnt about Networking Drivers from <a href="https://docs.rtems.org/branches/master/bsp-howto/networking.html">https://docs.rtems.org/branches/master/bsp-howto/networking.html</a>. </div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">Thanks,</div><div class="gmail_quote">Mritunjay. </div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote"></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><div dir="ltr"><br><blockquote type="cite">On 15. Jul 2020, at 22:05, Mritunjay Sharma <<a href="mailto:mritunjaysharma394@gmail.com" target="_blank">mritunjaysharma394@gmail.com</a>> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div dir="ltr">Apologies as I mistakenly sent this as a private mail. </div><div dir="ltr">I missed to tag Chris, Gedare and RTEMS Devel and that's why sending this again on what </div><div>I responded.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 15, 2020 at 10:35 PM Mritunjay Sharma <<a href="mailto:mritunjaysharma394@gmail.com" target="_blank">mritunjaysharma394@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 15, 2020 at 7:48 PM Heinz Junkes <<a href="mailto:junkes@fhi-berlin.mpg.de" target="_blank">junkes@fhi-berlin.mpg.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello, Mritunjay,<br>
<br>
I'm afraid I've lost track of the situation. I am also still on holiday in Norway for 2 weeks and <br>
I don't always have perfect internet access.<br></blockquote><div><br></div></div></div></blockquote><div> </div><div>This:-></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div></div><div>I am extremely sorry to disturb you on a holiday. I will try to bring back to you where we currently are: </div><div>As advised by you I already have Built EPICS 7 with RTEMS 4.10 and tested it as well. </div><div>I was doing the same for EPICS7 with RTEMS5 for pc-386. I apologise that I forgot to update the thread that the suggestion </div><div>presented by Gedare to change to  `#include <rtems/bsd.h>` from existing `<span style="color:rgb(80,0,80)">#include <rtems/bsd/bsd.h>` helped me </span></div><div><span style="color:rgb(80,0,80)">fixed the error mentioned in the start of the thread ("</span>../posix/rtems_init.c:38:10: fatal error: rtems/bsd/bsd.h: No such file or directory</div> #include <rtems/bsd/bsd.h>").</div><div class="gmail_quote"><br></div><div class="gmail_quote">I used the 'make' command again then inside `epics-base` (Downloaded from your GitHub's playground) and then got the </div><div class="gmail_quote">following error:</div><div class="gmail_quote"><br></div><div class="gmail_quote">`../posix/rtems_init.c:39:10: fatal error: rtems/dhcpcd.h: No such file or directory</div> #include <rtems/dhcpcd.h><br><div class="gmail_quote">`</div><div class="gmail_quote">I discussed this with Gedare on the IRC channel and we concluded that it is there because we have to either </div><div class="gmail_quote">use and build the old legacy stack using `--enable-networking` or the libbsd stack. </div><div class="gmail_quote"><br></div><div class="gmail_quote">I would like your advice on what should work here and how to approach doing each of these builds? </div><div class="gmail_quote">Also, I again apologise that I am disturbing you on a holiday. Please enjoy and take care! </div><div class="gmail_quote"><br></div><div class="gmail_quote">Thanks</div><div class="gmail_quote">Mritunjay <br> <br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Where can I find your blog. I only found something from June 9th. What is the current location of the blog?</blockquote></div></div></blockquote><div><br></div><div>This:-> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div>I have made another blog which as of now deals with building BSPs and I have to update the draft of another one </div><div>which will further demonstrate on how to Build EPICS. </div><div>The link to the blog is:  <a href="https://medium.com/@mritunjaysharma394/installing-rtems-ecosystem-and-building-your-first-bsp-993d1cf38902" target="_blank">https://medium.com/@mritunjaysharma394/installing-rtems-ecosystem-and-building-your-first-bsp-993d1cf38902</a></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I'm afraid you've made a mess of things here.<br></blockquote><div><br></div></div></div></blockquote><div>This:- </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div></div><div>I am sorry if I have and I accept that I am a beginner but am really enjoying the learning I am making this summer. </div><div>Thank you so much for the support everyone in helping me grow and learn. </div><div><br></div><div>Thanks</div><div>Mritunjay</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
In the "official" epics repo, you can read<br>
<br>
<a href="https://github.com/epics-base/epics-base/blob/7.0/modules/libcom/RTEMS/rtems_init.c" rel="noreferrer" target="_blank">https://github.com/epics-base/epics-base/blob/7.0/modules/libcom/RTEMS/rtems_init.c</a> :<br>
<br>
…<br>
<br>
#include <rtems/stackchk.h><br>
#include <rtems/rtems_bsdnet.h><br>
#include <rtems/imfs.h><br>
#include <librtemsNfs.h><br>
#include <bsp.h><br>
…<br>
Here the definition of the legacy stack will be included<br>
<br>
#include <rtems/rtems_bsdnet.h><br>
<br>
<br>
<br>
Viele Grüße<br>
Heinz Junkes<br>
--<br>
Experience directly varies with equipment ruined.<br>
<br>
<br>
<br>
> On 15. Jul 2020, at 05:57, Mritunjay Sharma <<a href="mailto:mritunjaysharma394@gmail.com" target="_blank">mritunjaysharma394@gmail.com</a>> wrote:<br>
> <br>
> <br>
> <br>
> On Wed, Jul 15, 2020 at 5:33 AM Chris Johns <<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>> wrote:<br>
> On 15/7/20 4:30 am, Mritunjay Sharma wrote:<br>
> > Hello everyone,<br>
> > <br>
> > Pardon my mistake for that long thread. From now on the daily updates will be<br>
> > given on a thread that will end every week. <br>
> <br>
> Thank you :)<br>
> <br>
> > 1) I studied about <a href="https://github.com/RTEMS/rtems-libbsd" rel="noreferrer" target="_blank">https://github.com/RTEMS/rtems-libbsd</a><br>
> > 2) Tried to fix the error that I reported yesterday: <br>
> > <br>
> > ```<br>
> <br>
> Why cut the compile command line used to build this file out of the message? The<br>
> compiler command is important because it lets us see what paths are being used<br>
> and I think there may be a problem with them.<br>
> <br>
> > ../posix/rtems_init.c:38:10: fatal error: rtems/bsd/bsd.h: No such file or directory<br>
> >  #include <rtems/bsd/bsd.h><br>
> >           ^~~~~~~~~~~~~~~~~<br>
> <br>
> I cannot duplicate this because I am not sure what the sequence of commands are<br>
> you used to get to here. I am sorry if I missed it in a previous post.<br>
> <br>
> The error indicates a set up issue. It normally means the networking software<br>
> (rtems-libbsd) has not been installed into a prefix path EPICS looks in.<br>
> <br>
> I am posting the entire command set further ahead in the email which will make things<br>
> easier to understand.  <br>
> <br>
<br>
</blockquote></div></div>
</blockquote></div></div>
</div></blockquote></div></div></blockquote></div></div>
</div></blockquote></body></html>