<div dir="ltr">[UPDATE]: I tried building EPICS with RTEMS5 for pc-386 and pc-386-qemu. <div>Everything worked fine while building the pc-386 with RTEMS5.</div><div><br></div><div>After this when I entered epics-base and made the following change:</div><div><br></div><div>epics-base/os/CONFIG_SITE.Common.RTEMS</div><div>RTEMS_VERSION = 5<br>RTEMS_BASE = /home/mritunjay/development/rtems_dev/$(RTEMS_VERSION) </div><div> </div><div>As an experiment, I ran the make and as expected got the following error</div><div><br></div><div>Error: </div><div><br></div><div>```...de/compiler/gcc -I../../../../include/os/RTEMS -I../../../../include -c ../rtems_init.c</div>../rtems_init.c:21:10: fatal error: sys/termios.h: No such file or directory<br> #include <sys/termios.h><br> ^~~~~~~~~~~~~~~<br>compilation terminated.<br>../../../../configure/RULES_BUILD:240: recipe for target 'rtems_init.o' failed<br>make[4]: *** [rtems_init.o] Error 1<br>make[4]: Leaving directory '/home/mritunjay/development/EPICS/epics-base/modules/libcom/RTEMS/O.RTEMS-pc386'<br>../../../configure/RULES_ARCHS:58: recipe for target 'install.RTEMS-pc386' failed<br>make[3]: *** [install.RTEMS-pc386] Error 2<br>make[3]: Leaving directory '/home/mritunjay/development/EPICS/epics-base/modules/libcom/RTEMS'<br>../../configure/RULES_DIRS:85: recipe for target 'RTEMS.install' failed<br>make[2]: *** [RTEMS.install] Error 2<br>make[2]: Leaving directory '/home/mritunjay/development/EPICS/epics-base/modules/libcom'<br>../configure/RULES_DIRS:85: recipe for target 'libcom.install' failed<br>make[1]: *** [libcom.install] Error 2<br>make[1]: Leaving directory '/home/mritunjay/development/EPICS/epics-base/modules'<br>configure/RULES_DIRS:85: recipe for target 'modules.install' failed<br>make: *** [modules.install] Error 2<br><div>```</div><div><br></div><div>I am trying to figure out the error and making the changes in code to debug it. </div><div>However, I will appreciate if Heinz and everyone else can help me a little, if they have an</div><div>idea of this error. </div><div><br></div><div>Thanks</div><div>Mritunjay </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 7, 2020 at 7:30 PM Mritunjay Sharma <<a href="mailto:mritunjaysharma394@gmail.com">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 Tue, Jul 7, 2020 at 5:33 AM Gedare Bloom <<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</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">On Mon, Jul 6, 2020 at 5:49 PM Joel Sherrill <<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>> wrote:<br>
><br>
><br>
><br>
> On Mon, Jul 6, 2020, 6:14 PM Gedare Bloom <<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>> wrote:<br>
>><br>
>> On Mon, Jul 6, 2020 at 10:12 AM Mritunjay Sharma<br>
>> <<a href="mailto:mritunjaysharma394@gmail.com" target="_blank">mritunjaysharma394@gmail.com</a>> wrote:<br>
>> ><br>
>> > Hello everyone,<br>
>> ><br>
>> > Thank you, Heinz, Gedare, Chris and Joel for your advice.<br>
>> > If there are issues in making a buildset for 4.10<br>
>> > then should I build EPICS with RTEMS 5 by hand first and note<br>
>> > down the process and then proceed to make the buildset for it?<br>
>> ><br>
>><br>
>> Yes.<br>
><br>
><br>
> +1<br>
><br>
> And by 5, we definitely mean the 5 branch for all rtems repo and the similarly named one for libbsd.<br>
<br>
Excellent point. We want to add support for easy build (and eventually<br>
test) of EPICS+RTEMS starting with 5.1 and moving forward, which means<br>
also doing it for RTEMS 6, Mritunjay.<br>
<br></blockquote><div>Sounds good, I have begun building it hand by today for RTEMS 5 branch and later on continue the </div><div>same for RTEMS6</div><div><br></div><div>Thank you so much Gedare and Joel. </div><div>Mritunjay <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
>><br>
>><br>
>> > Please suggest for the future steps.<br>
>> ><br>
>> > Thanks<br>
>> > Mritunjay<br>
>> ><br>
>> > On Mon, Jul 6, 2020 at 5:38 AM Joel Sherrill <<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>> wrote:<br>
>> >><br>
>> >><br>
>> >><br>
>> >> On Sun, Jul 5, 2020, 6:12 PM Chris Johns <<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>> wrote:<br>
>> >>><br>
>> >>> On 6/7/20 12:47 am, Heinz Junkes wrote:<br>
>> >>> > Thank you, this is exactly where I was unsure.<br>
>> >>> > @Chris: Can you give a recommendation here?<br>
>> >>> > Danke Heinz<br>
>> >>> > ------------------------------------------------------------------------------<br>
>> >>> > Fritz-Haber-Institut | Phone: (+49 30) 8413-4270<br>
>> >>> > Heinz Junkes | Fax (G3+G4): (+49 30) 8413-5900<br>
>> >>> > Faradayweg 4-6 | VC: <a href="mailto:102220181216@bjn.vc" target="_blank">102220181216@bjn.vc</a><br>
>> >>> > D - 14195 Berlin | E-Mail: <a href="mailto:junkes@fhi-berlin.mpg.de" target="_blank">junkes@fhi-berlin.mpg.de</a><br>
>> >>> > ------------------------------------------------------------------------------<br>
>> >>> ><br>
>> >>> >> On 5. Jul 2020, at 16:20, Gedare Bloom <<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>> wrote:<br>
>> >>> >><br>
>> >>> >> On Sat, Jul 4, 2020 at 1:18 PM Mritunjay Sharma<br>
>> >>> >> <<a href="mailto:mritunjaysharma394@gmail.com" target="_blank">mritunjaysharma394@gmail.com</a>> wrote:<br>
>> >>> >>><br>
>> >>> >>><br>
>> >>> >>><br>
>> >>> >>> On Sun, Jul 5, 2020 at 12:28 AM Heinz Junkes <<a href="mailto:junkes@fhi-berlin.mpg.de" target="_blank">junkes@fhi-berlin.mpg.de</a>> wrote:<br>
>> >>> >>>><br>
>> >>> >>>> Hello, Mritunjay,<br>
>> >>> >>>> that's good news. Don't you want to try to develop a rsb-set for exactly this combination of RTEMS4.10 and EPICS7?<br>
>> >>> >>><br>
>> >>> >>><br>
>> >>> >>> Sure, I am ready to do this and then do it with RTEMS5 in the same way. Please tell how to begin or some existing similar<br>
>> >>> >>> work that can guide me how to proceed further in relation to rsb-set for RTEMS4.10 and EPICS7.<br>
>> >>> >>><br>
>> >>> >><br>
>> >>> >> I don't know if this is best. RSB didn't exist in 4.10. I haven't<br>
>> >>> >> looked to see how well the rtems-source-builder/4.10 would support a<br>
>> >>> >> package build. It should be discussed with Chris probably. A couple of<br>
>> >>> >> packages were added in the 4.11 branch.<br>
>> >>><br>
>> >>> I would leave 4.10 and move on. It may work but these things can expose issues<br>
>> >>> that turn into distractions.<br>
>> >>><br>
>> >>> Would making a script that does the build so we can document the steps be worth<br>
>> >>> while<br>
>> >><br>
>> >><br>
>> >> Yes. Emphatically yes. We need to make sure we know how it is best built by hand to automate it.<br>
>> >><br>
>> >> I firmly believe you should not attempt to automate something until doing it manually is well understood and documented.<br>
>> >><br>
>> >> After you have this down for one BSP, we need to ask questions like:<br>
>> >><br>
>> >> + Is there any per BSP tailoring beyond the obviod architecture and compilation settings?<br>
>> >><br>
>> >> + Any tweaks to settings users may want?<br>
>> >><br>
>> >> The manual process should include testing. The RSB is a great way to automate and ease building but it doesn't address testing the packages yet.<br>
>> >><br>
>> >> --joel<br>
>> >><br>
>> >>><br>
>> >>> Chris<br>
>> >>> _______________________________________________<br>
>> >>> devel mailing list<br>
>> >>> <a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
>> >>> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
>> >><br>
>> >> _______________________________________________<br>
>> >> devel mailing list<br>
>> >> <a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
>> >> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div></div>
</blockquote></div>