<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 21, 2020 at 1:07 AM 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 Wed, May 20, 2020 at 1:46 AM Vijay Kumar Banerjee <<a href="mailto:vijay@rtems.org" target="_blank">vijay@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 Wed, May 20, 2020 at 1:27 AM Mritunjay Sharma<br>
<<a href="mailto:mritunjaysharma394@gmail.com" target="_blank">mritunjaysharma394@gmail.com</a>> wrote:<br>
><br>
>> Thanks for the log files. From a quick look, there is one obvious<br>
>> error, the linker can't find libbsd most probably because it is not<br>
>> there. So, you need to remove the -lbsd option from ptpd-2-1.cfg file<br>
>> LIBS value. Another thing to be noted is that there are a few errors<br>
>> due to failed version checking of the sparc-rtems5-gcc, this can<br>
>> probably ignored for now if removing the -lbsd option fixes your<br>
>> issue.<br>
>><br>
> Thank you so much! Removing the lbsd from cfg file resloved the earlier<br>
> compiler issue but now another error is coming up and it is somewhat like this:<br>
>  "Makefile:502: recipe for target 'all-recursive' failed<br>
> make[1]: Leaving directory '/home/mritunjay/development/rtems/rsb/rtems/build/ptpd-2.3.1-sparc-rtems5-1/build-cxc'<br>
> make[1]: *** [all-recursive] Error 1<br>
> Makefile:412: recipe for target 'all' failed<br>
> make: *** [all] Error 2<br>
> shell cmd failed: /bin/sh -ex  /home/mritunjay/development/rtems/rsb/rtems/build/ptpd-2.3.1-sparc-rtems5-1/do-build<br>
> error: building ptpd-2.3.1-sparc-rtems5-1"<br>
><br>
<br>
The error is generally at the end of the log file. In this case, it is:<br>
```<br>
<br>
In file included from ../../ptpd-2.3.1/src/arith.c:53:0:<br>
../../ptpd-2.3.1/src/ptpd.h:93:10: fatal error: netinet/ip.h: No such<br>
file or directory<br>
 #include <netinet/ip.h><br>
          ^~~~~~~~~~~~~~<br>
compilation terminated.<br>
```<br>
This header file isn't there in the include directory. Is netinet a<br>
dependency fo ptpd? If so, you'll have to find the package that<br>
provides netinet, and add that to rsb in a similar manner as in ptpd,<br>
then you'll have to add it in the ptpd.bset .<br></blockquote></div></div></blockquote><div><br></div><div>Hi, I am attaching netinet/ip.h file, do we need to add entire netinet package as ptpd?</div><div>Or there's way to add just this file. I have tried finding netinet tar package but have to satisfy myself with</div><div>just a github repo? Can it be added as source in cfg file?</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"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"></blockquote><div><br></div><div>I have tried in this course. Have to still execute. Chris is telling there is a problem with Canadian Cross </div><div>Compiling this. Is it allowed here to implement? </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> Attaching the log file as well.<br>
> - Mritunjay<br>
</blockquote></div></div>
</blockquote></div></div>