Skip to content

Instantly share code, notes, and snippets.

@jschoch
Created August 15, 2019 20:57
Show Gist options
  • Save jschoch/dacaa2f8091b5768c36881db178fa130 to your computer and use it in GitHub Desktop.
Save jschoch/dacaa2f8091b5768c36881db178fa130 to your computer and use it in GitHub Desktop.
love yak shaving
idf.py build
Checking Python dependencies...
Python requirements from /home/schoch/dev/esp-idf/requirements.txt are satisfied.
Executing action: all (aliases: build)
Running make in directory /home/schoch/dev/ESP32APA102Driver/build
Executing "make -j 6 all"...
[ 0%] Built target _project_elf_src
[ 0%] Built target esp32_linker_script
[ 1%] Built target partition_table
[ 1%] Performing build step for 'bootloader'
[ 1%] Built target __idf_app_trace
[ 1%] Built target __idf_cxx
[ 3%] Built target __idf_log
[ 4%] Built target _project_elf_src
[ 4%] Built target __idf_build_target
[ 3%] Built target __idf_newlib
[ 12%] Built target __idf_xtensa
[ 3%] Built target __idf_vfs
[ 50%] Built target __idf_soc
[ 5%] Built target __idf_freertos
[ 53%] Built target __idf_micro-ecc
[ 5%] Built target __idf_heap
[ 5%] Built target __idf_log
[ 79%] Built target __idf_bootloader_support
[ 87%] Built target __idf_efuse
[ 8%] Built target __idf_soc
[ 8%] Built target __idf_esp_rom
[ 90%] Built target __idf_spi_flash
[ 93%] Built target __idf_main
[ 9%] Built target __idf_esp_common
[ 98%] Built target bootloader.elf
[ 10%] Built target __idf_xtensa
[100%] Built target gen_project_binary
[100%] Built target app
[ 12%] Built target __idf_esp32
[ 12%] No install step for 'bootloader'
[ 13%] Built target __idf_espcoredump
[ 13%] Completed 'bootloader'
[ 13%] Built target __idf_pthread
[ 14%] Built target bootloader
[ 15%] Built target __idf_esp_event
[ 15%] Built target __idf_tcpip_adapter
[ 25%] Built target __idf_lwip
[ 26%] Built target __idf_esp_eth
[ 27%] Built target __idf_esp_wifi
[ 27%] Built target __idf_smartconfig_ack
[ 28%] Built target __idf_nvs_flash
[ 30%] Built target __idf_spi_flash
[ 31%] Built target __idf_app_update
[ 33%] Built target __idf_bootloader_support
[ 33%] Built target __idf_efuse
[ 42%] Built target __idf_wpa_supplicant
[ 50%] Built target mbedcrypto
[ 51%] Built target mbedx509
[ 53%] Built target mbedtls
[ 56%] Built target __idf_driver
[ 57%] Built target __idf_esp_ringbuf
[ 57%] Built target __idf_json
[ 58%] Built target __idf_console
[ 59%] Built target __idf_protobuf-c
[ 62%] Built target __idf_nghttp
[ 62%] Built target __idf_asio
[ 64%] Built target __idf_coap
[ 65%] Built target __idf_esp_adc_cal
[ 65%] Built target __idf_esp_gdbstub
[ 66%] Built target __idf_expat
[ 67%] Built target __idf_sdmmc
[ 68%] Built target __idf_wear_levelling
[ 69%] Built target __idf_jsmn
[ 70%] Built target __idf_openssl
[ 70%] Built target __idf_ulp
[ 71%] Built target __idf_spiffs
[ 75%] Built target __idf_freemodbus
[ 84%] Built target __idf_unity
[ 90%] Built target __idf_libsodium
[ 91%] Built target __idf_esp_http_server
[ 92%] Built target __idf_mdns
[ 93%] Built target __idf_esp-tls
[ 94%] Built target __idf_fatfs
[ 95%] Built target __idf_protocomm
[ 96%] Built target __idf_tcp_transport
[ 96%] Built target __idf_esp_local_ctrl
[ 97%] Built target __idf_esp_http_client
[100%] Built target __idf_wifi_provisioning
[100%] Built target __idf_esp_websocket_client
[100%] Built target __idf_mqtt
[100%] Built target __idf_esp_https_ota
[100%] Built target __idf_main
[100%] Built target __ldgen_output_esp32.project.ld
[100%] Built target __idf_build_target
[100%] Linking CXX executable ESP32APA102Driver.elf
/home/schoch/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(ESP32APA102Driver.c.obj):(.literal.app_main+0x28): undefined reference to `initLEDs'
/home/schoch/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(ESP32APA102Driver.c.obj):(.literal.app_main+0x2c): undefined reference to `initComplexColourObject'
/home/schoch/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(ESP32APA102Driver.c.obj):(.literal.app_main+0x30): undefined reference to `getColour'
/home/schoch/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(ESP32APA102Driver.c.obj):(.literal.app_main+0x34): undefined reference to `setPixel'
/home/schoch/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(ESP32APA102Driver.c.obj):(.literal.app_main+0x38): undefined reference to `getPixel'
/home/schoch/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(ESP32APA102Driver.c.obj): in function `app_main':
/home/schoch/dev/ESP32APA102Driver/main/ESP32APA102Driver.c:27: undefined reference to `initLEDs'
/home/schoch/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/schoch/dev/ESP32APA102Driver/main/ESP32APA102Driver.c:28: undefined reference to `initComplexColourObject'
/home/schoch/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/schoch/dev/ESP32APA102Driver/main/ESP32APA102Driver.c:41: undefined reference to `getColour'
/home/schoch/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/schoch/dev/ESP32APA102Driver/main/ESP32APA102Driver.c:46: undefined reference to `setPixel'
/home/schoch/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/schoch/dev/ESP32APA102Driver/main/ESP32APA102Driver.c:47: undefined reference to `getPixel'
/home/schoch/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/schoch/dev/ESP32APA102Driver/main/ESP32APA102Driver.c:50: undefined reference to `setPixel'
collect2: error: ld returned 1 exit status
make[2]: *** [ESP32APA102Driver.elf] Error 1
make[1]: *** [CMakeFiles/ESP32APA102Driver.elf.dir/all] Error 2
make: *** [all] Error 2
make failed with exit code 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment