Hallo Vijay, I still have to ask a question ;-) When building EPICS, we distinguish legacy stack or libbsd with the help of the target.cfg file. (e.g. powerpc-rtems6/beatnik/make/target.cfg).
Earlier in it was RTEMS_HAS_NETWORKING = yes (for legacy stack) and no (for new bsd stack). Now this flag will no be set with the waf build in your extra net-legacy repo. How should we now find out if the target was built with legacyStack or with libbsd? Danke Heinz > On 3. Mar 2021, at 21:03, Vijay Kumar Banerjee <vi...@rtems.org> wrote: > > On Wed, Mar 3, 2021 at 12:37 PM junkes <jun...@fhi-berlin.mpg.de> wrote: >> >> Hi Vijay, >> I tried it again: >> > Hi Heinz, > > I'm really sorry that the build crashed again. I missed the telnetd.h > file probably because it was somewhere in my build prefix from one of > the rtems builds. I have pushed a fix on the rtems repo and the > rtems-net-legacy repo. This time I was more thorough and used a new > prefix location, I believe it won't break this time. > > Thank you for helping with the testing. I really appreciate it. > > > Best regards, > Vijay > >> # building kernel >> #git clone git://git.rtems.org/rtems.git kernel >> git clone git://git.rtems.org/vijay/rtems.git kernel >> cd kernel >> git checkout devel-no-libnet >> >> # build and install bsp >> # 1. Test with waf >> #-e "s|RTEMS_NETWORKING = False|RTEMS_NETWORKING = True|" \ >> ./waf bsp_defaults --rtems-bsps=powerpc/beatnik > config.ini >> sed -i \ >> -e "s|RTEMS_POSIX_API = False|RTEMS_POSIX_API = True|" \ >> -e "s|BUILD_TESTS = False|BUILD_TESTS = True|" \ >> config.ini >> ./waf configure --prefix=/home/junkes/MVME6100_testing/rtems/6 >> ./waf >> ./waf install >> >> cd .. >> >> # building extra legacy net >> git clone git://git.rtems.org/vijay/rtems-net-legacy.git legacyNet >> cd legacyNet >> git submodule init >> git submodule update >> >> ./waf configure --prefix=/home/junkes/MVME6100_testing/rtems/6 >> >> ./waf build --rtems-archs=powerpc --rtems-bsps=beatnik >> >> >> Much better, but still a missing file? >> >> [125/235] Compiling libc/res_mkquery.c >> [126/235] Compiling libc/inet_lnaof.c >> [127/235] Compiling librpc/src/xdr/xdr_array.c >> ../../telnetd/check_passwd.c:70:10: fatal error: rtems/telnetd.h: No >> such file or directory >> 70 | #include <rtems/telnetd.h> >> | ^~~~~~~~~~~~~~~~~ >> compilation terminated. >> >> ../../telnetd/telnetd.c:57:10: fatal error: rtems/telnetd.h: No such >> file or directory >> 57 | #include <rtems/telnetd.h> >> | ^~~~~~~~~~~~~~~~~ >> compilation terminated. >> >> Waf: Leaving directory >> `/home/junkes/MVME6100_testing/legacyNet/build/powerpc-rtems6-beatnik' >> Build failed >> -> task in 'network_objects' failed with exit status 1 (run with -v to >> display more information) >> -> task in 'network_objects' failed with exit status 1 (run with -v to >> display more information) >> >> Heinz
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel