Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STM32 NUCLEO-144: compiling failed #2

Closed
EasyNetDev opened this issue Mar 7, 2020 · 5 comments
Closed

STM32 NUCLEO-144: compiling failed #2

EasyNetDev opened this issue Mar 7, 2020 · 5 comments

Comments

@EasyNetDev
Copy link

Hi,

I'm trying to compile OpenMRNLite on STM32 Nucleo-144 and the compiler is complaining that is not finding netdb.h file. I've tried to find this file, but I don't know if is another library which is providing it.
Here is the output:

In file included from C:\Users\Adrian\Documents\Arduino\libraries\OpenMRNLite-0.1.1\src\freertos_drivers\esp32\Esp32WiFiManager.hxx:45,
                 from C:\Users\Adrian\Documents\Arduino\libraries\OpenMRNLite-0.1.1\src\freertos_drivers\esp32\Esp32WiFiManager.cpp:35:
C:\Users\Adrian\Documents\Arduino\libraries\OpenMRNLite-0.1.1\src/utils/SocketClient.hxx:44:10: fatal error: netdb.h: No such file or directory
   44 | #include <netdb.h>
      |          ^~~~~~~~~
compilation terminated.

exit status 1
Error compiling for board Nucleo-144.

Any ideas?

@balazsracz
Copy link
Member

balazsracz commented Mar 7, 2020 via email

@EasyNetDev
Copy link
Author

EasyNetDev commented Mar 7, 2020

Hi,

I was thought about that, but I didn't add any drivers for ESP32 WiFi.
Here is the code I'm trying to compile:

#include <cmsis_os.h>
#include <croutine.h>
#include <event_groups.h>
#include <FreeRTOS.h>
#include <FreeRTOSConfig.h>
#include <FreeRTOSConfig_Default.h>
#include <list.h>
#include <mpu_prototypes.h>
#include <portmacro.h>
#include <queue.h>
#include <semphr.h>
#include <stack_macros.h>
#include <STM32FreeRTOS.h>
#include <stream_buffer.h>
#include <task.h>
#include <timers.h>

#include <LwIP.h>
#include <OpenMRNLite.h>

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Very basic compilation to check if the libs are ok. Even if I'm removing everything for RTOS is still failing with same error. Just load lwip.h and openMRNlite.

Kind regards,
Adrian

@balazsracz
Copy link
Member

balazsracz commented Mar 7, 2020 via email

@atanisoft
Copy link

I'll add that to my open PR for the same file...

atanisoft added a commit to bakerstu/openmrn that referenced this issue Mar 7, 2020
@EasyNetDev
Copy link
Author

EasyNetDev commented Mar 7, 2020

Hi,

Thanks for the fix. Is not giving anymore this error, but I'm receiving this error:

