Example does not build after installation
Posted: Mon Sep 18, 2023 1:06 pm
Ubuntu 20.04 VM. I followed the steps as described in https://docs.espressif.com/projects/esp ... oping.html
All fine. sdk is in /home/xx/github/esp-idf, . ./export.sh done.
Then - so what do I do wrong?
$ cd /home/xx/github/esp-zigbee-sdk/examples/esp_zigbee_sleep/
$ idf.py set-target esp32c6
....
-- Configuring done
-- Generating done
-- Build files have been written to: /home/xx/github/esp-zigbee-sdk/examples/esp_zigbee_sleep/sleepy_end_device/build
$ idf.py build
................
(rebuilding esp-idf)
................
[100%] Linking CXX executable sleepy_end_device.elf
/home/xx/.espressif/tools/riscv32-esp-elf/esp-12.2.0_20230208/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/12.2.0/../../../../riscv32-esp-elf/bin/ld: ../managed_components/espressif__esp-zboss-lib/lib/esp32c6/libzboss_port.a(zb_esp_sleep.c.obj): in function `.L0 ':
(.text.zb_esp_sleep_process+0x24): undefined reference to `esp_ieee802154_enter_sleep'
/home/xx/.espressif/tools/riscv32-esp-elf/esp-12.2.0_20230208/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/12.2.0/../../../../riscv32-esp-elf/bin/ld: (.text.zb_esp_wakeup_process+0x20): undefined reference to `esp_ieee802154_wakeup'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/sleepy_end_device.elf.dir/build.make:529: sleepy_end_device.elf] Error 1
make[1]: *** [CMakeFiles/Makefile2:1938: CMakeFiles/sleepy_end_device.elf.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
make failed with exit code 2, output of the command is in the /home/xx/github/esp-zigbee-sdk/examples/esp_zigbee_sleep/sleepy_end_device/build/log/idf_py_stderr_output_21083 and /home/xx/github/esp-zigbee-sdk/examples/esp_zigbee_sleep/sleepy_end_device/build/log/idf_py_stdout_output_21083
All fine. sdk is in /home/xx/github/esp-idf, . ./export.sh done.
Then - so what do I do wrong?
$ cd /home/xx/github/esp-zigbee-sdk/examples/esp_zigbee_sleep/
$ idf.py set-target esp32c6
....
-- Configuring done
-- Generating done
-- Build files have been written to: /home/xx/github/esp-zigbee-sdk/examples/esp_zigbee_sleep/sleepy_end_device/build
$ idf.py build
................
(rebuilding esp-idf)
................
[100%] Linking CXX executable sleepy_end_device.elf
/home/xx/.espressif/tools/riscv32-esp-elf/esp-12.2.0_20230208/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/12.2.0/../../../../riscv32-esp-elf/bin/ld: ../managed_components/espressif__esp-zboss-lib/lib/esp32c6/libzboss_port.a(zb_esp_sleep.c.obj): in function `.L0 ':
(.text.zb_esp_sleep_process+0x24): undefined reference to `esp_ieee802154_enter_sleep'
/home/xx/.espressif/tools/riscv32-esp-elf/esp-12.2.0_20230208/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/12.2.0/../../../../riscv32-esp-elf/bin/ld: (.text.zb_esp_wakeup_process+0x20): undefined reference to `esp_ieee802154_wakeup'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/sleepy_end_device.elf.dir/build.make:529: sleepy_end_device.elf] Error 1
make[1]: *** [CMakeFiles/Makefile2:1938: CMakeFiles/sleepy_end_device.elf.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
make failed with exit code 2, output of the command is in the /home/xx/github/esp-zigbee-sdk/examples/esp_zigbee_sleep/sleepy_end_device/build/log/idf_py_stderr_output_21083 and /home/xx/github/esp-zigbee-sdk/examples/esp_zigbee_sleep/sleepy_end_device/build/log/idf_py_stdout_output_21083