On Wed, May 20, 2020 at 1:27 AM Mritunjay Sharma <mritunjaysharma...@gmail.com> wrote: > >> Thanks for the log files. From a quick look, there is one obvious >> error, the linker can't find libbsd most probably because it is not >> there. So, you need to remove the -lbsd option from ptpd-2-1.cfg file >> LIBS value. Another thing to be noted is that there are a few errors >> due to failed version checking of the sparc-rtems5-gcc, this can >> probably ignored for now if removing the -lbsd option fixes your >> issue. >> > Thank you so much! Removing the lbsd from cfg file resloved the earlier > compiler issue but now another error is coming up and it is somewhat like > this: > "Makefile:502: recipe for target 'all-recursive' failed > make[1]: Leaving directory > '/home/mritunjay/development/rtems/rsb/rtems/build/ptpd-2.3.1-sparc-rtems5-1/build-cxc' > make[1]: *** [all-recursive] Error 1 > Makefile:412: recipe for target 'all' failed > make: *** [all] Error 2 > shell cmd failed: /bin/sh -ex > /home/mritunjay/development/rtems/rsb/rtems/build/ptpd-2.3.1-sparc-rtems5-1/do-build > error: building ptpd-2.3.1-sparc-rtems5-1" >
The error is generally at the end of the log file. In this case, it is: ``` In file included from ../../ptpd-2.3.1/src/arith.c:53:0: ../../ptpd-2.3.1/src/ptpd.h:93:10: fatal error: netinet/ip.h: No such file or directory #include <netinet/ip.h> ^~~~~~~~~~~~~~ compilation terminated. ``` This header file isn't there in the include directory. Is netinet a dependency fo ptpd? If so, you'll have to find the package that provides netinet, and add that to rsb in a similar manner as in ptpd, then you'll have to add it in the ptpd.bset . > Attaching the log file as well. > - Mritunjay _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel