zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
11.01k stars 6.7k forks source link

Errors when building application in Eclipse #16989

Closed GeeseHoward closed 5 years ago

GeeseHoward commented 5 years ago

Description I'm using Eclipse for application development. The application uses OpenThread. When I clean and rebuild the application, the console log shows errors, but binary gets built nonetheless. However, the C/C++ Editor starts showing lots of 'Could not find symbol in index' errors. If you make a minor modification in the application source and build the application again, the errors disappear.

The error seems to be somewhere around here, because these lines are highlighted in red in the build log:

configure.ac:198: installing 'third_party/nlbuild-autotools/repo/third_party/autoconf/compile'
configure.ac:114: installing 'third_party/nlbuild-autotools/repo/third_party/autoconf/missing'

While I'm not certain, I think this wasn't happening a few weeks ago.

To Reproduce Steps to reproduce the behavior:

  1. mkdir build; cd build
  2. cmake -GNinja -DCONFIG_DEBUG_OPTIMIZATIONS=y -DCMAKE_BUILD_TYPE=Debug -DBOARD=nrf52840_pca10056 -DCONF_FILE="prj.conf overlay-ot.conf" -GEclipse CDT4 - Ninja /zephyrproject/zephyr/samples/net/sockets/echo_client
  3. ninja
  4. Import the application in Eclipse
  5. Clean the application (Right-click on the project and click 'Clean Project')
  6. Rebuild the application (Right-click on the project and click 'Build Project')

Expected behavior No errors in the build log, no problems in the Problems tab and no errors in the C/C++ Editor in Eclipse.

Impact Uncertain. For me it's a nuisance, but it might be causing some other issues as well.

Screenshots or console output Screenshot: Screenshot from 2019-06-22 12-00-03 Screenshot from 2019-06-22 12-00-32

Build log:

11:55:45 **** Build of project sockets_echo_client-Debug@echo_client_build ****
/usr/bin/ninja all 
[1/216] Preparing syscall dependency handling

