0

I'm trying to run the ./script/setup, but get compile errors: Please note that the total 65 steps listed below is because I've restarted the setup script. The initial number of steps were closer to 465.

[1/65] Building CXX object src/common/CMakeFiles/otbr-common.dir/mainloop.cpp.o
FAILED: src/common/CMakeFiles/otbr-common.dir/mainloop.cpp.o 
/usr/bin/c++  -DHAVE_LIBSYSTEMD=1 -DOTBR_ENABLE_BACKBONE_ROUTER=1 -DOTBR_ENABLE_BORDER_AGENT=1 -DOTBR_ENABLE_BORDER_ROUTING=1 -DOTBR_ENABLE_BORDER_ROUTING_COUNTERS=1 -DOTBR_ENABLE_DBUS_SERVER=1 -DOTBR_ENABLE_DNSSD_DISCOVERY_PROXY=1 -DOTBR_ENABLE_NAT64=1 -DOTBR_ENABLE_NOTIFY_UPSTART=1 -DOTBR_ENABLE_REST_SERVER=1 -DOTBR_ENABLE_SRP_ADVERTISING_PROXY=1 -DOTBR_ENABLE_SRP_SERVER_AUTO_ENABLE_MODE=1 -DOTBR_ENABLE_VENDOR_INFRA_LINK_SELECT=0 -DOTBR_MESHCOP_SERVICE_INSTANCE_NAME="\"OpenThread BorderRouter\"" -DOTBR_PACKAGE_NAME=\"OpenThread_BorderRouter\" -DOTBR_PACKAGE_VERSION=\"0.3.0-0cdef3c\" -DOTBR_PRODUCT_NAME=\"BorderRouter\" -DOTBR_SYSLOG_FACILITY_ID=LOG_USER -DOTBR_VENDOR_NAME=\"OpenThread\" -I../../include -I../../src -Ithird_party/openthread/repo/etc/cmake -I../../third_party/openthread/repo/etc/cmake -I../../third_party/openthread/repo/include -I../../third_party/openthread/repo/src/posix/platform/include -I../../third_party/openthread/repo/src -Wall -Wextra -Werror -Wfatal-errors -Wuninitialized -Wno-missing-braces -std=c++11 -MD -MT src/common/CMakeFiles/otbr-common.dir/mainloop.cpp.o -MF src/common/CMakeFiles/otbr-common.dir/mainloop.cpp.o.d -o src/common/CMakeFiles/otbr-common.dir/mainloop.cpp.o -c ../../src/common/mainloop.cpp
In file included from /usr/include/c++/8/list:63,
                 from ../../src/common/mainloop_manager.hpp:41,
                 from ../../src/common/mainloop.cpp:30:
/usr/include/c++/8/bits/stl_list.h:811:19: error: expected ‘)’ before ‘&’ token
  list(_InputIterat&... __args)`
compilation terminated due to -Wfatal-errors.

I receive a lot more errors, but they follow the same pattern as above.

I have followed the guide from openthread.io to setup an Open Thread Border Router The execution of the bootstrap script ran smoothly.

Additional information: Git local repository path: ~/src/openthread/ot-br-posix

Command for executing the setup script: pi@raspberrypi:~/src/openthread/ot-br-posix$> INFRA_IF_NAME=eth0 ./script/setup

RPi OS: Recommended image from the guide Raspberry Pi OS lite

Libgcc versions: libgcc-8-dev/oldstable,now 8.3.0-6+rpi1 armhf [installed,automatic] libgcc1/oldstable,now 1:8.3.0-6+rpi1 armhf [installed]

Cmake versions: cmake-data/oldstable,now 3.16.3-3~bpo10+1 all [installed,automatic] cmake/oldstable,now 3.16.3-3~bpo10+1 armhf [installed]

tuxpower
  • 1
  • 1

0 Answers0