Executing action: all (aliases: build)
Running ninja in directory /Users/rdzleo/Desktop/Kapi_Rtc/build
Executing "ninja all"...
[1/262] Linking C static library esp-idf/protobuf-c/libprotobuf-c.a
[2/262] Building C object esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/proto-c/constants.pb-c.c.obj
[3/262] Building C object esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_utils_cache.c.obj
[4/262] Linking C static library esp-idf/console/libconsole.a
[5/262] Building C object esp-idf/unity/CMakeFiles/__idf_unity.dir/port/esp/unity_utils_memory_esp.c.obj
[6/262] Building C object esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/proto-c/sec1.pb-c.c.obj
[7/262] Building C object esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/proto-c/sec0.pb-c.c.obj
[8/262] Building C object esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_utils_memory.c.obj
[9/262] Building C object esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_port_esp32.c.obj
[10/262] Building C object esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/proto-c/sec2.pb-c.c.obj
[11/262] Building C object esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/proto-c/session.pb-c.c.obj
[12/262] Building C object esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/common/protocomm.c.obj
[13/262] Building C object esp-idf/esp_https_server/CMakeFiles/__idf_esp_https_server.dir/src/https_server.c.obj
[14/262] Building C object esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/crypto/srp6a/esp_srp_mpi.c.obj
[15/262] Building C object esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/transports/protocomm_console.c.obj
[16/262] Building C object esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/security/security0.c.obj
[17/262] Building C object esp-idf/common/CMakeFiles/__idf_common.dir/src/volc_rtc.c.obj
FAILED: [code=1] esp-idf/common/CMakeFiles/__idf_common.dir/src/volc_rtc.c.obj 
/Users/rdzleo/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc -DESP_PLATFORM -DIDF_VER=\"v5.4.2-dirty\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -I/Users/rdzleo/Desktop/Kapi_Rtc/build/config -I/Users/rdzleo/Desktop/Kapi_Rtc/components/common/inc -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/newlib/platform_include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/freertos/config/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/freertos/config/include/freertos -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/freertos/config/xtensa/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/freertos/esp_additions/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/esp_hw_support/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/esp_hw_support/include/soc -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/esp_hw_support/include/soc/esp32s3 -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/esp_hw_support/dma/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/esp_hw_support/ldo/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/esp_hw_support/debug_probe/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/esp_hw_support/port/esp32s3/. -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/esp_hw_support/port/esp32s3/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/heap/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/heap/tlsf -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/log/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/soc/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/soc/esp32s3 -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/soc/esp32s3/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/soc/esp32s3/register -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/hal/platform_port/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/hal/esp32s3/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/hal/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/esp_rom/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/esp_rom/esp32s3/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/esp_rom/esp32s3/include/esp32s3 -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/esp_rom/esp32s3 -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/esp_common/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/esp_system/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/esp_system/port/soc -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/esp_system/port/include/private -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/xtensa/esp32s3/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/xtensa/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/xtensa/deprecated_include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/esp_timer/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/lwip/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/lwip/include/apps -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/lwip/include/apps/sntp -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/lwip/lwip/src/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/lwip/port/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/lwip/port/freertos/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/lwip/port/esp32xx/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/lwip/port/esp32xx/include/arch -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/lwip/port/esp32xx/include/sys -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/json/cJSON -I/Users/rdzleo/Desktop/Kapi_Rtc/components/volc_engine_rtc_lite/inc -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/mbedtls/port/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/mbedtls/mbedtls/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/mbedtls/mbedtls/library -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/mbedtls/esp_crt_bundle/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/mbedtls/mbedtls/3rdparty/everest/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/esp_netif/include -I/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/components/esp_event/include -mlongcalls  -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -fdiagnostics-color=always -Wno-missing-field-initializers -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-error=extra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -mdisable-hardware-atomics -Og -fno-shrink-wrap -fmacro-prefix-map=/Users/rdzleo/Desktop/Kapi_Rtc=. -fmacro-prefix-map=/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wno-old-style-declaration -MD -MT esp-idf/common/CMakeFiles/__idf_common.dir/src/volc_rtc.c.obj -MF esp-idf/common/CMakeFiles/__idf_common.dir/src/volc_rtc.c.obj.d -o esp-idf/common/CMakeFiles/__idf_common.dir/src/volc_rtc.c.obj -c /Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:38:5: error: unknown type name 'volc_room_info_t'
   38 |     volc_room_info_t info;
      |     ^~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:39:5: error: unknown type name 'volc_msg_cb'
   39 |     volc_msg_cb message_callback;
      |     ^~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:40:5: error: unknown type name 'volc_data_cb'
   40 |     volc_data_cb data_callback;
      |     ^~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:41:5: error: unknown type name 'byte_rtc_engine_t'
   41 |     byte_rtc_engine_t rtc;
      |     ^~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:42:5: error: unknown type name 'byte_rtc_event_handler_t'
   42 |     byte_rtc_event_handler_t event_handler;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:79:41: error: unknown type name 'volc_rtc_option_t'
   79 | static int __rtc_start(rtc_impl_t* rtc, volc_rtc_option_t* option)
      |                                         ^~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c: In function '__rtc_stop':
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:116:15: error: implicit declaration of function 'byte_rtc_leave_room' [-Wimplicit-function-declaration]
  116 |     int ret = byte_rtc_leave_room(rtc->rtc, rtc->p_channel_name);
      |               ^~~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c: At top level:
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:127:52: error: unknown type name 'volc_msg_t'; did you mean 'volc_list_t'?
  127 | static void __send_message_2_user(rtc_impl_t* rtc, volc_msg_t* msg)
      |                                                    ^~~~~~~~~~
      |                                                    volc_list_t
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:134:81: error: unknown type name 'volc_data_info_t'
  134 | static void __send_data_2_user(rtc_impl_t* rtc, const void* data, int data_len, volc_data_info_t* info) {
      |                                                                                 ^~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:140:55: error: unknown type name 'volc_msg_cb'
  140 | static void _register_message_router(rtc_impl_t* rtc, volc_msg_cb callback)
      |                                                       ^~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:145:51: error: unknown type name 'volc_msg_t'; did you mean 'volc_list_t'?
  145 | static void _send_message_2_user(rtc_impl_t* rtc, volc_msg_t* msg)
      |                                                   ^~~~~~~~~~
      |                                                   volc_list_t
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:174:38: error: unknown type name 'byte_rtc_engine_t'
  174 | static void _on_join_channel_success(byte_rtc_engine_t engine, const char* channel, int elapsed_ms, bool rejoin)
      |                                      ^~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:187:29: error: unknown type name 'byte_rtc_engine_t'
  187 | static void _on_user_joined(byte_rtc_engine_t engine, const char* channel, const char* user_name, int elapsed_ms)
      |                             ^~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:200:30: error: unknown type name 'byte_rtc_engine_t'
  200 | static void _on_user_offline(byte_rtc_engine_t engine, const char* channel, const char* user_name, int reason)
      |                              ^~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:211:33: error: unknown type name 'byte_rtc_engine_t'
  211 | static void _on_user_mute_audio(byte_rtc_engine_t engine, const char* channel, const char* user_name, int muted)
      |                                 ^~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:216:33: error: unknown type name 'byte_rtc_engine_t'
  216 | static void _on_user_mute_video(byte_rtc_engine_t engine, const char* channel, const char* user_name, int muted)
      |                                 ^~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:221:28: error: unknown type name 'byte_rtc_engine_t'
  221 | static void _on_audio_data(byte_rtc_engine_t engine, const char* channel, const char* user_name, uint16_t sent_ts, audio_data_type_e data_type,
      |                            ^~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:221:116: error: unknown type name 'audio_data_type_e'
  221 | static void _on_audio_data(byte_rtc_engine_t engine, const char* channel, const char* user_name, uint16_t sent_ts, audio_data_type_e data_type,
      |                                                                                                                    ^~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:237:28: error: unknown type name 'byte_rtc_engine_t'
  237 | static void _on_video_data(byte_rtc_engine_t engine, const char* channel, const char* user_name, uint16_t sent_ts, video_data_type_e codec,
      |                            ^~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:237:116: error: unknown type name 'video_data_type_e'
  237 | static void _on_video_data(byte_rtc_engine_t engine, const char* channel, const char* user_name, uint16_t sent_ts, video_data_type_e codec,
      |                                                                                                                    ^~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:261:31: error: unknown type name 'byte_rtc_engine_t'
  261 | static void _on_channel_error(byte_rtc_engine_t engine, const char* channel, int code, const char* msg)
      |                               ^~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:271:30: error: unknown type name 'byte_rtc_engine_t'
  271 | static void _on_global_error(byte_rtc_engine_t engine, int code, const char* message)
      |                              ^~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:283:35: error: unknown type name 'byte_rtc_engine_t'
  283 | static void _on_key_frame_gen_req(byte_rtc_engine_t engine, const char* channel, const char* user_name)
      |                                   ^~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:292:40: error: unknown type name 'byte_rtc_engine_t'
  292 | static void _on_target_bitrate_changed(byte_rtc_engine_t engine, const char* channel, uint32_t target_bps)
      |                                        ^~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:304:45: error: unknown type name 'byte_rtc_engine_t'
  304 | static void _on_token_privilege_will_expire(byte_rtc_engine_t engine, const char* token)
      |                                             ^~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:314:34: error: unknown type name 'byte_rtc_engine_t'
  314 | static void _on_message_received(byte_rtc_engine_t engine, const char* channel_name, const char* src, const uint8_t* message, int size, bool binary)
      |                                  ^~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:338:37: error: unknown type name 'byte_rtc_engine_t'
  338 | static void _on_message_send_result(byte_rtc_engine_t engine, const char* channel_name, int64_t msgid, int error, const char* extencontent)
      |                                     ^~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:343:37: error: unknown type name 'byte_rtc_engine_t'
  343 | static void _on_license_will_expire(byte_rtc_engine_t engine, int daysleft)
      |                                     ^~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:352:29: error: unknown type name 'byte_rtc_engine_t'
  352 | static void _on_fini_notify(byte_rtc_engine_t engine)
      |                             ^~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c: In function '__rtc_init':
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:365:5: error: unknown type name 'byte_rtc_event_handler_t'
  365 |     byte_rtc_event_handler_t rtc_event_handler = {.on_global_error = _on_global_error,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:365:51: error: field name not in record or union initializer
  365 |     byte_rtc_event_handler_t rtc_event_handler = {.on_global_error = _on_global_error,
      |                                                   ^
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:365:51: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:365:70: error: '_on_global_error' undeclared (first use in this function)
  365 |     byte_rtc_event_handler_t rtc_event_handler = {.on_global_error = _on_global_error,
      |                                                                      ^~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:365:70: note: each undeclared identifier is reported only once for each function it appears in
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:366:51: error: field name not in record or union initializer
  366 |                                                   .on_join_room_success = _on_join_channel_success,
      |                                                   ^
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:366:51: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:366:75: error: '_on_join_channel_success' undeclared (first use in this function)
  366 |                                                   .on_join_room_success = _on_join_channel_success,
      |                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:366:75: warning: excess elements in scalar initializer
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:366:75: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:367:51: error: field name not in record or union initializer
  367 |                                                   .on_room_error = _on_channel_error,
      |                                                   ^
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:367:51: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:367:68: error: '_on_channel_error' undeclared (first use in this function)
  367 |                                                   .on_room_error = _on_channel_error,
      |                                                                    ^~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:367:68: warning: excess elements in scalar initializer
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:367:68: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:368:51: error: field name not in record or union initializer
  368 |                                                   .on_user_joined = _on_user_joined,
      |                                                   ^
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:368:51: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:368:69: error: '_on_user_joined' undeclared (first use in this function)
  368 |                                                   .on_user_joined = _on_user_joined,
      |                                                                     ^~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:368:69: warning: excess elements in scalar initializer
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:368:69: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:369:51: error: field name not in record or union initializer
  369 |                                                   .on_user_offline = _on_user_offline,
      |                                                   ^
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:369:51: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:369:70: error: '_on_user_offline' undeclared (first use in this function)
  369 |                                                   .on_user_offline = _on_user_offline,
      |                                                                      ^~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:369:70: warning: excess elements in scalar initializer
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:369:70: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:370:51: error: field name not in record or union initializer
  370 |                                                   .on_user_mute_audio = _on_user_mute_audio,
      |                                                   ^
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:370:51: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:370:73: error: '_on_user_mute_audio' undeclared (first use in this function)
  370 |                                                   .on_user_mute_audio = _on_user_mute_audio,
      |                                                                         ^~~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:370:73: warning: excess elements in scalar initializer
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:370:73: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:371:51: error: field name not in record or union initializer
  371 |                                                   .on_user_mute_video = _on_user_mute_video,
      |                                                   ^
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:371:51: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:371:73: error: '_on_user_mute_video' undeclared (first use in this function)
  371 |                                                   .on_user_mute_video = _on_user_mute_video,
      |                                                                         ^~~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:371:73: warning: excess elements in scalar initializer
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:371:73: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:372:51: error: field name not in record or union initializer
  372 |                                                   .on_audio_data = _on_audio_data,
      |                                                   ^
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:372:51: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:372:68: error: '_on_audio_data' undeclared (first use in this function)
  372 |                                                   .on_audio_data = _on_audio_data,
      |                                                                    ^~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:372:68: warning: excess elements in scalar initializer
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:372:68: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:373:51: error: field name not in record or union initializer
  373 |                                                   .on_video_data = _on_video_data,
      |                                                   ^
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:373:51: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:373:68: error: '_on_video_data' undeclared (first use in this function)
  373 |                                                   .on_video_data = _on_video_data,
      |                                                                    ^~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:373:68: warning: excess elements in scalar initializer
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:373:68: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:374:51: error: field name not in record or union initializer
  374 |                                                   .on_key_frame_gen_req = _on_key_frame_gen_req,
      |                                                   ^
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:374:51: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:374:75: error: '_on_key_frame_gen_req' undeclared (first use in this function)
  374 |                                                   .on_key_frame_gen_req = _on_key_frame_gen_req,
      |                                                                           ^~~~~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:374:75: warning: excess elements in scalar initializer
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:374:75: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:375:51: error: field name not in record or union initializer
  375 |                                                   .on_target_bitrate_changed = _on_target_bitrate_changed,
      |                                                   ^
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:375:51: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:375:80: error: '_on_target_bitrate_changed' undeclared (first use in this function)
  375 |                                                   .on_target_bitrate_changed = _on_target_bitrate_changed,
      |                                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:375:80: warning: excess elements in scalar initializer
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:375:80: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:376:51: error: field name not in record or union initializer
  376 |                                                   .on_token_privilege_will_expire = _on_token_privilege_will_expire,
      |                                                   ^
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:376:51: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:376:85: error: '_on_token_privilege_will_expire' undeclared (first use in this function)
  376 |                                                   .on_token_privilege_will_expire = _on_token_privilege_will_expire,
      |                                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:376:85: warning: excess elements in scalar initializer
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:376:85: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:377:51: error: field name not in record or union initializer
  377 |                                                   .on_message_received = _on_message_received,
      |                                                   ^
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:377:51: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:377:74: error: '_on_message_received' undeclared (first use in this function)
  377 |                                                   .on_message_received = _on_message_received,
      |                                                                          ^~~~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:377:74: warning: excess elements in scalar initializer
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:377:74: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:378:51: error: field name not in record or union initializer
  378 |                                                   .on_message_send_result = _on_message_send_result,
      |                                                   ^
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:378:51: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:378:77: error: '_on_message_send_result' undeclared (first use in this function)
  378 |                                                   .on_message_send_result = _on_message_send_result,
      |                                                                             ^~~~~~~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:378:77: warning: excess elements in scalar initializer
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:378:77: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:379:51: error: field name not in record or union initializer
  379 |                                                   .on_license_expire_warning = _on_license_will_expire,
      |                                                   ^
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:379:51: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:379:80: error: '_on_license_will_expire' undeclared (first use in this function)
  379 |                                                   .on_license_expire_warning = _on_license_will_expire,
      |                                                                                ^~~~~~~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:379:80: warning: excess elements in scalar initializer
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:379:80: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:380:51: error: field name not in record or union initializer
  380 |                                                   .on_fini_notify = _on_fini_notify};
      |                                                   ^
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:380:51: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:380:69: error: '_on_fini_notify' undeclared (first use in this function)
  380 |                                                   .on_fini_notify = _on_fini_notify};
      |                                                                     ^~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:380:69: warning: excess elements in scalar initializer
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:380:69: note: (near initialization for 'rtc_event_handler')
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:382:70: error: 'AUDIO_CODEC_TYPE_G711U' undeclared (first use in this function)
  382 |     if (ret != 0 || engine->audio_codec < 0 || engine->audio_codec > AUDIO_CODEC_TYPE_G711U) {
      |                                                                      ^~~~~~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:387:54: error: 'VIDEO_CODEC_TYPE_BYTEVC1' undeclared (first use in this function)
  387 |     if (ret != 0 || video_codec < 0 || video_codec > VIDEO_CODEC_TYPE_BYTEVC1) {
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:393:20: error: 'BYTE_RTC_LOG_LEVEL_WARN' undeclared (first use in this function); did you mean 'VOLC_LOG_LEVEL_WARN'?
  393 |        log_level = BYTE_RTC_LOG_LEVEL_WARN; // default log level
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
      |                    VOLC_LOG_LEVEL_WARN
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:412:19: error: implicit declaration of function 'byte_rtc_create' [-Wimplicit-function-declaration]
  412 |     engine->rtc = byte_rtc_create(engine->p_appid, &rtc_event_handler);
      |                   ^~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:413:5: error: implicit declaration of function 'byte_rtc_set_user_data' [-Wimplicit-function-declaration]
  413 |     byte_rtc_set_user_data(engine->rtc, (void*) engine);
      |     ^~~~~~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:414:5: error: implicit declaration of function 'byte_rtc_set_log_level' [-Wimplicit-function-declaration]
  414 |     byte_rtc_set_log_level(engine->rtc, log_level);
      |     ^~~~~~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:424:25: error: implicit declaration of function 'byte_rtc_set_params' [-Wimplicit-function-declaration]
  424 |                         byte_rtc_set_params(engine->rtc, param_str);
      |                         ^~~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:432:5: error: implicit declaration of function 'byte_rtc_init' [-Wimplicit-function-declaration]
  432 |     byte_rtc_init(engine->rtc);
      |     ^~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:433:5: error: implicit declaration of function 'byte_rtc_set_audio_codec' [-Wimplicit-function-declaration]
  433 |     byte_rtc_set_audio_codec(engine->rtc, engine->audio_codec);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:434:5: error: implicit declaration of function 'byte_rtc_set_video_codec' [-Wimplicit-function-declaration]
  434 |     byte_rtc_set_video_codec(engine->rtc, video_codec - 1); // -1 for default codec
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c: At top level:
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:438:1: error: unknown type name 'volc_rtc_t'
  438 | volc_rtc_t volc_rtc_create(const char* appid, void* context, cJSON* p_config, volc_msg_cb message_callback, volc_data_cb data_callback)
      | ^~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:438:79: error: unknown type name 'volc_msg_cb'
  438 | volc_rtc_t volc_rtc_create(const char* appid, void* context, cJSON* p_config, volc_msg_cb message_callback, volc_data_cb data_callback)
      |                                                                               ^~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:438:109: error: unknown type name 'volc_data_cb'
  438 | volc_rtc_t volc_rtc_create(const char* appid, void* context, cJSON* p_config, volc_msg_cb message_callback, volc_data_cb data_callback)
      |                                                                                                             ^~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:467:23: error: unknown type name 'volc_rtc_t'
  467 | void volc_rtc_destroy(volc_rtc_t handle)
      |                       ^~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:488:20: error: unknown type name 'volc_rtc_t'
  488 | int volc_rtc_start(volc_rtc_t rtc, const char* bot_id, volc_iot_info_t* iot_info) {
      |                    ^~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:488:56: error: unknown type name 'volc_iot_info_t'; did you mean 'volc_list_init'?
  488 | int volc_rtc_start(volc_rtc_t rtc, const char* bot_id, volc_iot_info_t* iot_info) {
      |                                                        ^~~~~~~~~~~~~~~
      |                                                        volc_list_init
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:505:19: error: unknown type name 'volc_rtc_t'
  505 | int volc_rtc_stop(volc_rtc_t handle) {
      |                   ^~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:515:19: error: unknown type name 'volc_rtc_t'
  515 | int volc_rtc_send(volc_rtc_t handle, const void* data, int size, volc_data_info_t* data_info) {
      |                   ^~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:515:66: error: unknown type name 'volc_data_info_t'
  515 | int volc_rtc_send(volc_rtc_t handle, const void* data, int size, volc_data_info_t* data_info) {
      |                                                                  ^~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:551:24: error: unknown type name 'volc_rtc_t'
  551 | int volc_rtc_interrupt(volc_rtc_t rtc) {
      |                        ^~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:574:23: error: unknown type name 'volc_rtc_t'
  574 | int volc_rtc_send_jpg(volc_rtc_t rtc, void* data, int size) {
      |                       ^~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:358:12: warning: '__rtc_init' defined but not used [-Wunused-function]
  358 | static int __rtc_init(rtc_impl_t* engine, cJSON* p_config)
      |            ^~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:163:12: warning: '_on_conversion_status_message_parsed' defined but not used [-Wunused-function]
  163 | static int _on_conversion_status_message_parsed(uint8_t* message) {
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:152:13: warning: '_is_target_message' defined but not used [-Wunused-function]
  152 | static bool _is_target_message(const uint8_t* message, const char* target) {
      |             ^~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:105:13: warning: '__rtc_stop' defined but not used [-Wunused-function]
  105 | static void __rtc_stop(rtc_impl_t* rtc)
      |             ^~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:50:12: warning: '_build_binary_message' defined but not used [-Wunused-function]
   50 | static int _build_binary_message(const char* magic, const char* message,
      |            ^~~~~~~~~~~~~~~~~~~~~
/Users/rdzleo/Desktop/Kapi_Rtc/components/common/src/volc_rtc.c:45:13: warning: '__is_first_keyframe_not_received' defined but not used [-Wunused-function]
   45 | static bool __is_first_keyframe_not_received(rtc_impl_t* rtc, int is_key_frame)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[18/262] Building CXX object esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/Partition.cpp.obj
[19/262] Building C object esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/simple_ble/simple_ble.c.obj
[20/262] Building C object esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/crypto/srp6a/esp_srp.c.obj
[21/262] Building CXX object esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/SPI_Flash.cpp.obj
[22/262] Building C object esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/transports/protocomm_httpd.c.obj
[23/262] Building C object esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/security/security1.c.obj
[24/262] Building C object esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/security/security2.c.obj
[25/262] Building C object esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/src/transports/protocomm_ble.c.obj
[26/262] Building CXX object esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/WL_Ext_Perf.cpp.obj
[27/262] Building CXX object esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/WL_Ext_Safe.cpp.obj
[28/262] Building CXX object esp-idf/wear_levelling/CMakeFiles/__idf_wear_levelling.dir/WL_Flash.cpp.obj
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /Users/rdzleo/Desktop/Kapi_Rtc/build/log/idf_py_stderr_output_63710 and /Users/rdzleo/Desktop/Kapi_Rtc/build/log/idf_py_stdout_output_63710
