On Tue, May 19, 2020 at 10:09 PM Vijay Kumar Banerjee <[email protected]> wrote:
> On Tue, May 19, 2020 at 7:42 PM Mritunjay Sharma > <[email protected]> wrote: > > > > Hello everyone, > > > > Starting this thread to discuss and give a detail of my progress in > relation to > > my GSoC 2020 project "BSP Buildset for EPICS". > > > > It is to tell that I have worked on adding ptp2 support as suggested by > mentors > > The implementation that I found could work was ptp2 daemon and so worked > with > > it. > > > > I added these files: > > rsb/rtems/config/net/ptpd-2.3-1.cfg > > rsb/rtems/config/net/ptpd.bset > > rsb/source-builder/config/ptpd-2.1.cfg > > > > I am attaching the .diff file and the bug that I have encountered in the > > respective txt file and will like the help of mentors in trying to help > me > > fix it. > > > Hi Mritrynjay, > > The error your are facing is here: > ``` > checking whether the C compiler works... no > configure: error: in > > `/home/mritunjay/development/rtems/rsb/rtems/build/ptpd-2.3.1-sparc-rtems5-1/build-cxc': > configure: error: C compiler cannot create executables > ``` > Looks like it's not able to find the CC properly. If I remember > correctly, you had a similar problem before. Do you remember how you > fixed that or what was missing? > > Thank you so much for the help, Vijay. However, the thing that was working last time is not helping me this time. I am attaching the config.log as well. Hope it will help with debugging. > > Also, there's another warning in the log: > > configure: WARNING: unrecognized options: --disable-embedded-perl, > --without-openssl > > You can just remove these options from the cfg file. > Thank you so much, I have removed them now and will update on the GitHub as well. - Mritunjay > > Best regards, > Vijay > > > I will also be uploading the files on my GitHub repo as well which can > be accessed from here: > > https://github.com/mritunjaysharma394/rtems-source-builder > > > > Thanks, > > Mritunjay > > > > > > _______________________________________________ > > devel mailing list > > [email protected] > > http://lists.rtems.org/mailman/listinfo/devel >
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by ptpd configure 2.3.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ ../ptpd-2.3.1/configure --host=sparc-rtems5 --prefix=/home/mritunjay/development/rtems/5 --bindir=/home/mritunjay/development/rtems/5/sparc-rtems5/erc32/bin --exec_prefix=/home/mritunjay/development/rtems/5/sparc-rtems5/erc32 --includedir=/home/mritunjay/development/rtems/5/sparc-rtems5/erc32/lib/include --libdir=/home/mritunjay/development/rtems/5/sparc-rtems5/erc32/lib --libexecdir=/home/mritunjay/development/rtems/5/sparc-rtems5/erc32/libexec --mandir=/home/mritunjay/development/rtems/5/sparc-rtems5/erc32/share/man --infodir=/home/mritunjay/development/rtems/5/sparc-rtems5/erc32/share/info --datadir=/home/mritunjay/development/rtems/5/sparc-rtems5/erc32/share --disable-shared --without-openssl --disable-statistics --enable-slave-only --disable-posix-timers --with-max-unicast-destinations=[16...2048] --enable-experimental-options ## --------- ## ## Platform. ## ## --------- ## hostname = mritunjay-XPS-15-9570 uname -m = x86_64 uname -r = 5.3.0-51-generic uname -s = Linux uname -v = #44~18.04.2-Ubuntu SMP Thu Apr 23 14:27:18 UTC 2020 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/mritunjay/development/rtems/5/bin PATH: /home/mritunjay/development/rtems/rsb/source-builder PATH: /home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000-cxc/net/ptpd/home/mritunjay/development/rtems/5/bin PATH: /home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/home/mritunjay/development/rtems/5/bin PATH: /home/mritunjay/.local/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /usr/local/games PATH: /snap/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2627: checking for a BSD-compatible install configure:2695: result: /usr/bin/install -c configure:2706: checking whether build environment is sane configure:2761: result: yes configure:2820: checking for sparc-rtems5-strip configure:2836: found /home/mritunjay/development/rtems/5/bin/sparc-rtems5-strip configure:2847: result: sparc-rtems5-strip configure:2912: checking for a thread-safe mkdir -p configure:2951: result: /bin/mkdir -p configure:2958: checking for gawk configure:2988: result: no configure:2958: checking for mawk configure:2974: found /usr/bin/mawk configure:2985: result: mawk configure:2996: checking whether make sets $(MAKE) configure:3018: result: yes configure:3047: checking whether make supports nested variables configure:3064: result: yes configure:3200: checking for gawk configure:3227: result: mawk configure:3246: checking for sparc-rtems5-gcc configure:3273: result: sparc-rtems5-gcc configure:3542: checking for C compiler version configure:3551: sparc-rtems5-gcc --version >&5 sparc-rtems5-gcc (GCC) 7.5.0 20191114 (RTEMS 5, RSB 5 (96cdedce58e3), Newlib 7947581) Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3562: $? = 0 configure:3551: sparc-rtems5-gcc -v >&5 Using built-in specs. COLLECT_GCC=sparc-rtems5-gcc COLLECT_LTO_WRAPPER=/home/mritunjay/development/rtems/5/libexec/gcc/sparc-rtems5/7.5.0/lto-wrapper Target: sparc-rtems5 Configured with: ../gcc-7.5.0/configure --prefix=/home/mritunjay/development/rtems/5 --bindir=/home/mritunjay/development/rtems/5/bin --exec_prefix=/home/mritunjay/development/rtems/5 --includedir=/home/mritunjay/development/rtems/5/include --libdir=/home/mritunjay/development/rtems/5/lib --libexecdir=/home/mritunjay/development/rtems/5/libexec --mandir=/home/mritunjay/development/rtems/5/share/man --infodir=/home/mritunjay/development/rtems/5/share/info --datadir=/home/mritunjay/development/rtems/5/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=sparc-rtems5 --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --verbose --with-newlib --disable-nls --without-included-gettext --disable-win32-registry --enable-version-specific-runtime-libs --disable-lto --enable-newlib-io-c99-formats --enable-newlib-iconv --enable-newlib-iconv-encodings=big5,cp775,cp850,cp852,cp855,cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,win_1253,win_1254,win_1255,win_1256,win_1257,win_1258 --enable-threads --disable-plugin --enable-libgomp --enable-languages=c,c++ Thread model: rtems gcc version 7.5.0 20191114 (RTEMS 5, RSB 5 (96cdedce58e3), Newlib 7947581) (GCC) configure:3562: $? = 0 configure:3551: sparc-rtems5-gcc -V >&5 sparc-rtems5-gcc: error: unrecognized command line option '-V' sparc-rtems5-gcc: fatal error: no input files compilation terminated. configure:3562: $? = 1 configure:3551: sparc-rtems5-gcc -qversion >&5 sparc-rtems5-gcc: error: unrecognized command line option '-qversion'; did you mean '--version'? sparc-rtems5-gcc: fatal error: no input files compilation terminated. configure:3562: $? = 1 configure:3582: checking whether the C compiler works configure:3604: sparc-rtems5-gcc -O2 -g -pipe -I/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/home/mritunjay/development/rtems/5/include -I/home/mritunjay/development/rtems/5/sparc-rtems5/erc32/lib/include -L/home/mritunjay/development/rtems/5/sparc-rtems5/erc32/lib -mcpu=cypress -L/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/home/mritunjay/development/rtems/5/lib conftest.c -lbsd -lm -lz -lrtemsdefaultconfig >&5 /home/mritunjay/development/rtems/5/lib/gcc/sparc-rtems5/7.5.0/../../../../sparc-rtems5/bin/ld: cannot find -lbsd collect2: error: ld returned 1 exit status configure:3608: $? = 1 configure:3646: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "ptpd" | #define PACKAGE_TARNAME "ptpd" | #define PACKAGE_VERSION "2.3.1" | #define PACKAGE_STRING "ptpd 2.3.1" | #define PACKAGE_BUGREPORT "[email protected]" | #define PACKAGE_URL "http://ptpd.sourceforge.net" | #define PACKAGE "ptpd" | #define VERSION "2.3.1" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3651: error: in `/home/mritunjay/development/rtems/rsb/rtems/build/ptpd-2.3.1-sparc-rtems5-1/build-cxc': configure:3653: error: C compiler cannot create executables See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_CC_set=set ac_cv_env_CC_value=sparc-rtems5-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -g -pipe -I/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/home/mritunjay/development/rtems/5/include ' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-I/home/mritunjay/development/rtems/5/sparc-rtems5/erc32/lib/include ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-L/home/mritunjay/development/rtems/5/sparc-rtems5/erc32/lib -mcpu=cypress -L/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/home/mritunjay/development/rtems/5/lib' ac_cv_env_LIBS_set=set ac_cv_env_LIBS_value='-lbsd -lm -lz -lrtemsdefaultconfig' ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=sparc-rtems5 ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=mawk ac_cv_prog_CC=sparc-rtems5-gcc ac_cv_prog_STRIP=sparc-rtems5-strip ac_cv_prog_make_make_set=yes am_cv_make_support_nested_variables=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/mritunjay/development/rtems/rsb/rtems/build/ptpd-2.3.1-sparc-rtems5-1/ptpd-2.3.1/build-aux/missing aclocal-1.14' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='' AUTOCONF='${SHELL} /home/mritunjay/development/rtems/rsb/rtems/build/ptpd-2.3.1-sparc-rtems5-1/ptpd-2.3.1/build-aux/missing autoconf' AUTOHEADER='${SHELL} /home/mritunjay/development/rtems/rsb/rtems/build/ptpd-2.3.1-sparc-rtems5-1/ptpd-2.3.1/build-aux/missing autoheader' AUTOMAKE='${SHELL} /home/mritunjay/development/rtems/rsb/rtems/build/ptpd-2.3.1-sparc-rtems5-1/ptpd-2.3.1/build-aux/missing automake-1.14' AWK='mawk' CC='sparc-rtems5-gcc' CCDEPMODE='' CFLAGS='-O2 -g -pipe -I/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/home/mritunjay/development/rtems/5/include ' CPP='' CPPFLAGS='-I/home/mritunjay/development/rtems/5/sparc-rtems5/erc32/lib/include' CYGPATH_W='echo' DEFS='' DEPDIR='' DISABLE_SOTIMESTAMPING_FALSE='' DISABLE_SOTIMESTAMPING_TRUE='' DLLTOOL='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' EXP_FALSE='' EXP_TRUE='' FGREP='' GREP='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='' LDFLAGS='-L/home/mritunjay/development/rtems/5/sparc-rtems5/erc32/lib -mcpu=cypress -L/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/home/mritunjay/development/rtems/5/lib' LIBOBJS='' LIBS='-lbsd -lm -lz -lrtemsdefaultconfig' LIBTOOL='' LINUX_KERNEL_HEADERS_FALSE='' LINUX_KERNEL_HEADERS_TRUE='' LINUX_KERNEL_INCLUDES='' LIPO='' LN_S='' LTLIBOBJS='' MAKEINFO='${SHELL} /home/mritunjay/development/rtems/rsb/rtems/build/ptpd-2.3.1-sparc-rtems5-1/ptpd-2.3.1/build-aux/missing makeinfo' MANIFEST_TOOL='' MKDIR_P='/bin/mkdir -p' NM='' NMEDIT='' OBJDUMP='' OBJEXT='' OTOOL64='' OTOOL='' PACKAGE='ptpd' PACKAGE_BUGREPORT='[email protected]' PACKAGE_NAME='ptpd' PACKAGE_STRING='ptpd 2.3.1' PACKAGE_TARNAME='ptpd' PACKAGE_URL='http://ptpd.sourceforge.net' PACKAGE_VERSION='2.3.1' PATH_NET_SNMP_CONFIG='' PATH_PCAP_CONFIG='' PATH_SEPARATOR=':' PCAP_CFLAGS='' PCAP_CPPFLAGS='' PCAP_FALSE='' PCAP_LIBS='' PCAP_TRUE='' PTIMERS_FALSE='' PTIMERS_TRUE='' PTP_DAEMON='' PTP_DBL='' PTP_DISABLE_SOTIMESTAMPING='' PTP_EXP='' PTP_PCAP='' PTP_PTIMERS='' PTP_SLAVE_ONLY='' PTP_SNMP='' PTP_STATISTICS='' PTP_UNICAST_MAX='' RANLIB='' RELEASE_DATE='June, 2015' SED='' SET_MAKE='' SHELL='/bin/bash' SLAVE_ONLY_FALSE='' SLAVE_ONLY_TRUE='' SNMP_CFLAGS='' SNMP_CPPFLAGS='' SNMP_FALSE='' SNMP_LIBS='' SNMP_TRUE='' STATISTICS_FALSE='' STATISTICS_TRUE='' STRIP='sparc-rtems5-strip' VERSION='2.3.1' VERSION_NUMBER='2.3.1' ac_ct_AR='' ac_ct_CC='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__include='' am__isrc=' -I$(srcdir)' am__leading_dot='.' am__nodep='' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='/home/mritunjay/development/rtems/5/sparc-rtems5/erc32/bin' build='' build_alias='' build_cpu='' build_os='' build_vendor='' cutpath='' datadir='/home/mritunjay/development/rtems/5/sparc-rtems5/erc32/share' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='/home/mritunjay/development/rtems/5/sparc-rtems5/erc32' host='sparc-rtems5' host_alias='sparc-rtems5' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' includedir='/home/mritunjay/development/rtems/5/sparc-rtems5/erc32/lib/include' infodir='/home/mritunjay/development/rtems/5/sparc-rtems5/erc32/share/info' install_sh='${SHELL} /home/mritunjay/development/rtems/rsb/rtems/build/ptpd-2.3.1-sparc-rtems5-1/ptpd-2.3.1/build-aux/install-sh' libdir='/home/mritunjay/development/rtems/5/sparc-rtems5/erc32/lib' libexecdir='/home/mritunjay/development/rtems/5/sparc-rtems5/erc32/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='/home/mritunjay/development/rtems/5/sparc-rtems5/erc32/share/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/home/mritunjay/development/rtems/5' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' svnverpath='' sysconfdir='${prefix}/etc' target_alias='' trpath='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "ptpd" #define PACKAGE_TARNAME "ptpd" #define PACKAGE_VERSION "2.3.1" #define PACKAGE_STRING "ptpd 2.3.1" #define PACKAGE_BUGREPORT "[email protected]" #define PACKAGE_URL "http://ptpd.sourceforge.net" #define PACKAGE "ptpd" #define VERSION "2.3.1" configure: exit 77
_______________________________________________ devel mailing list [email protected] http://lists.rtems.org/mailman/listinfo/devel