"C:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\tools\\xpack-arm-none-eabi-gcc\\9.2.1-1.1/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\\Users\\Adrian\\AppData\\Local\\Temp\\arduino_build_28886/sketch/build_opt.h" -c -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -fno-use-cxa-atexit "-IC:\\Users\\Adrian\\Nextcloud\\Electronic Projects\\Arduino\\DCCpp+LCC\\Ethernet_Test" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/avr" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32/LL" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32/usb" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32/usb/hid" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32/usb/cdc" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Drivers/STM32F7xx_HAL_Driver/Inc" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Drivers/STM32F7xx_HAL_Driver/Src" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/STM32F7xx" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -w -x c++ -E -CC -DSTM32F7xx -DARDUINO=10812 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DUSBCON -DUSE_USB_HS -DUSE_USB_HS_IN_FS -DUSBD_VID=0x0483 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"NUCLEO_F767ZI\"" -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE -DHAL_UART_MODULE_ENABLED "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\tools\\CMSIS\\5.5.1/CMSIS/Core/Include/" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\tools\\CMSIS\\5.5.1/CMSIS/DSP/Include" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\variants\\NUCLEO_F767ZI" "-IC:\\Users\\Adrian\\Documents\\Arduino\\libraries\\STM32duino_LwIP\\src" "-IC:\\Users\\Adrian\\Documents\\Arduino\\libraries\\OpenMRNLite-0.1.1\\src" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\libraries\\SrcWrapper\\src" "-IC:\\Users\\Adrian\\Documents\\Arduino\\libraries\\STM32duino_STM32Ethernet\\src" "-IC:\\Users\\Adrian\\Documents\\Arduino\\libraries\\STM32duino_FreeRTOS\\src" "C:\\Users\\Adrian\\Documents\\Arduino\\libraries\\STM32duino_FreeRTOS\\src\\mpu_wrappers.c" -o nul
"C:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\tools\\xpack-arm-none-eabi-gcc\\9.2.1-1.1/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\\Users\\Adrian\\AppData\\Local\\Temp\\arduino_build_28886/sketch/build_opt.h" -c -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -fno-use-cxa-atexit "-IC:\\Users\\Adrian\\Nextcloud\\Electronic Projects\\Arduino\\DCCpp+LCC\\Ethernet_Test" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/avr" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32/LL" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32/usb" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32/usb/hid" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32/usb/cdc" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Drivers/STM32F7xx_HAL_Driver/Inc" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Drivers/STM32F7xx_HAL_Driver/Src" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/STM32F7xx" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -w -x c++ -E -CC -DSTM32F7xx -DARDUINO=10812 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DUSBCON -DUSE_USB_HS -DUSE_USB_HS_IN_FS -DUSBD_VID=0x0483 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"NUCLEO_F767ZI\"" -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE -DHAL_UART_MODULE_ENABLED "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\tools\\CMSIS\\5.5.1/CMSIS/Core/Include/" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\tools\\CMSIS\\5.5.1/CMSIS/DSP/Include" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\variants\\NUCLEO_F767ZI" "-IC:\\Users\\Adrian\\Documents\\Arduino\\libraries\\STM32duino_LwIP\\src" "-IC:\\Users\\Adrian\\Documents\\Arduino\\libraries\\OpenMRNLite-0.1.1\\src" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\libraries\\SrcWrapper\\src" "-IC:\\Users\\Adrian\\Documents\\Arduino\\libraries\\STM32duino_STM32Ethernet\\src" "-IC:\\Users\\Adrian\\Documents\\Arduino\\libraries\\STM32duino_FreeRTOS\\src" "C:\\Users\\Adrian\\Documents\\Arduino\\libraries\\STM32duino_FreeRTOS\\src\\port.c" -o nul
Generating function prototypes...
"C:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\tools\\xpack-arm-none-eabi-gcc\\9.2.1-1.1/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\\Users\\Adrian\\AppData\\Local\\Temp\\arduino_build_28886/sketch/build_opt.h" -c -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -fno-use-cxa-atexit "-IC:\\Users\\Adrian\\Nextcloud\\Electronic Projects\\Arduino\\DCCpp+LCC\\Ethernet_Test" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/avr" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32/LL" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32/usb" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32/usb/hid" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32/usb/cdc" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Drivers/STM32F7xx_HAL_Driver/Inc" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Drivers/STM32F7xx_HAL_Driver/Src" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/STM32F7xx" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -w -x c++ -E -CC -DSTM32F7xx -DARDUINO=10812 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DUSBCON -DUSE_USB_HS -DUSE_USB_HS_IN_FS -DUSBD_VID=0x0483 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"NUCLEO_F767ZI\"" -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE -DHAL_UART_MODULE_ENABLED "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\tools\\CMSIS\\5.5.1/CMSIS/Core/Include/" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\tools\\CMSIS\\5.5.1/CMSIS/DSP/Include" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\variants\\NUCLEO_F767ZI" "-IC:\\Users\\Adrian\\Documents\\Arduino\\libraries\\STM32duino_LwIP\\src" "-IC:\\Users\\Adrian\\Documents\\Arduino\\libraries\\OpenMRNLite-0.1.1\\src" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\libraries\\SrcWrapper\\src" "-IC:\\Users\\Adrian\\Documents\\Arduino\\libraries\\STM32duino_STM32Ethernet\\src" "-IC:\\Users\\Adrian\\Documents\\Arduino\\libraries\\STM32duino_FreeRTOS\\src" "C:\\Users\\Adrian\\AppData\\Local\\Temp\\arduino_build_28886\\sketch\\Ethernet_Test.ino.cpp" -o "C:\\Users\\Adrian\\AppData\\Local\\Temp\\arduino_build_28886\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\Adrian\\AppData\\Local\\Temp\\arduino_build_28886\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\tools\\xpack-arm-none-eabi-gcc\\9.2.1-1.1/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\\Users\\Adrian\\AppData\\Local\\Temp\\arduino_build_28886/sketch/build_opt.h" -c -Os -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -fno-use-cxa-atexit -MMD "-IC:\\Users\\Adrian\\Nextcloud\\Electronic Projects\\Arduino\\DCCpp+LCC\\Ethernet_Test" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/avr" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32/LL" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32/usb" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32/usb/hid" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32/usb/cdc" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Drivers/STM32F7xx_HAL_Driver/Inc" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Drivers/STM32F7xx_HAL_Driver/Src" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/STM32F7xx" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -DSTM32F7xx -DARDUINO=10812 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DUSBCON -DUSE_USB_HS -DUSE_USB_HS_IN_FS -DUSBD_VID=0x0483 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"NUCLEO_F767ZI\"" -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE -DHAL_UART_MODULE_ENABLED "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\tools\\CMSIS\\5.5.1/CMSIS/Core/Include/" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\tools\\CMSIS\\5.5.1/CMSIS/DSP/Include" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\variants\\NUCLEO_F767ZI" "-IC:\\Users\\Adrian\\Documents\\Arduino\\libraries\\STM32duino_LwIP\\src" "-IC:\\Users\\Adrian\\Documents\\Arduino\\libraries\\OpenMRNLite-0.1.1\\src" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\libraries\\SrcWrapper\\src" "-IC:\\Users\\Adrian\\Documents\\Arduino\\libraries\\STM32duino_STM32Ethernet\\src" "-IC:\\Users\\Adrian\\Documents\\Arduino\\libraries\\STM32duino_FreeRTOS\\src" "C:\\Users\\Adrian\\AppData\\Local\\Temp\\arduino_build_28886\\sketch\\Ethernet_Test.ino.cpp" -o "C:\\Users\\Adrian\\AppData\\Local\\Temp\\arduino_build_28886\\sketch\\Ethernet_Test.ino.cpp.o"
"C:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\tools\\xpack-arm-none-eabi-gcc\\9.2.1-1.1/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb "@C:\\Users\\Adrian\\AppData\\Local\\Temp\\arduino_build_28886/sketch/build_opt.h" -c -Os -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -fno-use-cxa-atexit -MMD "-IC:\\Users\\Adrian\\Nextcloud\\Electronic Projects\\Arduino\\DCCpp+LCC\\Ethernet_Test" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/avr" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32/LL" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32/usb" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32/usb/hid" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino/stm32/usb/cdc" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Drivers/STM32F7xx_HAL_Driver/Inc" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Drivers/STM32F7xx_HAL_Driver/Src" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/STM32F7xx" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" -DSTM32F7xx -DARDUINO=10812 -DARDUINO_NUCLEO_F767ZI -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_F767ZI\"" -DSTM32F767xx -DUSBCON -DUSE_USB_HS -DUSE_USB_HS_IN_FS -DUSBD_VID=0x0483 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"NUCLEO_F767ZI\"" -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE -DHAL_UART_MODULE_ENABLED "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\tools\\CMSIS\\5.5.1/CMSIS/Core/Include/" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Drivers/CMSIS/Device/ST/STM32F7xx/Include/" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\system/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\tools\\CMSIS\\5.5.1/CMSIS/DSP/Include" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\cores\\arduino" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\variants\\NUCLEO_F767ZI" "-IC:\\Users\\Adrian\\Documents\\Arduino\\libraries\\STM32duino_LwIP\\src" "-IC:\\Users\\Adrian\\Documents\\Arduino\\libraries\\OpenMRNLite-0.1.1\\src" "-IC:\\Users\\Adrian\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.8.0\\libraries\\SrcWrapper\\src" "-IC:\\Users\\Adrian\\Documents\\Arduino\\libraries\\STM32duino_STM32Ethernet\\src" "-IC:\\Users\\Adrian\\Documents\\Arduino\\libraries\\STM32duino_FreeRTOS\\src" "C:\\Users\\Adrian\\AppData\\Local\\Temp\\arduino_build_28886\\sketch\\SrcWrapper.cpp" -o "C:\\Users\\Adrian\\AppData\\Local\\Temp\\arduino_build_28886\\sketch\\SrcWrapper.cpp.o"
In file included from C:\Users\Adrian\Documents\Arduino\libraries\OpenMRNLite-0.1.1\src/executor/Executor.hxx:50,
                 from C:\Users\Adrian\Documents\Arduino\libraries\OpenMRNLite-0.1.1\src/openlcb/SimpleStack.hxx:40,
                 from C:\Users\Adrian\Documents\Arduino\libraries\OpenMRNLite-0.1.1\src/OpenMRNLite.h:44,
                 from C:\Users\Adrian\Nextcloud\Electronic Projects\Arduino\DCCpp+LCC\Ethernet_Test\Ethernet_Test.ino:21:
C:\Users\Adrian\Documents\Arduino\libraries\OpenMRNLite-0.1.1\src/os/OSSelectWakeup.hxx: In member function 'int OSSelectWakeup::select(int, _types_fd_set*, _types_fd_set*, _types_fd_set*, long long int)':
C:\Users\Adrian\Documents\Arduino\libraries\OpenMRNLite-0.1.1\src/os/OSSelectWakeup.hxx:231:16: error: 'ret' was not declared in this scope; did you mean 'creat'?
  231 |         return ret;
      |                ^~~
      |                creat
Using library STM32duino_LwIP at version 2.1.2 in folder: C:\Users\Adrian\Documents\Arduino\libraries\STM32duino_LwIP 
Using library OpenMRNLite-0.1.1 at version 0.1.1 in folder: C:\Users\Adrian\Documents\Arduino\libraries\OpenMRNLite-0.1.1 
Using library SrcWrapper at version 1.0.1 in folder: C:\Users\Adrian\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.8.0\libraries\SrcWrapper 
Using library STM32duino_STM32Ethernet at version 1.1.0 in folder: C:\Users\Adrian\Documents\Arduino\libraries\STM32duino_STM32Ethernet 
Using library STM32duino_FreeRTOS at version 10.0.1 in folder: C:\Users\Adrian\Documents\Arduino\libraries\STM32duino_FreeRTOS 
exit status 1
Error compiling for board Nucleo-144.

Kind regards,
Adrian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants