Other Parts Discussed in Thread: CC2652RB,
Summary:
I get a error while attempting to build the OpenThread Border Router (branch thread-br-certified-20180819). Any tips on how to proceed? Thank you in advance!
Details:
I have a new BeagleBoneBlack-RevC (bbb) board that I am booting Debian 10.3 from an 8GB SDCard. The bbb is connected to Ethernet, and connect to the wall power supply. I have ssh’ed in from my LapTop to issue the following commands.
$ sudo /opt/scripts/tools/grow_partition.sh [Once, after booting 1st time from SDCard]
$ sudo shutdown -r now
$ sudo update-initramfs -u [Once, after 1st boot following grow_partition.sh operation]
$ sudo shutdown -r now
$ cat /etc/debian_version
10.3
$ echo $SHELL
/bin/bash
$ pwd
/home/debian
$ git clone --depth 1 --branch thread-br-certified-20180819 github.com/.../ot-br-posix.git
$ cd ot-br-posix
$ ./script/bootstrap 2>&1 | tee ot_bootstrap.log [This succeeds]
$ sudo shutdown -r now
$ INFRA_IF_NAME=eth0 ./script/setup 2>&1 | tee ot_setup.log [This fails, see below…]
$ tail -15 ot_setup.log
Making all in common
make[3]: Nothing to be done for 'all'.
Making all in utils
make[3]: Nothing to be done for 'all'.
Making all in agent
CXX libotbr_agent_la-ncp_wpantund.lo
ncp_wpantund.cpp: In constructor ‘ot::BorderRouter::Ncp::ControllerWpantund::ControllerWpantund(const char*)’:
ncp_wpantund.cpp:238:12: error: ‘char* strncpy(char*, const char*, size_t)’ specified bound 16 equals destination size [-Werror=stringop-truncation]
strncpy(mInterfaceName, aInterfaceName, sizeof(mInterfaceName));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[3]: *** [Makefile:716: libotbr_agent_la-ncp_wpantund.lo] Error 1
make[2]: *** [Makefile:444: all-recursive] Error 1
make[1]: *** [Makefile:570: all-recursive] Error 1
make: *** [Makefile:496: all] Error 2
Thanks in advance,
Steve K.
