Skip to content

Instantly share code, notes, and snippets.

@tridge
Created September 11, 2021 09:29
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 tridge/3ab7d1e453115478cf30f82c75491547 to your computer and use it in GitHub Desktop.
Save tridge/3ab7d1e453115478cf30f82c75491547 to your computer and use it in GitHub Desktop.
======================================================================
FAIL: demos/various/RT-Posix-Simulator/Makefile (make all)
----------------------------------------------------------------------
CMD: /usr/bin/env make -C /home/tridge/project/UAV/APM.chibios/modules/ChibiOS/demos/various/RT-Posix-Simulator -f Makefile all
STDOUT:
make[1]: Entering directory '/home/tridge/project/UAV/APM.chibios/modules/ChibiOS/demos/various/RT-Posix-Simulator'
Compiler Options
gcc -c -O2 -ggdb -m32 -ffunction-sections -fdata-sections -fno-common -Wall -Wextra -Wundef -Wstrict-prototypes -Wa,-alms=./build/lst/ -DSIMULATOR -DTEST_CFG_SIZE_REPORT=0 -MD -MP -MF ./.dep/build.d -I. -I./cfg -I../../../os/license -I../../../os/hal/include -I../../../os/hal/boards/simulator -I../../../os/hal/ports/simulator/posix -I../../../os/hal/ports/simulator -I../../../os/hal/osal/rt-nil -I../../../os/rt/include -I../../../os/oslib/include -I../../../os/common/portability/GCC -I../../../os/common/ports/SIMIA32/compilers/GCC -I../../../os/common/ports/SIMIA32 -I../../../os/hal/lib/streams -I../../../os/various/shell -I../../../os/test/include -I../../../test/rt/source/test -I../../../test/oslib/source/test main.c -o main.o
Compiling hal.c
make[1]: Leaving directory '/home/tridge/project/UAV/APM.chibios/modules/ChibiOS/demos/various/RT-Posix-Simulator'
STDERR:
In file included from /usr/include/sys/socket.h:33,
from ../../../os/hal/ports/simulator/posix/hal_lld.h:32,
from ../../../os/hal/include/hal.h:33,
from ../../../os/hal/src/hal.c:25:
/usr/include/bits/socket.h:354:11: fatal error: asm/socket.h: No such file or directory
354 | # include <asm/socket.h>
| ^~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [../../../os/common/startup/SIMIA32/compilers/GCC/rules.mk:147: build/obj/hal.o] Error 1
======================================================================
FAIL: testhal/STM32/STM32F4xx/IRQ_STORM/Makefile (make all)
----------------------------------------------------------------------
CMD: /usr/bin/env make -C /home/tridge/project/UAV/APM.chibios/modules/ChibiOS/testhal/STM32/STM32F4xx/IRQ_STORM -f Makefile all
STDOUT:
make[1]: Entering directory '/home/tridge/project/UAV/APM.chibios/modules/ChibiOS/testhal/STM32/STM32F4xx/IRQ_STORM'
Compiler Options
arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -ffunction-sections -fdata-sections -fno-common -flto -Wall -Wextra -Wundef -Wstrict-prototypes -Wa,-alms=build/lst/ -DCORTEX_USE_FPU=FALSE -MD -MP -MF .dep/build.d -I. -I../../../../os/license -I../../../../os/common/portability/GCC -I../../../../os/common/startup/ARMCMx/compilers/GCC -I../../../../os/common/startup/ARMCMx/devices/STM32F4xx -I../../../../os/common/ext/ARM/CMSIS/Core/Include -I../../../../os/common/ext/ST/STM32F4xx -I../../../../os/hal/include -I../../../../os/hal/ports/common/ARMCMx -I../../../../os/hal/ports/STM32/STM32F4xx -I../../../../os/hal/ports/STM32/LLD/ADCv2 -I../../../../os/hal/ports/STM32/LLD/CANv1 -I../../../../os/hal/ports/STM32/LLD/CRYPv1 -I../../../../os/hal/ports/STM32/LLD/DACv1 -I../../../../os/hal/ports/STM32/LLD/DMAv2 -I../../../../os/hal/ports/STM32/LLD/EXTIv1 -I../../../../os/hal/ports/STM32/LLD/GPIOv2 -I../../../../os/hal/ports/STM32/LLD/I2Cv1 -I../../../../os/hal/ports/STM32/LLD/MACv1 -I../../../../os/hal/ports/STM32/LLD/OTGv1 -I../../../../os/hal/ports/STM32/LLD/QUADSPIv1 -I../../../../os/hal/ports/STM32/LLD/RTCv2 -I../../../../os/hal/ports/STM32/LLD/SPIv1 -I../../../../os/hal/ports/STM32/LLD/SDIOv1 -I../../../../os/hal/ports/STM32/LLD/SYSTICKv1 -I../../../../os/hal/ports/STM32/LLD/TIMv1 -I../../../../os/hal/ports/STM32/LLD/USART -I../../../../os/hal/ports/STM32/LLD/USARTv1 -I../../../../os/hal/ports/STM32/LLD/xWDGv1 -I../../../../os/hal/boards/ST_STM32F4_DISCOVERY -I../../../../os/hal/osal/rt-nil -I../../../../os/rt/include -I../../../../os/oslib/include -I../../../../os/common/portability/GCC -I../../../../os/common/ports/ARM-common -I../../../../os/common/ports/ARMv7-M -I../../../../os/hal/lib/streams -I../../../../testhal/common main.c -o main.o
make[1]: Leaving directory '/home/tridge/project/UAV/APM.chibios/modules/ChibiOS/testhal/STM32/STM32F4xx/IRQ_STORM'
STDERR:
make[1]: *** No rule to make target 'irq_storm.c', needed by 'build/obj/irq_storm.o'. Stop.
make[1]: *** Waiting for unfinished jobs....
======================================================================
FAIL: testhal/STM32/STM32F3xx/IRQ_STORM/Makefile (make all)
----------------------------------------------------------------------
CMD: /usr/bin/env make -C /home/tridge/project/UAV/APM.chibios/modules/ChibiOS/testhal/STM32/STM32F3xx/IRQ_STORM -f Makefile all
STDOUT:
make[1]: Entering directory '/home/tridge/project/UAV/APM.chibios/modules/ChibiOS/testhal/STM32/STM32F3xx/IRQ_STORM'
Compiler Options
arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -ffunction-sections -fdata-sections -fno-common -flto -Wall -Wextra -Wundef -Wstrict-prototypes -Wa,-alms=build/lst/ -DCORTEX_USE_FPU=FALSE -MD -MP -MF .dep/build.d -I. -I../../../../os/license -I../../../../os/common/portability/GCC -I../../../../os/common/startup/ARMCMx/compilers/GCC -I../../../../os/common/startup/ARMCMx/devices/STM32F3xx -I../../../../os/common/ext/ARM/CMSIS/Core/Include -I../../../../os/common/ext/ST/STM32F3xx -I../../../../os/hal/include -I../../../../os/hal/ports/common/ARMCMx -I../../../../os/hal/ports/STM32/STM32F3xx -I../../../../os/hal/ports/STM32/LLD/ADCv3 -I../../../../os/hal/ports/STM32/LLD/CANv1 -I../../../../os/hal/ports/STM32/LLD/DACv1 -I../../../../os/hal/ports/STM32/LLD/DMAv1 -I../../../../os/hal/ports/STM32/LLD/EXTIv1 -I../../../../os/hal/ports/STM32/LLD/GPIOv2 -I../../../../os/hal/ports/STM32/LLD/I2Cv2 -I../../../../os/hal/ports/STM32/LLD/RTCv2 -I../../../../os/hal/ports/STM32/LLD/SPIv2 -I../../../../os/hal/ports/STM32/LLD/SYSTICKv1 -I../../../../os/hal/ports/STM32/LLD/TIMv1 -I../../../../os/hal/ports/STM32/LLD/USART -I../../../../os/hal/ports/STM32/LLD/USARTv2 -I../../../../os/hal/ports/STM32/LLD/USBv1 -I../../../../os/hal/ports/STM32/LLD/xWDGv1 -I../../../../os/hal/boards/ST_STM32F3_DISCOVERY -I../../../../os/hal/osal/rt-nil -I../../../../os/rt/include -I../../../../os/oslib/include -I../../../../os/common/portability/GCC -I../../../../os/common/ports/ARM-common -I../../../../os/common/ports/ARMv7-M -I../../../../os/hal/lib/streams -I../../../../testhal/common main.c -o main.o
make[1]: Leaving directory '/home/tridge/project/UAV/APM.chibios/modules/ChibiOS/testhal/STM32/STM32F3xx/IRQ_STORM'
STDERR:
make[1]: *** No rule to make target 'irq_storm.c', needed by 'build/obj/irq_storm.o'. Stop.
make[1]: *** Waiting for unfinished jobs....
======================================================================
FAIL: testhal/STM32/STM32F7xx/IRQ_STORM/Makefile (make all)
----------------------------------------------------------------------
CMD: /usr/bin/env make -C /home/tridge/project/UAV/APM.chibios/modules/ChibiOS/testhal/STM32/STM32F7xx/IRQ_STORM -f Makefile all
STDOUT:
make[1]: Entering directory '/home/tridge/project/UAV/APM.chibios/modules/ChibiOS/testhal/STM32/STM32F7xx/IRQ_STORM'
Compiler Options
arm-none-eabi-gcc -c -mcpu=cortex-m7 -mthumb -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -ffunction-sections -fdata-sections -fno-common -flto -Wall -Wextra -Wundef -Wstrict-prototypes -Wa,-alms=build/lst/ -DCORTEX_USE_FPU=FALSE -MD -MP -MF .dep/build.d -I. -I../../../../os/license -I../../../../os/common/portability/GCC -I../../../../os/common/startup/ARMCMx/compilers/GCC -I../../../../os/common/startup/ARMCMx/devices/STM32F7xx -I../../../../os/common/ext/ARM/CMSIS/Core/Include -I../../../../os/common/ext/ST/STM32F7xx -I../../../../os/hal/include -I../../../../os/hal/ports/common/ARMCMx -I../../../../os/hal/ports/STM32/STM32F7xx -I../../../../os/hal/ports/STM32/LLD/ADCv2 -I../../../../os/hal/ports/STM32/LLD/CANv1 -I../../../../os/hal/ports/STM32/LLD/CRYPv1 -I../../../../os/hal/ports/STM32/LLD/DACv1 -I../../../../os/hal/ports/STM32/LLD/DMAv2 -I../../../../os/hal/ports/STM32/LLD/EXTIv1 -I../../../../os/hal/ports/STM32/LLD/GPIOv2 -I../../../../os/hal/ports/STM32/LLD/I2Cv2 -I../../../../os/hal/ports/STM32/LLD/MACv1 -I../../../../os/hal/ports/STM32/LLD/OTGv1 -I../../../../os/hal/ports/STM32/LLD/QUADSPIv1 -I../../../../os/hal/ports/STM32/LLD/RNGv1 -I../../../../os/hal/ports/STM32/LLD/RTCv2 -I../../../../os/hal/ports/STM32/LLD/SPIv2 -I../../../../os/hal/ports/STM32/LLD/SDMMCv1 -I../../../../os/hal/ports/STM32/LLD/SYSTICKv1 -I../../../../os/hal/ports/STM32/LLD/TIMv1 -I../../../../os/hal/ports/STM32/LLD/USART -I../../../../os/hal/ports/STM32/LLD/USARTv2 -I../../../../os/hal/ports/STM32/LLD/xWDGv1 -I../../../../os/hal/boards/ST_STM32F746G_DISCOVERY -I../../../../os/hal/osal/rt-nil -I../../../../os/rt/include -I../../../../os/oslib/include -I../../../../os/common/portability/GCC -I../../../../os/common/ports/ARM-common -I../../../../os/common/ports/ARMv7-M -I../../../../os/hal/lib/streams -I../../../../testhal/common main.c -o main.o
make[1]: Leaving directory '/home/tridge/project/UAV/APM.chibios/modules/ChibiOS/testhal/STM32/STM32F7xx/IRQ_STORM'
STDERR:
make[1]: *** No rule to make target 'irq_storm.c', needed by 'build/obj/irq_storm.o'. Stop.
make[1]: *** Waiting for unfinished jobs....
======================================================================
FAIL: testhal/AVR/MEGA/EXT/Makefile (make all)
----------------------------------------------------------------------
CMD: /usr/bin/env make -C /home/tridge/project/UAV/APM.chibios/modules/ChibiOS/testhal/AVR/MEGA/EXT -f Makefile all
STDOUT:
make[1]: Entering directory '/home/tridge/project/UAV/APM.chibios/modules/ChibiOS/testhal/AVR/MEGA/EXT'
Compiler Options
avr-gcc -c -mmcu=atmega2560 -I. -gdwarf-2 -DF_CPU=16000000UL -O2 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=build/lst/ -std=gnu11 -mrelax -fdata-sections -ffunction-sections -Wundef -MMD -MP -I. -I../../../../os/license -I../../../../os/hal/include -I../../../../os/hal/boards/ARDUINO_MEGA -I../../../../os/hal/ports/AVR/MEGA/ATMEGAxx -I../../../../os/hal/ports/AVR/MEGA/LLD/ADCv1 -I../../../../os/hal/ports/AVR/MEGA/LLD/EXTv1 -I../../../../os/hal/ports/AVR/MEGA/LLD/GPIOv1 -I../../../../os/hal/ports/AVR/MEGA/LLD/I2Cv1 -I../../../../os/hal/ports/AVR/MEGA/LLD/SPIv1 -I../../../../os/hal/ports/AVR/MEGA/LLD/TIMv1 -I../../../../os/hal/ports/AVR/MEGA/LLD/USARTv1 -I../../../../os/hal/ports/AVR/MEGA/LLD/USBv1 -I../../../../os/hal/osal/rt-nil -I../../../../os/rt/include -I../../../../os/oslib/include -I../../../../os/common/portability/GCC -I../../../../os/common/ports/AVR -I../../../../os/common/ports/AVR/compilers/GCC -I../../../../os/hal/lib/streams main.c -o main.o
Compiling hal.c
Compiling hal_st.c
Compiling hal_buffers.c
Compiling hal_queues.c
Compiling hal_flash.c
Compiling hal_mmcsd.c
Compiling hal_pal.c
Compiling hal_serial.c
Compiling board.c
Compiling hal_lld.c
Compiling hal_pal_lld.c
Compiling hal_st_lld.c
Compiling hal_serial_lld.c
Compiling osal.c
Compiling chsys.c
Compiling chrfcu.c
Compiling chdebug.c
Compiling chtrace.c
Compiling chvt.c
Compiling chschd.c
Compiling chinstances.c
Compiling chthreads.c
Compiling chregistry.c
Compiling chsem.c
Compiling chmtx.c
Compiling chcond.c
Compiling chevents.c
Compiling chmsg.c
Compiling chmboxes.c
Compiling chmemcore.c
Compiling chmemheaps.c
Compiling chmempools.c
Compiling chpipes.c
Compiling chobjcaches.c
Compiling chdelegates.c
Compiling chfactory.c
Compiling chcore.c
Compiling chprintf.c
Compiling chscanf.c
Compiling memstreams.c
Compiling nullstreams.c
Compiling bufstreams.c
Compiling main.c
make[1]: Leaving directory '/home/tridge/project/UAV/APM.chibios/modules/ChibiOS/testhal/AVR/MEGA/EXT'
STDERR:
main.c:32:19: error: unknown type name ‘EXTDriver’
static void extcb(EXTDriver *extp, expchannel_t channel) {
^
main.c:32:36: error: unknown type name ‘expchannel_t’
static void extcb(EXTDriver *extp, expchannel_t channel) {
^
main.c:45:14: error: unknown type name ‘EXTConfig’
static const EXTConfig extcfg = {
^
main.c:46:3: warning: curly brackets (braces) around scalar initialiser
{
^
main.c:46:3: note: (near initialisation for ‘extcfg’)
main.c:47:5: warning: curly brackets (braces) around scalar initialiser
{EXT_CH_MODE_DISABLED , NULL}, /* INT0 Config. */
^
main.c:47:5: note: (near initialisation for ‘extcfg’)
main.c:47:6: error: ‘EXT_CH_MODE_DISABLED’ undeclared here (not in a function)
{EXT_CH_MODE_DISABLED , NULL}, /* INT0 Config. */
^
main.c:48:5: warning: curly brackets (braces) around scalar initialiser
{EXT_CH_MODE_DISABLED , NULL}, /* INT1 Config. */
^
main.c:48:5: note: (near initialisation for ‘extcfg’)
main.c:48:5: warning: excess elements in scalar initialiser
main.c:48:5: note: (near initialisation for ‘extcfg’)
main.c:49:5: warning: curly brackets (braces) around scalar initialiser
{EXT_CH_MODE_DISABLED , NULL}, /* INT2 Config. */
^
main.c:49:5: note: (near initialisation for ‘extcfg’)
main.c:49:5: warning: excess elements in scalar initialiser
main.c:49:5: note: (near initialisation for ‘extcfg’)
main.c:50:5: warning: curly brackets (braces) around scalar initialiser
{EXT_CH_MODE_DISABLED , NULL}, /* INT3 Config. */
^
main.c:50:5: note: (near initialisation for ‘extcfg’)
main.c:50:5: warning: excess elements in scalar initialiser
main.c:50:5: note: (near initialisation for ‘extcfg’)
main.c:51:5: warning: curly brackets (braces) around scalar initialiser
{EXT_CH_MODE_RISING_EDGE , extcb}, /* INT4 Config. */
^
main.c:51:5: note: (near initialisation for ‘extcfg’)
main.c:51:6: error: ‘EXT_CH_MODE_RISING_EDGE’ undeclared here (not in a function)
{EXT_CH_MODE_RISING_EDGE , extcb}, /* INT4 Config. */
^
main.c:51:32: error: ‘extcb’ undeclared here (not in a function)
{EXT_CH_MODE_RISING_EDGE , extcb}, /* INT4 Config. */
^
main.c:51:32: warning: excess elements in scalar initialiser
main.c:51:32: note: (near initialisation for ‘extcfg’)
main.c:51:5: warning: excess elements in scalar initialiser
{EXT_CH_MODE_RISING_EDGE , extcb}, /* INT4 Config. */
^
main.c:51:5: note: (near initialisation for ‘extcfg’)
main.c:52:5: warning: curly brackets (braces) around scalar initialiser
{EXT_CH_MODE_DISABLED , NULL}, /* INT5 Config. */
^
main.c:52:5: note: (near initialisation for ‘extcfg’)
main.c:52:5: warning: excess elements in scalar initialiser
main.c:52:5: note: (near initialisation for ‘extcfg’)
main.c: In function ‘main’:
main.c:83:3: warning: implicit declaration of function ‘extStart’ [-Wimplicit-function-declaration]
extStart(&EXTD1, &extcfg);
^
main.c:83:13: error: ‘EXTD1’ undeclared (first use in this function)
extStart(&EXTD1, &extcfg);
^
main.c:83:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:84:3: warning: implicit declaration of function ‘extChannelEnable’ [-Wimplicit-function-declaration]
extChannelEnable(&EXTD1, INT4);
^
make[1]: *** [../../../../os/common/ports/AVR/compilers/GCC/rules.mk:175: build/obj/main.o] Error 1
======================================================================
FAIL: test/rt/testbuild/Makefile (make all)
----------------------------------------------------------------------
CMD: /usr/bin/env make -C /home/tridge/project/UAV/APM.chibios/modules/ChibiOS/test/rt/testbuild -f Makefile all
STDOUT:
make[1]: Entering directory '/home/tridge/project/UAV/APM.chibios/modules/ChibiOS/test/rt/testbuild'
Compiler Options
gcc -c -m32 -ffunction-sections -fdata-sections -fno-common -Wall -Wextra -Wundef -Wstrict-prototypes -Wcast-align=strict -Wa,-alms=./build/lst/ -DSIMULATOR -DTEST_CFG_SIZE_REPORT=0 -MD -MP -MF ./.dep/build.d -I. -I./cfg -I../../../os/license -I../../../os/hal/include -I../../../os/hal/boards/simulator -I../../../os/hal/ports/simulator/posix -I../../../os/hal/ports/simulator -I../../../os/hal/osal/rt-nil -I../../../os/rt/include -I../../../os/oslib/include -I../../../os/common/portability/GCC -I../../../os/common/ports/SIMIA32/compilers/GCC -I../../../os/common/ports/SIMIA32 -I../../../os/test/include -I../../../test/rt/source/test -I../../../test/oslib/source/test main.c -o main.o
Compiling hal.c
make[1]: Leaving directory '/home/tridge/project/UAV/APM.chibios/modules/ChibiOS/test/rt/testbuild'
STDERR:
In file included from /usr/include/sys/socket.h:33,
from ../../../os/hal/ports/simulator/posix/hal_lld.h:32,
from ../../../os/hal/include/hal.h:33,
from ../../../os/hal/src/hal.c:25:
/usr/include/bits/socket.h:354:11: fatal error: asm/socket.h: No such file or directory
354 | # include <asm/socket.h>
| ^~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [../../../os/common/startup/SIMIA32/compilers/GCC/rules.mk:147: build/obj/hal.o] Error 1
----------------------------------------------------------------------
Ran 614 tests in 1952.663s
FAILED (failures=6, skipped=9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment