<div dir="ltr"> <br><div>Hello everyone, </div><div> </div><div>Good news is that my new system is fully functional now with </div><div>the development environment and I resumed the work today.</div><div><br></div><div>What I was trying to do was build EPICS 7 with RTEMS 5 by hand</div><div>for pc-386.</div><div> </div><div>As advised in the thread, in my new system, I built pc-386 with </div><div>'--enable-networking' and used the epics 'playground' code of </div><div>Heinz to do 'make' in epics-base.</div><div><br></div><div>Few errors came which I was able to remove by installing a few dependencies.</div><div>However, the below-mentioned error is something that I haven't been able to</div><div>resolve for now:</div><div><br></div><div>`./posix/rtems_init.c:38:10: fatal error: rtems/bsd/bsd.h: No such file or directory</div> #include <rtems/bsd/bsd.h><br>          ^~~~~~~~~~~~~~~~~<br>compilation terminated.<br>make[4]: *** [/home/mritunjay/development/EPICS/epics-playground/configure/RULES_BUILD:235: rtems_init.o] Error 1<br>make[4]: Leaving directory '/home/mritunjay/development/EPICS/epics-playground/modules/libcom/RTEMS/O.RTEMS-pc386'<br>make[3]: *** [/home/mritunjay/development/EPICS/epics-playground/configure/RULES_ARCHS:58: install.RTEMS-pc386] Error 2<br>make[3]: Leaving directory '/home/mritunjay/development/EPICS/epics-playground/modules/libcom/RTEMS'<br>make[2]: *** [/home/mritunjay/development/EPICS/epics-playground/configure/RULES_DIRS:84: RTEMS.install] Error 2<br>make[2]: Leaving directory '/home/mritunjay/development/EPICS/epics-playground/modules/libcom'<br>make[1]: *** [../configure/RULES_DIRS:84: libcom.install] Error 2<br>make[1]: Leaving directory '/home/mritunjay/development/EPICS/epics-playground/modules'<br>make: *** [configure/RULES_DIRS:84: modules.install] Error 2<br><div>`</div><div><br></div><div>Please help me how to fix these and also guide on what should be my target </div><div>this week? What should be my next steps?</div><div><br></div><div>Thanks</div><div>Mritunjay</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 11, 2020 at 8:16 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 style="overflow-wrap: break-word;">It's not my experience.<div><br></div><div><div>I made my first attempts with RTEMS5 for a beatnik-board (MVME6100).</div><div>For this I created the BSP like this:</div></div><div><br></div><div><div> cd build/b-beatnik</div><div>    ../../rtems/configure --enable-maintainer-mode --prefix=$HOME/RTEMS/rtems-5 --target=powerpc-rtems5 --enable-rtemsbsp="beatnik" --enable-posix --enable-cxx --enable-networking</div><div><br></div><div>Through "--enable-networking" I was able to use the "old" rtems-bsdnet. With NTP, NFS etc. .</div><div><br></div><div>At the moment I am in the process of using the "new" netbsd. For this I am no longer allowed to specify "--enable-networking" when building the bsp. That's what it says</div><div>in the documentation and it works. The old NFS also works with it, it just lacks NTP (or PTP). And what I still miss very much is the support for the RTC and above all</div><div>the libpci to access the vmebus.</div><div><div>So I played a little with xilinx-zynq and beaglebone. Now I make the rtems_init at EPICS dependent on</div><div>xilinx_zynq_zedboard/make/bsp.cfg:HAS_NETWORKING = no (new bsdlib)</div></div><div>beatnik/make/bsp.cfg:HAS_NETWORKING = yes (old rtemsbsd code)</div><div><br></div><div>Gruss Heinz</div><div><br></div><div><br></div><div><br><div><br><blockquote type="cite"><div>On 11. Jul 2020, at 00:14, Joel Sherrill <<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>> wrote:</div><br><div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">Wading in late but I thought I saw something that was contradictory:</span><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">Build BSP with --enable-networking</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">Code needs rtems-libbsd</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">If the code needs rtems-libbsd, then you MUST build fill with --disable-networking.</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">If EPICS code needs rtems-libbsd, that limits the number of BSPs that can be used but you need to always use libbsd.</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">--joel</div></div></blockquote></div><br></div></div></div>_______________________________________________<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></blockquote></div>