[2/216] Creating directories for 'ot'
[3/216] Performing download step (git clone) for 'ot'
-- Avoiding repeated git clone, stamp file is up to date: '/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/ext_proj/Stamp/ot/ot-gitclone-lastrun.txt'
[4/216] Performing update step for 'ot'
[5/216] No patch step for 'ot'
[6/216] Generating include/generated/syscall_macros.h
[7/216] Generating zephyr/include/generated/echo-apps-cert.der.inc
[8/216] Generating misc/generated/syscalls_subdirs.trigger
[9/216] Generating include/generated/driver-validation.h
[10/216] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[11/216] Generating misc/generated/syscalls.json
[12/216] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[13/216] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[14/216] Generating include/generated/offsets.h
[15/216] Building C object CMakeFiles/app.dir/src/udp.c.obj
[16/216] Building C object CMakeFiles/app.dir/src/echo-client.c.obj
[17/216] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/irq_init.c.obj
[18/216] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/swap.c.obj
[19/216] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fault.c.obj
[20/216] Generating linker.cmd
[21/216] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fault_s.S.obj
[22/216] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/irq_manage.c.obj
[23/216] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/thread.c.obj
[24/216] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[25/216] Linking C static library app/libapp.a
[26/216] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/exc_exit.S.obj
[27/216] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/sys_fatal_error_handler.c.obj
[28/216] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/thread_abort.c.obj
[29/216] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/isr_wrapper.S.obj
[30/216] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/__aeabi_atexit.c.obj
[31/216] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[32/216] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[33/216] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/nmi_on_reset.S.obj
[34/216] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[35/216] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[36/216] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/nmi.c.obj
[37/216] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_manage.c.obj
[38/216] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/swap_helper.S.obj
[39/216] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/cpu_idle.S.obj
[40/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj
[41/216] Building C object zephyr/arch/arch/arm/core/cortex_m/mpu/CMakeFiles/arch__arm__core__cortex_m__mpu.dir/arm_core_mpu.c.obj
[42/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj
[43/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj
[44/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj
[45/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj
[46/216] Building C object zephyr/arch/arch/arm/core/cortex_m/mpu/CMakeFiles/arch__arm__core__cortex_m__mpu.dir/arm_mpu.c.obj
[47/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj
[48/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
[49/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/prf.c.obj
[50/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/stdout_console.c.obj
[51/216] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[52/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj
[53/216] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[54/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
[55/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj
[56/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj
[57/216] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/soc_flash_nrf.c.obj
[58/216] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_core.c.obj
[59/216] Linking C static library zephyr/arch/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a
[60/216] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_if.c.obj
[61/216] Building C object zephyr/subsys/net/CMakeFiles/subsys__net.dir/buf.c.obj
[62/216] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_context.c.obj
[63/216] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_pkt.c.obj
[64/216] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_tc.c.obj
[65/216] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/utils.c.obj
[66/216] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/icmpv6.c.obj
[67/216] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/nbr.c.obj
[68/216] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/ipv6.c.obj
[69/216] Linking C static library zephyr/lib/libc/minimal/liblib__libc__minimal.a
[70/216] Linking C static library zephyr/subsys/net/libsubsys__net.a
[71/216] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/ipv6_nbr.c.obj
[72/216] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_mgmt.c.obj
[73/216] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_shell.c.obj
[74/216] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_stats.c.obj
[75/216] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/connection.c.obj
[76/216] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/udp.c.obj
[77/216] Building C object zephyr/subsys/net/lib/config/CMakeFiles/subsys__net__lib__config.dir/init.c.obj
[78/216] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_nrfx.c.obj
[79/216] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uart.c.obj
[80/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[81/216] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/flash_page_layout.c.obj
[82/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
[83/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
[84/216] Building C object zephyr/drivers/entropy/CMakeFiles/drivers__entropy.dir/entropy_nrf5.c.obj
[85/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
[86/216] Linking C static library zephyr/drivers/flash/libdrivers__flash.a
[87/216] Linking C static library zephyr/subsys/net/lib/config/libsubsys__net__lib__config.a
[88/216] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[89/216] Linking C static library zephyr/drivers/serial/libdrivers__serial.a
[90/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
[91/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
[92/216] Linking C static library zephyr/subsys/net/ip/libsubsys__net__ip.a
[93/216] Linking C static library zephyr/drivers/entropy/libdrivers__entropy.a
[94/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj
[95/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
[96/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj
[97/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/pipes.c.obj
[98/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj
[99/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj
[100/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj
[101/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj
[102/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/system_work_q.c.obj
[103/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
[104/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
[105/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread_abort.c.obj
[106/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work_q.c.obj
[107/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/smp.c.obj
[108/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
[109/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/poll.c.obj
[110/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
[111/216] Linking C static library zephyr/kernel/libkernel.a
[112/216] bootstrapping...
configure.ac:198: installing 'third_party/nlbuild-autotools/repo/third_party/autoconf/compile'
configure.ac:114: installing 'third_party/nlbuild-autotools/repo/third_party/autoconf/missing'
examples/apps/cli/Makefile.am: installing 'third_party/nlbuild-autotools/repo/third_party/autoconf/depcomp'
[113/216] Performing configure step for 'ot'
configure: WARNING: unrecognized options: --with-platform-info
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-none-eabi
checking filtered build system type... x86_64-unknown-linux-gnu
checking filtered host system type... arm-none-eabi
checking for a BSD-compatible install... /usr/bin/install -p
checking whether build environment is sane... yes
checking for arm-none-eabi-strip... /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to disable executable checking... yes
checking for style of include used by make... GNU
checking for arm-none-eabi-gcc... ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc accepts -g... yes
checking for ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc option to accept ISO C89... none needed
checking whether ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc understands -c and -o together... yes
checking dependency style of ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc... gcc3
checking how to run the C preprocessor... /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc -E
checking for arm-none-eabi-gcc... (cached) ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc accepts -g... (cached) yes
checking for ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc option to accept ISO C89... (cached) none needed
checking whether ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc understands -c and -o together... (cached) yes
checking dependency style of ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc... (cached) gcc3
checking whether ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc and cc understand -c and -o together... yes
checking whether we are using the GNU C++ compiler... yes
checking whether ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-g++ accepts -g... yes
checking dependency style of ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-g++... gcc3
checking how to run the C++ preprocessor... ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-g++ -E
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-g++ accepts -g... (cached) yes
checking dependency style of ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-g++... (cached) gcc3
checking whether ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-g++ understands -c and -o together... yes
checking dependency style of ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc... gcc3
checking for arm-none-eabi-ar... /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-ar
checking for arm-none-eabi-ranlib... no
checking for ranlib... ranlib
configure: WARNING: using cross tools not prefixed with host triplet
checking for arm-none-eabi-objcopy... no
checking for objcopy... objcopy
checking for arm-none-eabi-strip... (cached) /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-strip
checking whether ln -s works... yes
checking for cmp... /usr/bin/cmp
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc is Clang... no
checking whether the C compiler understands -Wall... yes
checking whether the C compiler understands -Wextra... yes
checking whether the C compiler understands -Wshadow... yes
checking whether the C compiler understands -Werror... no
checking whether the C compiler understands -std=c99... yes
checking whether the C compiler understands -pedantic-errors... no
checking whether the C++ compiler understands -Wall... yes
checking whether the C++ compiler understands -Wextra... yes
checking whether the C++ compiler understands -Wshadow... yes
checking whether the C++ compiler understands -Werror... no
checking whether the C++ compiler understands -std=gnu++98... yes
checking whether the C++ compiler understands -Wno-c++14-compat... yes
checking whether the C++ compiler understands -fno-exceptions... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc... /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/arm-none-eabi/bin/ld
checking if the linker (/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/arm-none-eabi/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-nm
checking the name lister (/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-nm) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to arm-none-eabi format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/arm-none-eabi/bin/ld option to reload object files... -r
checking for arm-none-eabi-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... unknown
checking for arm-none-eabi-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-none-eabi-ar... (cached) /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-ar
checking for archiver @FILE support... @
checking for arm-none-eabi-strip... (cached) /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-strip
checking for arm-none-eabi-ranlib... ranlib
checking command to parse /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-nm output from ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc object... failed
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for arm-none-eabi-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... no
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... no
checking for dlfcn.h... no
checking for objdir... .libs
checking if ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc supports -fno-rtti -fno-exceptions... no
checking for ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc option to produce PIC... -fPIC -DPIC
checking if ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc PIC flag -fPIC -DPIC works... yes
checking if ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc static flag -static works... no
checking if ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc supports -c -o file.o... yes
checking if ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc supports -c -o file.o... (cached) yes
checking whether the ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc linker (/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/arm-none-eabi/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-g++ -E
checking for ld used by ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-g++... /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/arm-none-eabi/bin/ld
checking if the linker (/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/arm-none-eabi/bin/ld) is GNU ld... yes
checking whether the ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-g++ linker (/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/arm-none-eabi/bin/ld) supports shared libraries... no
checking for ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-g++ option to produce PIC... -fPIC -DPIC
checking if ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-g++ PIC flag -fPIC -DPIC works... yes
checking if ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-g++ static flag -static works... no
checking if ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-g++ supports -c -o file.o... yes
checking if ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-g++ supports -c -o file.o... (cached) yes
checking whether the ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-g++ linker (/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/arm-none-eabi/bin/ld) supports shared libraries... no
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
configure: checking whether to build debug instances
checking whether to build debug instances of programs and libraries... no
checking whether to build code-coverage instances of programs and libraries... no
checking for lcov... no
checking for genhtml... no
checking whether to build graphical code coverage reports... no
checking whether to build code-optimized instances of programs and libraries... yes
checking whether to build fuzz targets... no
checking whether the C++ compiler understands -fno-rtti... yes
checking whether to build with Address Sanitizer support... no
configure: checking whether to build tests
checking whether to build tests... yes
no
checking whether mbed TLS should be enabled... yes
checking whether to build POSIX applicaton... no
checking whether to build FTD library... yes
checking whether to build MTD library... no
checking whether to build radio-only library... no
checking whether to build executables... yes
checking whether to build CLI library... yes
checking whether to build NCP library... no
checking should NCP support SPI... 
checking should NCP support UART... 
checking whether to enable UDP forward... no
checking whether to enable border agent... no
checking whether to enable the network diagnostic for MTD... no
no
no
checking whether to enable the commissioner... no
checking whether to enable the joiner feature... no
checking whether to enable DTLS due to joiner/commissioner... no
checking whether to enable jam detection... no
checking whether to enable channel monitor... no
checking whether to enable channel manager... no
checking whether to enable mac filter... no
checking whether to enable diag... no
checking for vendor extension... none
checking whether to enable legacy... no
checking for NCP vendor hook source... none
checking for NCP Spinel Encrypter... none
no
checking whether to enable linker map output... no
checking whether to build with ECDSA support... no
checking whether to enable examples... 
checking whether to build tools... yes
checking for doxygen... /usr/bin/doxygen
checking for dot... no
checking whether to build documentation... no
configure: checking required package dependencies
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for ANSI C header files... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for strlcpy... (cached) no
checking for strlcat... (cached) no
checking for strnlen... (cached) no
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/openthread/Makefile
config.status: creating include/openthread/platform/Makefile
config.status: creating src/Makefile
config.status: creating src/cli/Makefile
config.status: creating src/ncp/Makefile
config.status: creating src/core/Makefile
config.status: creating src/diag/Makefile
config.status: creating src/posix/Makefile
config.status: creating src/posix/platform/Makefile
config.status: creating third_party/Makefile
config.status: creating third_party/jlink/Makefile
config.status: creating third_party/mbedtls/Makefile
config.status: creating examples/Makefile
config.status: creating examples/apps/Makefile
config.status: creating examples/apps/cli/Makefile
config.status: creating examples/apps/ncp/Makefile
config.status: creating examples/platforms/Makefile
config.status: creating examples/platforms/cc1352/Makefile
config.status: creating examples/platforms/cc2538/Makefile
config.status: creating examples/platforms/cc2650/Makefile
config.status: creating examples/platforms/cc2652/Makefile
config.status: creating examples/platforms/da15000/Makefile
config.status: creating examples/platforms/efr32/Makefile
config.status: creating examples/platforms/emsk/Makefile
config.status: creating examples/platforms/gp712/Makefile
config.status: creating examples/platforms/kw41z/Makefile
config.status: creating examples/platforms/nrf52840/Makefile
config.status: creating examples/platforms/samr21/Makefile
config.status: creating examples/platforms/posix/Makefile
config.status: creating examples/platforms/utils/Makefile
config.status: creating tools/Makefile
config.status: creating tools/harness-automation/Makefile
config.status: creating tools/harness-thci/Makefile
config.status: creating tools/spi-hdlc-adapter/Makefile
config.status: creating tests/Makefile
config.status: creating tests/fuzz/Makefile
config.status: creating tests/scripts/Makefile
config.status: creating tests/scripts/thread-cert/Makefile
config.status: creating tests/unit/Makefile
config.status: creating doc/Makefile
config.status: creating include/openthread-config-generic.h
config.status: include/openthread-config-generic.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --with-platform-info
configure:

  Configuration Summary
  ---------------------
  Package                                   : OPENTHREAD
  Version                                   : 20180926-00328-gf9d757a1
  Interface                                 : 0.0.5
  Build system                              : x86_64-unknown-linux-gnu
  Host system                               : arm-none-eabi
  Host architecture                         : arm
  Host OS                                   : eabi
  Cross compiling                           : yes
  Build shared libraries                    : no
  Build static libraries                    : yes
  Build debug libraries                     : no
  Build optimized libraries                 : yes
  Build coverage libraries                  : no
  Build coverage reports                    : no
  Address sanitizer support                 : no
  Lcov                                      : -
  Genhtml                                   : -
  Build tests                               : yes
  Build fuzz targets                        : no
  Build tools                               : yes
  OpenThread tests                          : 
  Prefix                                    : /
  Documentation support                     : no
  Doxygen                                   : /usr/bin/doxygen
  GraphViz dot                              : -
  C Preprocessor                            : /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc -E
  C Compiler                                : ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc
  C++ Preprocessor                          : ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-g++ -E
  C++ Compiler                              : ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-g++
  Assembler Compiler                        : ccache /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc
  Archiver                                  : /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-ar
  Archive Indexer                           : ranlib
  Symbol Stripper                           : /home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-strip
  Object Copier                             : objcopy
  C Preprocessor flags                      : -DKERNEL -D__ZEPHYR__=1 -D_FORTIFY_SOURCE=2 -DBUILD_VERSION=zephyr-v1.14.0-1268-ga658cf1536ad -DNRF_802154_IRQ_PRIORITY=1 -DNRF_802154_INTERNAL_RADIO_IRQ_HANDLING=0 -DNRF_802154_USE_RAW_API=1 -DNRF_802154_PENDING_SHORT_ADDRESSES=16 -DNRF_802154_PENDING_EXTENDED_ADDRESSES=16 -DNRF_802154_RX_BUFFERS=8 -DNRF_802154_CCA_MODE_DEFAULT=NRF_RADIO_CCA_MODE_ED -DNRF_802154_CCA_CORR_LIMIT_DEFAULT=2 -DNRF_802154_CCA_CORR_THRESHOLD_DEFAULT=45 -DNRF_802154_CCA_ED_THRESHOLD_DEFAULT=45 -DNRF_802154_CSMA_CA_ENABLED=0 -DNRF_802154_ACK_TIMEOUT_ENABLED=0 -DNRF_802154_FRAME_TIMESTAMP_ENABLED=0 -DNRF_802154_DELAYED_TRX_ENABLED=0 -DNRF_802154_TX_STARTED_NOTIFY_ENABLED=0 -DNRF52840_XXAA -DOPENTHREAD_CONFIG_LOG_LEVEL=1 -DOPENTHREAD_PROJECT_CORE_CONFIG_FILE=\"openthread-core-zephyr-config.h\" -I/home/<USERNAME>/zephyrproject/zephyr/subsys/net/lib/openthread/platform -I/home/<USERNAME>/zephyrproject/zephyr/kernel/include -I/home/<USERNAME>/zephyrproject/zephyr/arch/arm/include -I/home/<USERNAME>/zephyrproject/zephyr/include -I/home/<USERNAME>/zephyrproject/zephyr/include/drivers -I/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/include/generated -I/home/<USERNAME>/zephyrproject/zephyr/soc/arm/nordic_nrf/nrf52 -I/home/<USERNAME>/zephyrproject/zephyr/soc/arm/nordic_nrf/include -I/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/../lib/gcc/arm-none-eabi/8.2.1/include -I/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/../lib/gcc/arm-none-eabi/8.2.1/include-fixed -I/home/<USERNAME>/zephyrproject/zephyr/lib/libc/minimal/include -I/home/<USERNAME>/zephyrproject/zephyr/soc/arm/nordic_nrf/include -I/home/<USERNAME>/zephyrproject/zephyr/ext/lib/fnmatch/. -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/cmsis/Include -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/drivers/nrf_radio_802154/. -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/drivers/nrf_radio_802154/rsch -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/drivers/nrf_radio_802154/rsch/raal -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/nrfx -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/nrfx/drivers/include -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/nrfx/hal -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/nrfx/mdk -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/. -I/home/<USERNAME>/zephyrproject/zephyr/subsys/net/lib/sockets/. -isystem/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/../lib/gcc/arm-none-eabi/8.2.1/include -isystem/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/../lib/gcc/arm-none-eabi/8.2.1/include-fixed -DMBEDTLS_CONFIG_FILE='"mbedtls-config.h"' -DMBEDTLS_USER_CONFIG_FILE='"/home/<USERNAME>/zephyrproject/zephyr/subsys/net/lib/openthread/zephyr-mbedtls-config.h"' -I/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/ext_proj/Source/ot/third_party/mbedtls -I/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/ext_proj/Source/ot/third_party/mbedtls/repo/include -I/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/ext_proj/Source/ot/third_party/mbedtls/repo/include/mbedtls 
  C Compile flags                           : -Og -nostdinc -g -imacros /home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -mthumb -mcpu=cortex-m4 -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/home/<USERNAME>/zephyrproject/zephyr=. -ffunction-sections -fdata-sections -mabi=aapcs -march=armv7e-m -DOPENTHREAD_CONFIG_LOG_LEVEL=1 -DOPENTHREAD_PROJECT_CORE_CONFIG_FILE=\"openthread-core-zephyr-config.h\" -I/home/<USERNAME>/zephyrproject/zephyr/subsys/net/lib/openthread/platform -I/home/<USERNAME>/zephyrproject/zephyr/kernel/include -I/home/<USERNAME>/zephyrproject/zephyr/arch/arm/include -I/home/<USERNAME>/zephyrproject/zephyr/include -I/home/<USERNAME>/zephyrproject/zephyr/include/drivers -I/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/include/generated -I/home/<USERNAME>/zephyrproject/zephyr/soc/arm/nordic_nrf/nrf52 -I/home/<USERNAME>/zephyrproject/zephyr/soc/arm/nordic_nrf/include -I/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/../lib/gcc/arm-none-eabi/8.2.1/include -I/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/../lib/gcc/arm-none-eabi/8.2.1/include-fixed -I/home/<USERNAME>/zephyrproject/zephyr/lib/libc/minimal/include -I/home/<USERNAME>/zephyrproject/zephyr/soc/arm/nordic_nrf/include -I/home/<USERNAME>/zephyrproject/zephyr/ext/lib/fnmatch/. -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/cmsis/Include -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/drivers/nrf_radio_802154/. -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/drivers/nrf_radio_802154/rsch -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/drivers/nrf_radio_802154/rsch/raal -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/nrfx -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/nrfx/drivers/include -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/nrfx/hal -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/nrfx/mdk -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/. -I/home/<USERNAME>/zephyrproject/zephyr/subsys/net/lib/sockets/. -isystem/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/../lib/gcc/arm-none-eabi/8.2.1/include -isystem/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/../lib/gcc/arm-none-eabi/8.2.1/include-fixed -Wall -Wextra -Wshadow -std=c99 -D_BSD_SOURCE=1 -D_DEFAULT_SOURCE=1
  C++ Compile flags                         : -Og -fcheck-new -std=c++11 -Wno-register -fno-exceptions -fno-rtti -nostdinc -g -imacros /home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -mthumb -mcpu=cortex-m4 -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wpointer-arith -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/home/<USERNAME>/zephyrproject/zephyr=. -ffunction-sections -fdata-sections -mabi=aapcs -march=armv7e-m -DOPENTHREAD_CONFIG_LOG_LEVEL=1 -DOPENTHREAD_PROJECT_CORE_CONFIG_FILE=\"openthread-core-zephyr-config.h\" -I/home/<USERNAME>/zephyrproject/zephyr/subsys/net/lib/openthread/platform -I/home/<USERNAME>/zephyrproject/zephyr/kernel/include -I/home/<USERNAME>/zephyrproject/zephyr/arch/arm/include -I/home/<USERNAME>/zephyrproject/zephyr/include -I/home/<USERNAME>/zephyrproject/zephyr/include/drivers -I/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/include/generated -I/home/<USERNAME>/zephyrproject/zephyr/soc/arm/nordic_nrf/nrf52 -I/home/<USERNAME>/zephyrproject/zephyr/soc/arm/nordic_nrf/include -I/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/../lib/gcc/arm-none-eabi/8.2.1/include -I/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/../lib/gcc/arm-none-eabi/8.2.1/include-fixed -I/home/<USERNAME>/zephyrproject/zephyr/lib/libc/minimal/include -I/home/<USERNAME>/zephyrproject/zephyr/soc/arm/nordic_nrf/include -I/home/<USERNAME>/zephyrproject/zephyr/ext/lib/fnmatch/. -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/cmsis/Include -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/drivers/nrf_radio_802154/. -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/drivers/nrf_radio_802154/rsch -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/drivers/nrf_radio_802154/rsch/raal -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/nrfx -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/nrfx/drivers/include -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/nrfx/hal -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/nrfx/mdk -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/. -I/home/<USERNAME>/zephyrproject/zephyr/subsys/net/lib/sockets/. -isystem/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/../lib/gcc/arm-none-eabi/8.2.1/include -isystem/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/../lib/gcc/arm-none-eabi/8.2.1/include-fixed -Wall -Wextra -Wshadow -std=gnu++98 -Wno-c++14-compat -fno-exceptions -fno-rtti -D_BSD_SOURCE=1 -D_DEFAULT_SOURCE=1
  Assembler flags                           : -Og -nostdinc -g -imacros /home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -mthumb -mcpu=cortex-m4 -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-unused-but-set-variable -Wno-error=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/home/<USERNAME>/zephyrproject/zephyr=. -ffunction-sections -fdata-sections -mabi=aapcs -march=armv7e-m -DOPENTHREAD_CONFIG_LOG_LEVEL=1 -DOPENTHREAD_PROJECT_CORE_CONFIG_FILE=\"openthread-core-zephyr-config.h\" -I/home/<USERNAME>/zephyrproject/zephyr/subsys/net/lib/openthread/platform -I/home/<USERNAME>/zephyrproject/zephyr/kernel/include -I/home/<USERNAME>/zephyrproject/zephyr/arch/arm/include -I/home/<USERNAME>/zephyrproject/zephyr/include -I/home/<USERNAME>/zephyrproject/zephyr/include/drivers -I/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/include/generated -I/home/<USERNAME>/zephyrproject/zephyr/soc/arm/nordic_nrf/nrf52 -I/home/<USERNAME>/zephyrproject/zephyr/soc/arm/nordic_nrf/include -I/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/../lib/gcc/arm-none-eabi/8.2.1/include -I/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/../lib/gcc/arm-none-eabi/8.2.1/include-fixed -I/home/<USERNAME>/zephyrproject/zephyr/lib/libc/minimal/include -I/home/<USERNAME>/zephyrproject/zephyr/soc/arm/nordic_nrf/include -I/home/<USERNAME>/zephyrproject/zephyr/ext/lib/fnmatch/. -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/cmsis/Include -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/drivers/nrf_radio_802154/. -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/drivers/nrf_radio_802154/rsch -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/drivers/nrf_radio_802154/rsch/raal -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/nrfx -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/nrfx/drivers/include -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/nrfx/hal -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/nrfx/mdk -I/home/<USERNAME>/zephyrproject/zephyr/ext/hal/nordic/. -I/home/<USERNAME>/zephyrproject/zephyr/subsys/net/lib/sockets/. -isystem/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/../lib/gcc/arm-none-eabi/8.2.1/include -isystem/home/<USERNAME>/zephyrproject/gcc-arm-none-eabi-8-2018-q4-major/bin/../lib/gcc/arm-none-eabi/8.2.1/include-fixed
  Link flags                                : ""
  Link libraries                            :  
  Link maps                                 : no
  Pretty                                    : ${abs_top_srcdir}/script/clang-format.sh
  Pretty args                               : -style=file -i
  Pretty check                              : ${abs_top_srcdir}/script/clang-format-check.sh
  Pretty check args                         : -
  OpenThread FTD support                    : yes
  OpenThread MTD support                    : no
  OpenThread Radio Only support             : no
  OpenThread CLI support                    : yes
  OpenThread NCP support                    : no
  OpenThread NCP-BUS Configuration          : 
  OpenThread NCP Vendor Hook Source         : none
  OpenThread NCP Spinel Encrypter           : none
  OpenThread Vendor Extension Source        : none
  OpenThread Multiple Instances support     : no
  OpenThread MTD Network Diagnostic support : no
  OpenThread builtin mbedtls support        : yes
  OpenThread UDP forward support            : no
  OpenThread Commissioner support           : no
  OpenThread Joiner support                 : no
  OpenThread DTLS support                   : no
  OpenThread Jam Detection support          : no
  OpenThread Channel Monitor support        : no
  OpenThread Channel Manager support        : no
  OpenThread MAC Filter support             : no
  OpenThread Diagnostics support            : no
  OpenThread Child Supervision support      : no
  OpenThread Legacy network support         : no
  OpenThread Certification log support      : no
  OpenThread DHCPv6 Server support          : no
  OpenThread DHCPv6 Client support          : no
  OpenThread DNS Client support             : no
  OpenThread SNTP Client support            : no
  OpenThread Application CoAP support       : no
  OpenThread Application CoAP Secure support: no
  OpenThread Raw Link-Layer support         : no
  OpenThread Border Agent support           : no
  OpenThread Border Router support          : no
  OpenThread Service support                : no
  OpenThread ECDSA support                  : no
  OpenThread Examples                       : none
  OpenThread POSIX Application              : no

[114/216] Performing build step for 'ot'
  CHECK    .local-version
make --no-print-directory all-recursive
Making all in include
make  all-recursive
Making all in openthread
Making all in platform
make[5]: Nothing to be done for 'all'.
make[5]: Nothing to be done for 'all-am'.
Making all in third_party
Making all in mbedtls
make[3]: Nothing to be done for 'all'.
make[3]: Nothing to be done for 'all-am'.
Making all in src
Making all in core
make[3]: Nothing to be done for 'all'.
Making all in cli
make[3]: Nothing to be done for 'all'.
make[3]: Nothing to be done for 'all-am'.
Making all in examples
Making all in platforms
Making all in utils
make[4]: Nothing to be done for 'all'.
make[4]: Nothing to be done for 'all-am'.
make[3]: Nothing to be done for 'all-am'.
Making all in tests
make[3]: Nothing to be done for 'all-am'.
Making all in tools
make[3]: Nothing to be done for 'all-am'.
Making all in doc
make[2]: Nothing to be done for 'all'.
make[2]: Nothing to be done for 'all-am'.
[115/216] Performing install step for 'ot'
  CHECK    .local-version
make --no-print-directory install-recursive
Making install in include
Making install in openthread
Making install in platform
make[5]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/ext_proj/Install/ot//include/openthread/platform'
 /usr/bin/install -p -m 644 alarm-micro.h alarm-milli.h ble.h diag.h memory.h misc.h logging.h radio.h random.h time.h uart.h udp.h spi-slave.h settings.h messagepool.h toolchain.h '/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/ext_proj/Install/ot//include/openthread/platform'
make[5]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/ext_proj/Install/ot//include/openthread'
 /usr/bin/install -p -m 644 channel_manager.h channel_monitor.h child_supervision.h cli.h coap_secure.h coap.h commissioner.h config.h crypto.h border_agent.h border_router.h dataset.h dataset_ftd.h diag.h dns.h error.h icmp6.h instance.h ip6.h jam_detection.h joiner.h link.h link_raw.h logging.h message.h ncp.h netdata.h network_time.h server.h sntp.h tasklet.h thread.h thread_ftd.h udp.h '/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/ext_proj/Install/ot//include/openthread'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
Making install in third_party
Making install in mbedtls
make[4]: Nothing to be done for 'install-data-am'.
 /bin/mkdir -p '/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/ext_proj/Install/ot/zephyr/lib'
 /usr/bin/install -p -m 644  libmbedcrypto.a '/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/ext_proj/Install/ot/zephyr/lib'
 ( cd '/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/ext_proj/Install/ot/zephyr/lib' && ranlib libmbedcrypto.a )
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
Making install in src
Making install in core
make[4]: Nothing to be done for 'install-data-am'.
 /bin/mkdir -p '/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/ext_proj/Install/ot/zephyr/lib'
 /usr/bin/install -p -m 644  libopenthread-ftd.a '/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/ext_proj/Install/ot/zephyr/lib'
 ( cd '/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/ext_proj/Install/ot/zephyr/lib' && ranlib libopenthread-ftd.a )
Making install in cli
make[4]: Nothing to be done for 'install-data-am'.
 /bin/mkdir -p '/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/ext_proj/Install/ot/zephyr/lib'
 /usr/bin/install -p -m 644  libopenthread-cli-ftd.a '/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/ext_proj/Install/ot/zephyr/lib'
 ( cd '/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/ext_proj/Install/ot/zephyr/lib' && ranlib libopenthread-cli-ftd.a )
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
Making install in examples
Making install in platforms
Making install in utils
make[5]: Nothing to be done for 'install-data-am'.
 /bin/mkdir -p '/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/ext_proj/Install/ot/zephyr/lib'
 /usr/bin/install -p -m 644  libopenthread-platform-utils.a '/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/ext_proj/Install/ot/zephyr/lib'
 ( cd '/home/<USERNAME>/zephyrproject/zephyr/samples/net/sockets/echo_client_build/zephyr/ext_proj/Install/ot/zephyr/lib' && ranlib libopenthread-platform-utils.a )
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
Making install in tests
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
Making install in tools
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
Making install in doc
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Nothing to be done for 'install-exec-am'.
[116/216] Completed 'ot'
[117/216] Building C object zephyr/CMakeFiles/zephyr_prebuilt.dir/misc/empty_file.c.obj
[118/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[119/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[120/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[121/216] Building C object zephyr/CMakeFiles/zephyr.dir/arch/common/sw_isr_common.c.obj
[122/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[123/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mempool.c.obj
[124/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[125/216] Building C object zephyr/CMakeFiles/zephyr.dir/arch/common/isr_tables.c.obj
[126/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[127/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[128/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/work_q.c.obj
[129/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[130/216] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[131/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/lib/fnmatch/fnmatch.c.obj
[132/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/nrf_802154_ack_pending_bit.c.obj
[133/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[134/216] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/nrf52/soc.c.obj
[135/216] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/nrf52/power.c.obj
[136/216] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/nrf52/mpu_regions.c.obj
[137/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/nrf_802154_core.c.obj
[138/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/nrf_802154_core_hooks.c.obj
[139/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/nrf_802154_critical_section.c.obj
[140/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/nrf_802154_priority_drop_direct.c.obj
[141/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/nrf_802154_revision.c.obj
[142/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/nrf_802154_debug.c.obj
[143/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/nrf_802154_notification_direct.c.obj
[144/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/nrf_802154_pib.c.obj
[145/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/nrf_802154_rssi.c.obj
[146/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/nrf_802154_request_direct.c.obj
[147/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/nrf_802154_rx_buffer.c.obj
[148/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/nrf_802154.c.obj
[149/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/nrf_802154_timer_coord.c.obj
[150/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/platform/temperature/nrf_802154_temperature_none.c.obj
[151/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/mac_features/nrf_802154_filter.c.obj
[152/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/platform/lp_timer/nrf_802154_lp_timer_zephyr.c.obj
[153/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/platform/clock/nrf_802154_clock_zephyr.c.obj
[154/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/rsch/raal/single_phy/single_phy.c.obj
[155/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/rsch/nrf_802154_rsch.c.obj
[156/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/rsch/nrf_802154_rsch_crit_sect.c.obj
[157/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/drivers/nrf_radio_802154/timer_scheduler/nrf_802154_timer_sched.c.obj
[158/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/nrfx/mdk/system_nrf52840.c.obj
[159/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/nrfx_glue.c.obj
[160/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_list.c.obj
[161/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
[162/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
[163/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
[164/216] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/nordic/nrfx/drivers/src/nrfx_nvmc.c.obj
[165/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
[166/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
[167/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
[168/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
[169/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_uart.c.obj
[170/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/cpp/cpp_virtual.c.obj
[171/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
[172/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
[173/216] Building CXX object zephyr/CMakeFiles/zephyr.dir/subsys/cpp/cpp_vtable.cpp.obj
[174/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/cpp/cpp_ctors.c.obj
[175/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
[176/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
[177/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/cpp/cpp_dtors.c.obj
[178/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
[179/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
[180/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/cpp/cpp_init_array.c.obj
[181/216] Building CXX object zephyr/CMakeFiles/zephyr.dir/subsys/cpp/cpp_new.cpp.obj
[182/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/utils/addr_utils.c.obj
[183/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/getaddrinfo.c.obj
[184/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/getnameinfo.c.obj
[185/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/sockets.c.obj
[186/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/sockets_select.c.obj
[187/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/sockets_misc.c.obj
[188/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/random/rand32_entropy_device.c.obj
[189/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/power.c.obj
[190/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/reboot.c.obj
[191/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/policy/policy_residency.c.obj
[192/216] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/console/uart_console.c.obj
[193/216] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/clock_control/nrf_power_clock.c.obj
[194/216] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/ieee802154/ieee802154_nrf5.c.obj
[195/216] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/sys_clock_init.c.obj
[196/216] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/nrf_rtc_timer.c.obj
[197/216] Building C object zephyr/subsys/net/lib/openthread/platform/CMakeFiles/openthread_platform.dir/alarm.c.obj
[198/216] Building C object zephyr/subsys/net/lib/openthread/platform/CMakeFiles/openthread_platform.dir/logging.c.obj
[199/216] Building C object zephyr/subsys/net/lib/openthread/platform/CMakeFiles/openthread_platform.dir/flash.c.obj
[200/216] Building C object zephyr/subsys/net/lib/openthread/platform/CMakeFiles/openthread_platform.dir/platform.c.obj
[201/216] Building C object zephyr/subsys/net/l2/openthread/CMakeFiles/subsys__net__ip__l2__openthread.dir/openthread_utils.c.obj
[202/216] Building C object zephyr/subsys/net/lib/openthread/platform/CMakeFiles/openthread_platform.dir/random.c.obj
[203/216] Building C object zephyr/subsys/net/l2/openthread/CMakeFiles/subsys__net__ip__l2__openthread.dir/openthread.c.obj
[204/216] Building C object zephyr/subsys/net/lib/openthread/platform/CMakeFiles/openthread_platform.dir/radio.c.obj
[205/216] Building C object zephyr/subsys/net/lib/openthread/platform/CMakeFiles/openthread_platform.dir/misc.c.obj
[206/216] Building C object zephyr/subsys/net/lib/openthread/platform/CMakeFiles/openthread_platform.dir/spi.c.obj
[207/216] Building C object zephyr/subsys/net/lib/openthread/platform/CMakeFiles/openthread_platform.dir/shell.c.obj
[208/216] Linking C static library zephyr/subsys/net/l2/openthread/libsubsys__net__ip__l2__openthread.a
[209/216] Linking C static library zephyr/subsys/net/lib/openthread/platform/libopenthread_platform.a
[210/216] Linking CXX static library zephyr/libzephyr.a
[211/216] Linking CXX executable zephyr/zephyr_prebuilt.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:      265164 B         1 MB     25.29%
            SRAM:       84280 B       256 KB     32.15%
        IDT_LIST:         104 B         2 KB      5.08%
[212/216] Generating linker_pass_final.cmd
[213/216] Generating isr_tables.c
[214/216] Building C object zephyr/CMakeFiles/zephyr_final.dir/misc/empty_file.c.obj
[215/216] Building C object zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj
[216/216] Linking CXX executable zephyr/zephyr.elf

11:56:17 Build Failed. 2 errors, 0 warnings. (took 31s.795ms)

Environment:

Additional Information:

carlescufi commented 5 years ago

@GeeseHoward thanks for the report. Would it be possible for you to bisect this to find out which commit introduced the error?

GeeseHoward commented 5 years ago

@carlescufi I quickly tried going back a few commits and the error is still reproducing. Going too far back starts giving me different errors entirely. I will keep trying. One question: When you build an application with OpenThread the build system clones the OpenThread project as well. The files which are highlighted in red during the build are all located in the OpenThread project. Does this imply that the error is with OpenThread and not with Zephyr?

carlescufi commented 5 years ago

One question: When you build an application with OpenThread the build system clones the OpenThread project as well. The files which are highlighted in red during the build are all located in the OpenThread project. Does this imply that the error is with OpenThread and not with Zephyr?

It is likely, yes. But without more feedback from the experts on OpenThread I cannot say for sure.

rlubos commented 5 years ago

So these two are indeed autotools reports, which OpenThread uses:

configure.ac:198: installing 'third_party/nlbuild-autotools/repo/third_party/autoconf/compile'
configure.ac:114: installing 'third_party/nlbuild-autotools/repo/third_party/autoconf/missing'

I don't see though why are they treated as errors. Possibly Eclipse simply misinterprets the results? All in all, there are two different build systems running for one project.

All other semantic errors refer to Zephyrs symbols - most likely an issue with Eclipse configuration. I haven't been using Eclipse with Zephyr for some time now so I won't be much help here.

carlescufi commented 5 years ago

Those are really not errors @GeeseHoward. They are just autotools reporting installation of tools, this is probably Eclipse just being confused.

I reproduced them when building from the command-line, so this is just autotools displaying something.

GeeseHoward commented 5 years ago

Those are really not errors @GeeseHoward. They are just autotools reporting installation of tools, this is probably Eclipse just being confused.

I reproduced them when building from the command-line, so this is just autotools displaying something.

I see. Thank you for clarifying this!