Skip to content

Instantly share code, notes, and snippets.

@jadonk
Created September 27, 2019 20:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jadonk/d91cf933a78f1f7fe1b81e3778b30743 to your computer and use it in GitHub Desktop.
Save jadonk/d91cf933a78f1f7fe1b81e3778b30743 to your computer and use it in GitHub Desktop.
jkridner@tupper:~/beagledust/sw/zephyrproject/zephyr$ west build --pristine -b beagledust samples/subsys/greybus
-- west build: making build dir /home/jkridner/beagledust/sw/zephyrproject/zephyr/build pristine
-- west build: build configuration:
source directory: /home/jkridner/beagledust/sw/zephyrproject/zephyr/samples/subsys/greybus
build directory: /home/jkridner/beagledust/sw/zephyrproject/zephyr/build
BOARD: beagledust (origin: command line)
-- west build: generating a build system
Zephyr version: 2.0.99
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.8", minimum required is "3.4")
-- Selected BOARD beagledust
-- Found west: /home/jkridner/.local/bin/west (found suitable version "0.6.1", minimum required is "0.6.0")
-- Loading /home/jkridner/beagledust/sw/zephyrproject/zephyr/boards/arm/beagledust/beagledust.dts as base
-- Overlaying /home/jkridner/beagledust/sw/zephyrproject/zephyr/dts/common/common.dts
Device tree configuration written to /home/jkridner/beagledust/sw/zephyrproject/zephyr/build/zephyr/include/generated/generated_dts_board.conf
Parsing Kconfig tree in /home/jkridner/beagledust/sw/zephyrproject/zephyr/Kconfig
Loaded configuration '/home/jkridner/beagledust/sw/zephyrproject/zephyr/boards/arm/beagledust/beagledust_defconfig'
Merged configuration '/home/jkridner/beagledust/sw/zephyrproject/zephyr/samples/subsys/greybus/prj.conf'
Configuration saved to '/home/jkridner/beagledust/sw/zephyrproject/zephyr/build/zephyr/.config'
-- Cache files will be written to: /home/jkridner/.cache/zephyr
-- The C compiler identification is GNU 8.3.1
-- The CXX compiler identification is GNU 8.3.1
-- The ASM compiler identification is GNU
-- Found assembler: /opt/arm/gcc-arm-none-eabi-8-2019-q3-update/bin/arm-none-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jkridner/beagledust/sw/zephyrproject/zephyr/build
-- west build: building application
[1/136] Preparing syscall dependency handling
[54/136] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/cc13x2_cc26x2_rtc_timer.c.obj
FAILED: zephyr/CMakeFiles/zephyr.dir/drivers/timer/cc13x2_cc26x2_rtc_timer.c.obj
ccache /opt/arm/gcc-arm-none-eabi-8-2019-q3-update/bin/arm-none-eabi-gcc -DBUILD_VERSION=v2.0.0-rc3-1508-g19f3277dd5c7 -DKERNEL -D__ZEPHYR__=1 -I../kernel/include -I../arch/arm/include -I../include -I../include/drivers -Izephyr/include/generated -I../soc/arm/ti_simplelink/cc13x2_cc26x2 -I../ext/hal/cmsis/Include -I/home/jkridner/beagledust/sw/zephyrproject/modules/hal/ti/simplelink/source/ti/devices/cc13x2_cc26x2/. -isystem ../lib/libc/minimal/include -isystem /opt/arm/gcc-arm-none-eabi-8-2019-q3-update/bin/../lib/gcc/arm-none-eabi/8.3.1/include -isystem /opt/arm/gcc-arm-none-eabi-8-2019-q3-update/bin/../lib/gcc/arm-none-eabi/8.3.1/include-fixed -O0 -imacros/home/jkridner/beagledust/sw/zephyrproject/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mthumb -mcpu=cortex-m4 -imacros/home/jkridner/beagledust/sw/zephyrproject/zephyr/include/toolchain/zephyr_stdint.h -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/jkridner/beagledust/sw/zephyrproject/zephyr/samples/subsys/greybus=CMAKE_SOURCE_DIR -fmacro-prefix-map=/home/jkridner/beagledust/sw/zephyrproject/zephyr=ZEPHYR_BASE -ffunction-sections -fdata-sections -mabi=aapcs -march=armv7e-m -std=c99 -nostdinc -MD -MT zephyr/CMakeFiles/zephyr.dir/drivers/timer/cc13x2_cc26x2_rtc_timer.c.obj -MF zephyr/CMakeFiles/zephyr.dir/drivers/timer/cc13x2_cc26x2_rtc_timer.c.obj.d -o zephyr/CMakeFiles/zephyr.dir/drivers/timer/cc13x2_cc26x2_rtc_timer.c.obj -c /home/jkridner/beagledust/sw/zephyrproject/zephyr/drivers/timer/cc13x2_cc26x2_rtc_timer.c
In file included from ../include/arch/arm/irq.h:18,
from ../include/arch/arm/arch.h:26,
from ../include/arch/cpu.h:17,
from ../include/kernel_includes.h:34,
from ../include/kernel.h:17,
from ../include/device.h:11,
from ../include/drivers/clock_control.h:14,
from /home/jkridner/beagledust/sw/zephyrproject/zephyr/drivers/timer/cc13x2_cc26x2_rtc_timer.c:17:
/home/jkridner/beagledust/sw/zephyrproject/zephyr/drivers/timer/cc13x2_cc26x2_rtc_timer.c: In function 'z_clock_driver_init':
/home/jkridner/beagledust/sw/zephyrproject/zephyr/drivers/timer/cc13x2_cc26x2_rtc_timer.c:193:14: error: 'DT_INST_0_TI_CC13XX_CC26XX_RTC_IRQ_0' undeclared (first use in this function); did you mean 'DT_INST_0_TI_CC13XX_CC26XX_I2C_IRQ_0'?
IRQ_CONNECT(DT_INST_0_TI_CC13XX_CC26XX_RTC_IRQ_0,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/sw_isr_table.h:70:5: note: in definition of macro 'Z_ISR_DECLARE'
{irq, flags, &func, (void *)param}
^~~
../include/irq.h:51:2: note: in expansion of macro 'Z_ARCH_IRQ_CONNECT'
Z_ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p)
^~~~~~~~~~~~~~~~~~
/home/jkridner/beagledust/sw/zephyrproject/zephyr/drivers/timer/cc13x2_cc26x2_rtc_timer.c:193:2: note: in expansion of macro 'IRQ_CONNECT'
IRQ_CONNECT(DT_INST_0_TI_CC13XX_CC26XX_RTC_IRQ_0,
^~~~~~~~~~~
/home/jkridner/beagledust/sw/zephyrproject/zephyr/drivers/timer/cc13x2_cc26x2_rtc_timer.c:193:14: note: each undeclared identifier is reported only once for each function it appears in
IRQ_CONNECT(DT_INST_0_TI_CC13XX_CC26XX_RTC_IRQ_0,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/sw_isr_table.h:70:5: note: in definition of macro 'Z_ISR_DECLARE'
{irq, flags, &func, (void *)param}
^~~
../include/irq.h:51:2: note: in expansion of macro 'Z_ARCH_IRQ_CONNECT'
Z_ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p)
^~~~~~~~~~~~~~~~~~
/home/jkridner/beagledust/sw/zephyrproject/zephyr/drivers/timer/cc13x2_cc26x2_rtc_timer.c:193:2: note: in expansion of macro 'IRQ_CONNECT'
IRQ_CONNECT(DT_INST_0_TI_CC13XX_CC26XX_RTC_IRQ_0,
^~~~~~~~~~~
In file included from ../include/arch/arm/arch.h:26,
from ../include/arch/cpu.h:17,
from ../include/kernel_includes.h:34,
from ../include/kernel.h:17,
from ../include/device.h:11,
from ../include/drivers/clock_control.h:14,
from /home/jkridner/beagledust/sw/zephyrproject/zephyr/drivers/timer/cc13x2_cc26x2_rtc_timer.c:17:
/home/jkridner/beagledust/sw/zephyrproject/zephyr/drivers/timer/cc13x2_cc26x2_rtc_timer.c:194:3: error: 'DT_INST_0_TI_CC13XX_CC26XX_RTC_IRQ_0_PRIORITY' undeclared (first use in this function); did you mean 'DT_INST_0_TI_CC13XX_CC26XX_I2C_IRQ_0_PRIORITY'?
DT_INST_0_TI_CC13XX_CC26XX_RTC_IRQ_0_PRIORITY,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/arch/arm/irq.h:93:28: note: in definition of macro 'Z_ARCH_IRQ_CONNECT'
z_irq_priority_set(irq_p, priority_p, flags_p); \
^~~~~~~~~~
/home/jkridner/beagledust/sw/zephyrproject/zephyr/drivers/timer/cc13x2_cc26x2_rtc_timer.c:193:2: note: in expansion of macro 'IRQ_CONNECT'
IRQ_CONNECT(DT_INST_0_TI_CC13XX_CC26XX_RTC_IRQ_0,
^~~~~~~~~~~
[63/136] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
ninja: build stopped: subcommand failed.
ERROR: command exited with status 1: /usr/local/bin/cmake --build /home/jkridner/beagledust/sw/zephyrproject/zephyr/build
jkridner@tupper:~/beagledust/sw/zephyrproject/zephyr$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment