[Solved] Need help with environment setup
Posted: Sat Jan 18, 2020 6:48 pm
Het guys!
I thought I'd finally got my environment setup properly for building projects with my Lyra-TD MSC board, but when I try to build the first demo project, it fails.
I'm running on a CentOS7 box (headless, not VM). I install ESP-ADF, ESP-IDF, Toolchain for Linux, updated my CMake to 3.6, ran the install.sh file to make sure everything was correctly pointing to gcc 8.2 (tried the 5.2 version also but different errors), and source the export.sh file in my bash profile.
Here is the output of idf.py build:
I originally tried building on my Windows 10 machine as that's where I do most of my development, but that was all kinds of pain and nonsense, hence the CentOS7 machine.
ANY help here would be very greatly appreciated. I'd like to integrate this into my home automation project, but at this point it's just another ESP32.
Thanks in advance (hopefully)!
Paul
I thought I'd finally got my environment setup properly for building projects with my Lyra-TD MSC board, but when I try to build the first demo project, it fails.
I'm running on a CentOS7 box (headless, not VM). I install ESP-ADF, ESP-IDF, Toolchain for Linux, updated my CMake to 3.6, ran the install.sh file to make sure everything was correctly pointing to gcc 8.2 (tried the 5.2 version also but different errors), and source the export.sh file in my bash profile.
Here is the output of idf.py build:
I've had this board now for months and haven't been able to do anything with it, which is very frustrating.[paul.allsopp@digitalpig play_mp3]$ idf.py build
Checking Python dependencies...
Python requirements from /home/paul.allsopp/esp/esp-adf/esp-idf/requirements.txt are satisfied.
Running cmake in directory /home/paul.allsopp/esp/projects/play_mp3/build
Executing "cmake -G 'Unix Makefiles' -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 --warn-uninitialized /home/paul.allsopp/esp/projects/play_mp3"...
Warn about uninitialized values.
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- Found Git: /usr/bin/git (found version "1.8.3.1")
-- IDF_TARGET not set, using default target: esp32
-- Building for target esp32
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/paul.allsopp/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/paul.allsopp/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/paul.allsopp/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/paul.allsopp/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++
-- Check for working CXX compiler: /home/paul.allsopp/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building empty aws_iot component due to configuration
-- Component names: soc log heap xtensa-debug-module app_trace freertos vfs newlib esp_ringbuf driver esp_event ethernet mbedtls micro-ecc efuse bootloader_support partition_table app_update spi_flash nvs_flash lwip tcpip_adapter pthread smartconfig_ack wpa_supplicant espcoredump esp32 cxx nghttp esp-tls tcp_transport esp_http_client jsmn audio_sal adf_utils esp_adc_cal wear_levelling sdmmc fatfs console audio_pipeline spiffs display_service esp_dispatcher nimble bt esp_peripherals audio_hal audio_board esp-sr esp-adf-libs audio_strea m bluetooth_service clouds dueros_service wifi_service esp_actions input_key_service playlist asio aws_iot bootloader coap esp_http_server esp_https_ota openssl esp_https_server es ptool_py expat freemodbus idf_test json libsodium mdns mqtt protobuf-c protocomm ulp unity wifi_provisioning main
-- Component paths: /home/paul.allsopp/esp/esp-adf/esp-idf/components/soc;/home/paul.allsopp/esp/esp-adf/esp-idf/components/log;/home/paul.allsopp/esp/esp-adf/esp-idf/components/he ap;/home/paul.allsopp/esp/esp-adf/esp-idf/components/xtensa-debug-module;/home/paul.allsopp/esp/esp-adf/esp-idf/components/app_trace;/home/paul.allsopp/esp/esp-adf/esp-idf/componen ts/freertos;/home/paul.allsopp/esp/esp-adf/esp-idf/components/vfs;/home/paul.allsopp/esp/esp-adf/esp-idf/components/newlib;/home/paul.allsopp/esp/esp-adf/esp-idf/components/esp_rin gbuf;/home/paul.allsopp/esp/esp-adf/esp-idf/components/driver;/home/paul.allsopp/esp/esp-adf/esp-idf/components/esp_event;/home/paul.allsopp/esp/esp-adf/esp-idf/components/ethernet ;/home/paul.allsopp/esp/esp-adf/esp-idf/components/mbedtls;/home/paul.allsopp/esp/esp-adf/esp-idf/components/micro-ecc;/home/paul.allsopp/esp/esp-adf/esp-idf/components/efuse;/home /paul.allsopp/esp/esp-adf/esp-idf/components/bootloader_support;/home/paul.allsopp/esp/esp-adf/esp-idf/components/partition_table;/home/paul.allsopp/esp/esp-adf/esp-idf/components/ app_update;/home/paul.allsopp/esp/esp-adf/esp-idf/components/spi_flash;/home/paul.allsopp/esp/esp-adf/esp-idf/components/nvs_flash;/home/paul.allsopp/esp/esp-adf/esp-idf/components /lwip;/home/paul.allsopp/esp/esp-adf/esp-idf/components/tcpip_adapter;/home/paul.allsopp/esp/esp-adf/esp-idf/components/pthread;/home/paul.allsopp/esp/esp-adf/esp-idf/components/sm artconfig_ack;/home/paul.allsopp/esp/esp-adf/esp-idf/components/wpa_supplicant;/home/paul.allsopp/esp/esp-adf/esp-idf/components/espcoredump;/home/paul.allsopp/esp/esp-adf/esp-idf/ components/esp32;/home/paul.allsopp/esp/esp-adf/esp-idf/components/cxx;/home/paul.allsopp/esp/esp-adf/esp-idf/components/nghttp;/home/paul.allsopp/esp/esp-adf/esp-idf/components/es p-tls;/home/paul.allsopp/esp/esp-adf/esp-idf/components/tcp_transport;/home/paul.allsopp/esp/esp-adf/esp-idf/components/esp_http_client;/home/paul.allsopp/esp/esp-adf/esp-idf/compo nents/jsmn;/home/paul.allsopp/esp/esp-adf/components/audio_sal;/home/paul.allsopp/esp/esp-adf/components/adf_utils;/home/paul.allsopp/esp/esp-adf/esp-idf/components/esp_adc_cal;/ho me/paul.allsopp/esp/esp-adf/esp-idf/components/wear_levelling;/home/paul.allsopp/esp/esp-adf/esp-idf/components/sdmmc;/home/paul.allsopp/esp/esp-adf/esp-idf/components/fatfs;/home/ paul.allsopp/esp/esp-adf/esp-idf/components/console;/home/paul.allsopp/esp/esp-adf/components/audio_pipeline;/home/paul.allsopp/esp/esp-adf/esp-idf/components/spiffs;/home/paul.all sopp/esp/esp-adf/components/display_service;/home/paul.allsopp/esp/esp-adf/components/esp_dispatcher;/home/paul.allsopp/esp/esp-adf/esp-idf/components/nimble;/home/paul.allsopp/esp /esp-adf/esp-idf/components/bt;/home/paul.allsopp/esp/esp-adf/components/esp_peripherals;/home/paul.allsopp/esp/esp-adf/components/audio_hal;/home/paul.allsopp/esp/esp-adf/componen ts/audio_board;/home/paul.allsopp/esp/esp-adf/components/esp-sr;/home/paul.allsopp/esp/esp-adf/components/esp-adf-libs;/home/paul.allsopp/esp/esp-adf/components/audio_stream;/home/ paul.allsopp/esp/esp-adf/components/bluetooth_service;/home/paul.allsopp/esp/esp-adf/components/clouds;/home/paul.allsopp/esp/esp-adf/components/dueros_service;/home/paul.allsopp/e sp/esp-adf/components/wifi_service;/home/paul.allsopp/esp/esp-adf/components/esp_actions;/home/paul.allsopp/esp/esp-adf/components/input_key_service;/home/paul.allsopp/esp/esp-adf/ components/playlist;/home/paul.allsopp/esp/esp-adf/esp-idf/components/asio;/home/paul.allsopp/esp/esp-adf/esp-idf/components/aws_iot;/home/paul.allsopp/esp/esp-adf/esp-idf/componen ts/bootloader;/home/paul.allsopp/esp/esp-adf/esp-idf/components/coap;/home/paul.allsopp/esp/esp-adf/esp-idf/components/esp_http_server;/home/paul.allsopp/esp/esp-adf/esp-idf/compon ents/esp_https_ota;/home/paul.allsopp/esp/esp-adf/esp-idf/components/openssl;/home/paul.allsopp/esp/esp-adf/esp-idf/components/esp_https_server;/home/paul.allsopp/esp/esp-adf/esp-i df/components/esptool_py;/home/paul.allsopp/esp/esp-adf/esp-idf/components/expat;/home/paul.allsopp/esp/esp-adf/esp-idf/components/freemodbus;/home/paul.allsopp/esp/esp-adf/esp-idf /components/idf_test;/home/paul.allsopp/esp/esp-adf/esp-idf/components/json;/home/paul.allsopp/esp/esp-adf/esp-idf/components/libsodium;/home/paul.allsopp/esp/esp-adf/esp-idf/compo nents/mdns;/home/paul.allsopp/esp/esp-adf/esp-idf/components/mqtt;/home/paul.allsopp/esp/esp-adf/esp-idf/components/protobuf-c;/home/paul.allsopp/esp/esp-adf/esp-idf/components/pro tocomm;/home/paul.allsopp/esp/esp-adf/esp-idf/components/ulp;/home/paul.allsopp/esp/esp-adf/esp-idf/components/unity;/home/paul.allsopp/esp/esp-adf/esp-idf/components/wifi_provisio ning;/home/paul.allsopp/esp/projects/play_mp3/main
CMake Warning at /home/paul.allsopp/esp/esp-adf/esp-idf/tools/cmake/crosstool_version_check.cmake:8 (message):
Xtensa toolchain
/home/paul.allsopp/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
version 8.2.0 is not the supported version 5.2.0. Check Getting Started
documentation or proceed at own risk.
Call Stack (most recent call first):
/home/paul.allsopp/esp/esp-adf/esp-idf/tools/cmake/idf_functions.cmake:213 (gcc_version_check)
/home/paul.allsopp/esp/esp-adf/esp-idf/tools/cmake/idf_functions.cmake:373 (idf_verify_environment)
/home/paul.allsopp/esp/esp-adf/esp-idf/tools/cmake/project.cmake:173 (idf_import_components)
CMakeLists.txt:8 (project)
CMake Warning at /home/paul.allsopp/esp/esp-adf/esp-idf/tools/cmake/crosstool_version_check.cmake:25 (message):
Xtensa toolchain
/home/paul.allsopp/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
does not appear to be built with crosstool-ng. Check Getting Started
documentation or proceed at own risk.
Call Stack (most recent call first):
/home/paul.allsopp/esp/esp-adf/esp-idf/tools/cmake/idf_functions.cmake:214 (crosstool_version_check)
/home/paul.allsopp/esp/esp-adf/esp-idf/tools/cmake/idf_functions.cmake:373 (idf_verify_environment)
/home/paul.allsopp/esp/esp-adf/esp-idf/tools/cmake/project.cmake:173 (idf_import_components)
CMakeLists.txt:8 (project)
-- IDF_VER: -129-NOTFOUND
-- Project is not inside a git repository, will not use 'git describe' to determine PROJECT_VER.
-- Project version: 1
-- Found PythonInterp: /home/paul.allsopp/.espressif/python_env/idf3.3_py2.7_env/bin/python (found version "2.7.5")
-- Found Perl: /usr/bin/perl (found version "5.16.3")
-- Adding linker script /home/paul.allsopp/esp/projects/play_mp3/build/esp-idf/esp32/esp32_out.ld
-- Adding linker script /home/paul.allsopp/esp/esp-adf/esp-idf/components/esp32/ld/esp32.rom.ld
-- Adding linker script /home/paul.allsopp/esp/esp-adf/esp-idf/components/esp32/ld/esp32.peripherals.ld
-- Adding linker script /home/paul.allsopp/esp/esp-adf/esp-idf/components/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /home/paul.allsopp/esp/esp-adf/esp-idf/components/esp32/ld/esp32.rom.spiram_incompatible_fns.ld
-- Current board name is CONFIG_ESP_LYRATD_MSC_V2_2_BOARD
-- Building empty aws_iot component due to configuration
-- Component libraries:
-- Configuring done
-- Generating done
-- Build files have been written to: /home/paul.allsopp/esp/projects/play_mp3/build
Running make in directory /home/paul.allsopp/esp/projects/play_mp3/build
Executing "make -j 10 all"...
Scanning dependencies of target partition_table
[ 0%] Generating ../../adf_music.mp3.S
Scanning dependencies of target idf_component_heap
Scanning dependencies of target idf_component_log
Scanning dependencies of target idf_component_soc
Scanning dependencies of target idf_component_app_trace
Scanning dependencies of target idf_component_xtensa-debug-module
Scanning dependencies of target idf_component_vfs
[ 0%] Generating ../../partition_table/partition-table.bin
Scanning dependencies of target idf_component_freertos
Scanning dependencies of target idf_component_newlib
[ 0%] Built target partition_table
Scanning dependencies of target idf_component_esp_ringbuf
[ 1%] Building C object esp-idf/xtensa-debug-module/CMakeFiles/idf_component_xtensa-debug-module.dir/eri.c.obj
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/xtensa-debug-module/CMakeFiles/idf_component_xtensa-debug-module.dir/eri.c.obj] Error 1
make[1]: *** [esp-idf/xtensa-debug-module/CMakeFiles/idf_component_xtensa-debug-module.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Scanning dependencies of target idf_component_main
[ 1%] Building C object esp-idf/esp_ringbuf/CMakeFiles/idf_component_esp_ringbuf.dir/ringbuf.c.obj
[ 1%] Building C object esp-idf/log/CMakeFiles/idf_component_log.dir/log.c.obj
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/esp_ringbuf/CMakeFiles/idf_component_esp_ringbuf.dir/ringbuf.c.obj] Error 1
make[1]: *** [esp-idf/esp_ringbuf/CMakeFiles/idf_component_esp_ringbuf.dir/all] Error 2
make[2]: *** [esp-idf/log/CMakeFiles/idf_component_log.dir/log.c.obj] Error 1
make[1]: *** [esp-idf/log/CMakeFiles/idf_component_log.dir/all] Error 2
[ 1%] Building C object esp-idf/app_trace/CMakeFiles/idf_component_app_trace.dir/gcov/gcov_rtio.c.obj
[ 1%] Building C object esp-idf/app_trace/CMakeFiles/idf_component_app_trace.dir/app_trace_util.c.obj
[ 1%] Building C object esp-idf/app_trace/CMakeFiles/idf_component_app_trace.dir/app_trace.c.obj
[ 2%] Building C object esp-idf/app_trace/CMakeFiles/idf_component_app_trace.dir/host_file_io.c.obj
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/app_trace/CMakeFiles/idf_component_app_trace.dir/app_trace_util.c.obj] Error 1
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** Waiting for unfinished jobs....
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/app_trace/CMakeFiles/idf_component_app_trace.dir/gcov/gcov_rtio.c.obj] Error 1
make[2]: *** [esp-idf/app_trace/CMakeFiles/idf_component_app_trace.dir/app_trace.c.obj] Error 1
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/app_trace/CMakeFiles/idf_component_app_trace.dir/host_file_io.c.obj] Error 1
make[1]: *** [esp-idf/app_trace/CMakeFiles/idf_component_app_trace.dir/all] Error 2
[ 2%] Building C object esp-idf/vfs/CMakeFiles/idf_component_vfs.dir/vfs.c.obj
[ 2%] Building C object esp-idf/vfs/CMakeFiles/idf_component_vfs.dir/vfs_uart.c.obj
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/vfs/CMakeFiles/idf_component_vfs.dir/vfs.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/vfs/CMakeFiles/idf_component_vfs.dir/vfs_uart.c.obj] Error 1
make[1]: *** [esp-idf/vfs/CMakeFiles/idf_component_vfs.dir/all] Error 2
[ 2%] Building C object esp-idf/heap/CMakeFiles/idf_component_heap.dir/heap_trace.c.obj
[ 2%] Building C object esp-idf/heap/CMakeFiles/idf_component_heap.dir/heap_caps_init.c.obj
[ 2%] Building C object esp-idf/heap/CMakeFiles/idf_component_heap.dir/heap_caps.c.obj
[ 2%] Building C object esp-idf/heap/CMakeFiles/idf_component_heap.dir/multi_heap.c.obj
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/heap/CMakeFiles/idf_component_heap.dir/heap_trace.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/heap/CMakeFiles/idf_component_heap.dir/multi_heap.c.obj] Error 1
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/heap/CMakeFiles/idf_component_heap.dir/heap_caps_init.c.obj] Error 1
make[2]: *** [esp-idf/heap/CMakeFiles/idf_component_heap.dir/heap_caps.c.obj] Error 1
make[1]: *** [esp-idf/heap/CMakeFiles/idf_component_heap.dir/all] Error 2
[ 2%] Building C object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/FreeRTOS-openocd.c.obj
[ 2%] Building C object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/croutine.c.obj
[ 2%] Building C object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/list.c.obj
[ 2%] Building C object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/event_groups.c.obj
[ 2%] Building C object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/port.c.obj
[ 2%] Building ASM object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/portasm.S.obj
[ 2%] Building C object esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/queue.c.obj
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/event_groups.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/portasm.S.obj] Error 1
make[2]: *** [esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/port.c.obj] Error 1
make[2]: *** [esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/croutine.c.obj] Error 1
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
*** [esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/FreeRTOS-openocd.c.obj] Error 1
make[2]: *** [esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/list.c.obj] Error 1
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/queue.c.obj] Error 1
make[1]: *** [esp-idf/freertos/CMakeFiles/idf_component_freertos.dir/all] Error 2
[ 2%] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/cpu_util.c.obj
[ 2%] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_periph.c.obj
[ 2%] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/gpio_periph.c.obj
[ 2%] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_clk_init.c.obj
[ 2%] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_init.c.obj
[ 2%] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_pm.c.obj
[ 2%] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_clk.c.obj
[ 2%] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_sleep.c.obj
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_periph.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_clk_init.c.obj] Error 1
make[2]: xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
*** [esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/cpu_util.c.obj] Error 1
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/gpio_periph.c.obj] Error 1
make[2]: *** [esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_pm.c.obj] Error 1
make[2]: *** [esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_init.c.obj] Error 1
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_clk.c.obj] Error 1
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_sleep.c.obj] Error 1
make[1]: *** [esp-idf/soc/CMakeFiles/idf_component_soc.dir/all] Error 2
[ 2%] Building C object esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/locks.c.obj
[ 2%] Building C object esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/random.c.obj
[ 2%] Building C object esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/pthread.c.obj
[ 2%] Building C object esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/reent_init.c.obj
[ 2%] Building C object esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/select.c.obj
[ 2%] Building C object esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/poll.c.obj
[ 3%] Building C object esp-idf/main/CMakeFiles/idf_component_main.dir/play_mp3_example.c.obj
[ 3%] Building C object esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/syscall_table.c.obj
[ 3%] Building C object esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/syscalls.c.obj
[ 3%] Building ASM object esp-idf/main/CMakeFiles/idf_component_main.dir/__/__/adf_music.mp3.S.obj
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
*** [esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/pthread.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/select.c.obj] Error 1
make[2]: *** [esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/reent_init.c.obj] Error 1
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/random.c.obj] Error 1
make[2]: *** [esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/locks.c.obj] Error 1
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/poll.c.obj] Error 1
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/syscall_table.c.obj] Error 1
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/main/CMakeFiles/idf_component_main.dir/__/__/adf_music.mp3.S.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/main/CMakeFiles/idf_component_main.dir/play_mp3_example.c.obj] Error 1
make[1]: *** [esp-idf/main/CMakeFiles/idf_component_main.dir/all] Error 2
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mlongcalls -Wno-frame-address'; did you mean '--warn-no-frame-address'?
make[2]: *** [esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/syscalls.c.obj] Error 1
make[1]: *** [esp-idf/newlib/CMakeFiles/idf_component_newlib.dir/all] Error 2
make: *** [all] Error 2
make failed with exit code 2
I originally tried building on my Windows 10 machine as that's where I do most of my development, but that was all kinds of pain and nonsense, hence the CentOS7 machine.
ANY help here would be very greatly appreciated. I'd like to integrate this into my home automation project, but at this point it's just another ESP32.
Thanks in advance (hopefully)!
Paul