usqlite icon indicating copy to clipboard operation
usqlite copied to clipboard

usqlite doesn't work for esp32-s3

Open specternecter opened this issue 1 year ago • 1 comments

I have spent a ridiculous amount of time trying to get usqlite to work for esp32-s3 using micropython 1.25. It gives TONS of errors. I followed the recommendations and used make BOARD=PYDER USER_C_MODULES="~/esp-idf/modules/micropython.cmake" but get ....

FAILED: esp-idf/main_esp32s3/CMakeFiles/idf_main_esp32s3.dir///frozen_content.c.obj /home/brad/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc -DBERKELEY_DB_CONFIG_FILE="/home/brad/esp-idf/micropython/extmod/berkeley-db/berkeley_db_config_port.h" -DCFG_TUSB_MCU=OPT_MCU_ESP32S3 -DESP_PLATFORM -DFFCONF_H="/home/brad/esp-idf/micropython/lib/oofatfs/ffconf.h" -DIDF_VER="v5.2" -DLFS1_NO_ASSERT -DLFS1_NO_DEBUG -DLFS1_NO_ERROR -DLFS1_NO_MALLOC -DLFS1_NO_WARN -DLFS2_NO_ASSERT -DLFS2_NO_DEBUG -DLFS2_NO_ERROR -DLFS2_NO_MALLOC -DLFS2_NO_WARN -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -DMICROPY_ESP_IDF_4=1 -DMICROPY_MODULE_FROZEN_MPY="(1)" -DMICROPY_PY_BTREE=1 -DMICROPY_QSTR_EXTRA_POOL=mp_qstr_frozen_const_pool -DMICROPY_VFS_FAT=1 -DMICROPY_VFS_LFS2=1 -DNDEBUG -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/home/brad/esp-idf/micropython/ports/esp32/build-PYDER/config -I/home/brad/esp-idf/micropython -I/home/brad/esp-idf/micropython/lib/berkeley-db-1.xx/include -I/home/brad/esp-idf/modules/usqlite -I/home/brad/esp-idf/micropython/lib/tinyusb/src -I/home/brad/esp-idf/micropython/shared/tinyusb -I/home/brad/esp-idf/micropython/ports/esp32 -I/home/brad/esp-idf/micropython/ports/esp32/boards/PYDER -I/home/brad/esp-idf/micropython/ports/esp32/build-PYDER -I/home/brad/esp-idf/components/bt/host/nimble/nimble -I/home/brad/esp-idf/components/newlib/platform_include -I/home/brad/esp-idf/components/freertos/config/include -I/home/brad/esp-idf/components/freertos/config/include/freertos -I/home/brad/esp-idf/components/freertos/config/xtensa/include -I/home/brad/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/brad/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -I/home/brad/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos -I/home/brad/esp-idf/components/freertos/esp_additions/include -I/home/brad/esp-idf/components/esp_hw_support/include -I/home/brad/esp-idf/components/esp_hw_support/include/soc -I/home/brad/esp-idf/components/esp_hw_support/include/soc/esp32s3 -I/home/brad/esp-idf/components/esp_hw_support/port/esp32s3/. -I/home/brad/esp-idf/components/heap/include -I/home/brad/esp-idf/components/log/include -I/home/brad/esp-idf/components/soc/include -I/home/brad/esp-idf/components/soc/esp32s3 -I/home/brad/esp-idf/components/soc/esp32s3/include -I/home/brad/esp-idf/components/hal/platform_port/include -I/home/brad/esp-idf/components/hal/esp32s3/include -I/home/brad/esp-idf/components/hal/include -I/home/brad/esp-idf/components/esp_rom/include -I/home/brad/esp-idf/components/esp_rom/include/esp32s3 -I/home/brad/esp-idf/components/esp_rom/esp32s3 -I/home/brad/esp-idf/components/esp_common/include -I/home/brad/esp-idf/components/esp_system/include -I/home/brad/esp-idf/components/esp_system/port/soc -I/home/brad/esp-idf/components/esp_system/port/include/private -I/home/brad/esp-idf/components/xtensa/esp32s3/include -I/home/brad/esp-idf/components/xtensa/include -I/home/brad/esp-idf/components/xtensa/deprecated_include -I/home/brad/esp-idf/components/lwip/include -I/home/brad/esp-idf/components/lwip/include/apps -I/home/brad/esp-idf/components/lwip/include/apps/sntp -I/home/brad/esp-idf/components/lwip/lwip/src/include -I/home/brad/esp-idf/components/lwip/port/include -I/home/brad/esp-idf/components/lwip/port/freertos/include -I/home/brad/esp-idf/components/lwip/port/esp32xx/include -I/home/brad/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/brad/esp-idf/components/lwip/port/esp32xx/include/sys -I/home/brad/esp-idf/components/app_update/include -I/home/brad/esp-idf/components/bootloader_support/include -I/home/brad/esp-idf/components/bootloader_support/bootloader_flash/include -I/home/brad/esp-idf/components/esp_app_format/include -I/home/brad/esp-idf/components/esp_bootloader_format/include -I/home/brad/esp-idf/components/esp_partition/include -I/home/brad/esp-idf/components/bt/include/esp32c3/include -I/home/brad/esp-idf/components/bt/common/osi/include -I/home/brad/esp-idf/components/bt/common/api/include/api -I/home/brad/esp-idf/components/bt/common/btc/profile/esp/blufi/include -I/home/brad/esp-idf/components/bt/common/btc/profile/esp/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/ans/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/bas/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/dis/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/gap/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/gatt/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/hr/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/htp/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/ias/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/ipss/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/lls/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/prox/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/cts/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/tps/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/hid/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/sps/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/util/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/store/ram/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/store/config/include -I/home/brad/esp-idf/components/bt/porting/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/porting/nimble/include -I/home/brad/esp-idf/components/bt/host/nimble/port/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/transport/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/porting/npl/freertos/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/include -I/home/brad/esp-idf/components/bt/host/nimble/esp-hci/include -I/home/brad/esp-idf/components/esp_timer/include -I/home/brad/esp-idf/components/esp_wifi/include -I/home/brad/esp-idf/components/esp_wifi/wifi_apps/include -I/home/brad/esp-idf/components/esp_event/include -I/home/brad/esp-idf/components/esp_phy/include -I/home/brad/esp-idf/components/esp_phy/esp32s3/include -I/home/brad/esp-idf/components/esp_netif/include -I/home/brad/esp-idf/components/driver/include -I/home/brad/esp-idf/components/driver/deprecated -I/home/brad/esp-idf/components/driver/analog_comparator/include -I/home/brad/esp-idf/components/driver/dac/include -I/home/brad/esp-idf/components/driver/gpio/include -I/home/brad/esp-idf/components/driver/gptimer/include -I/home/brad/esp-idf/components/driver/i2c/include -I/home/brad/esp-idf/components/driver/i2s/include -I/home/brad/esp-idf/components/driver/ledc/include -I/home/brad/esp-idf/components/driver/mcpwm/include -I/home/brad/esp-idf/components/driver/parlio/include -I/home/brad/esp-idf/components/driver/pcnt/include -I/home/brad/esp-idf/components/driver/rmt/include -I/home/brad/esp-idf/components/driver/sdio_slave/include -I/home/brad/esp-idf/components/driver/sdmmc/include -I/home/brad/esp-idf/components/driver/sigma_delta/include -I/home/brad/esp-idf/components/driver/spi/include -I/home/brad/esp-idf/components/driver/temperature_sensor/include -I/home/brad/esp-idf/components/driver/touch_sensor/include -I/home/brad/esp-idf/components/driver/twai/include -I/home/brad/esp-idf/components/driver/uart/include -I/home/brad/esp-idf/components/driver/usb_serial_jtag/include -I/home/brad/esp-idf/components/driver/touch_sensor/esp32s3/include -I/home/brad/esp-idf/components/esp_pm/include -I/home/brad/esp-idf/components/esp_ringbuf/include -I/home/brad/esp-idf/components/esp_adc/include -I/home/brad/esp-idf/components/esp_adc/interface -I/home/brad/esp-idf/components/esp_adc/esp32s3/include -I/home/brad/esp-idf/components/esp_adc/deprecated/include -I/home/brad/esp-idf/components/esp_eth/include -I/home/brad/esp-idf/components/esp_psram/include -I/home/brad/esp-idf/components/mbedtls/port/include -I/home/brad/esp-idf/components/mbedtls/mbedtls/include -I/home/brad/esp-idf/components/mbedtls/mbedtls/library -I/home/brad/esp-idf/components/mbedtls/mbedtls/3rdparty/everest/include -I/home/brad/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m -I/home/brad/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m -I/home/brad/esp-idf/components/nvs_flash/include -I/home/brad/esp-idf/components/spi_flash/include -I/home/brad/esp-idf/components/sdmmc/include -I/home/brad/esp-idf/components/ulp/ulp_common/include -I/home/brad/esp-idf/components/ulp/ulp_common/include/esp32s3 -I/home/brad/esp-idf/components/ulp/ulp_fsm/include -I/home/brad/esp-idf/components/ulp/ulp_fsm/include/esp32s3 -I/home/brad/esp-idf/components/usb/include -I/home/brad/esp-idf/components/vfs/include -I/home/brad/esp-idf/micropython/ports/esp32/managed_components/espressif__esp_tinyusb/include -I/home/brad/esp-idf/micropython/ports/esp32/managed_components/espressif__tinyusb/src -I/home/brad/esp-idf/components/freertos/FreeRTOS-Kernel/include/freertos -I/home/brad/esp-idf/micropython/ports/esp32/managed_components/espressif__mdns/include -I/home/brad/esp-idf/components/console -mlongcalls -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-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -O2 -fmacro-prefix-map=/home/brad/esp-idf/micropython/ports/esp32=. -fmacro-prefix-map=/home/brad/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wno-old-style-declaration -Wno-clobbered -Wno-deprecated-declarations -Wno-missing-field-initializers -DCFG_TUSB_MCU=OPT_MCU_ESP32S3 -mtext-section-literals -MD -MT esp-idf/main_esp32s3/CMakeFiles/idf_main_esp32s3.dir///frozen_content.c.obj -MF esp-idf/main_esp32s3/CMakeFiles/idf_main_esp32s3.dir///frozen_content.c.obj.d -o esp-idf/main_esp32s3/CMakeFiles/idf_main_esp32s3.dir///frozen_content.c.obj -c /home/brad/esp-idf/micropython/ports/esp32/build-PYDER/frozen_content.c /home/brad/esp-idf/micropython/ports/esp32/build-PYDER/frozen_content.c:192:5: error: redeclaration of enumerator 'MP_QSTR_Connection' 192 | MP_QSTR_Connection, | ^~~~~~~~~~~~~~~~~~ In file included from /home/brad/esp-idf/micropython/py/obj.h:33, from /home/brad/esp-idf/micropython/py/objint.h:30, from /home/brad/esp-idf/micropython/ports/esp32/build-PYDER/frozen_content.c:16: /home/brad/esp-idf/micropython/ports/esp32/build-PYDER/genhdr/qstrdefs.generated.h:232:7: note: previous definition of 'MP_QSTR_Connection' with type 'enum ' 232 | QDEF1(MP_QSTR_Connection, 42451, 10, "Connection") | ^~~~~~~~~~~~~~~~~~ /home/brad/esp-idf/micropython/py/qstr.h:52:35: note: in definition of macro 'QDEF1' 52 | #define QDEF1(id, hash, len, str) id, | ^~ /home/brad/esp-idf/micropython/ports/esp32/build-PYDER/frozen_content.c:489:5: error: redeclaration of enumerator 'MP_QSTR_cursor' 489 | MP_QSTR_cursor, | ^~~~~~~~~~~~~~ /home/brad/esp-idf/micropython/ports/esp32/build-PYDER/genhdr/qstrdefs.generated.h:649:7: note: previous definition of 'MP_QSTR_cursor' with type 'enum ' 649 | QDEF1(MP_QSTR_cursor, 64207, 6, "cursor") | ^~~~~~~~~~~~~~ /home/brad/esp-idf/micropython/py/qstr.h:52:35: note: in definition of macro 'QDEF1' 52 | #define QDEF1(id, hash, len, str) id, | ^~ /home/brad/esp-idf/micropython/ports/esp32/build-PYDER/frozen_content.c:725:5: error: redeclaration of enumerator 'MP_QSTR_row' 725 | MP_QSTR_row, | ^~~~~~~~~~~ /home/brad/esp-idf/micropython/ports/esp32/build-PYDER/genhdr/qstrdefs.generated.h:1007:7: note: previous definition of 'MP_QSTR_row' with type 'enum ' 1007 | QDEF1(MP_QSTR_row, 35759, 3, "row") | ^~~~~~~~~~~ /home/brad/esp-idf/micropython/py/qstr.h:52:35: note: in definition of macro 'QDEF1' 52 | #define QDEF1(id, hash, len, str) id, | ^~ /home/brad/esp-idf/micropython/ports/esp32/build-PYDER/frozen_content.c:802:5: error: redeclaration of enumerator 'MP_QSTR_uos' 802 | MP_QSTR_uos, | ^~~~~~~~~~~ /home/brad/esp-idf/micropython/ports/esp32/build-PYDER/genhdr/qstrdefs.generated.h:1131:7: note: previous definition of 'MP_QSTR_uos' with type 'enum ' 1131 | QDEF1(MP_QSTR_uos, 26604, 3, "uos") | ^~~~~~~~~~~ /home/brad/esp-idf/micropython/py/qstr.h:52:35: note: in definition of macro 'QDEF1' 52 | #define QDEF1(id, hash, len, str) id, | ^~ [274/290] Building C object esp-idf/main_esp32s3/CMakeFiles/__idf_main_esp32s3.dir/home/brad/esp-idf/modules/usqlite/usqlite.c.obj FAILED: esp-idf/main_esp32s3/CMakeFiles/__idf_main_esp32s3.dir/home/brad/esp-idf/modules/usqlite/usqlite.c.obj /home/brad/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc -DBERKELEY_DB_CONFIG_FILE="/home/brad/esp-idf/micropython/extmod/berkeley-db/berkeley_db_config_port.h" -DCFG_TUSB_MCU=OPT_MCU_ESP32S3 -DESP_PLATFORM -DFFCONF_H="/home/brad/esp-idf/micropython/lib/oofatfs/ffconf.h" -DIDF_VER="v5.2" -DLFS1_NO_ASSERT -DLFS1_NO_DEBUG -DLFS1_NO_ERROR -DLFS1_NO_MALLOC -DLFS1_NO_WARN -DLFS2_NO_ASSERT -DLFS2_NO_DEBUG -DLFS2_NO_ERROR -DLFS2_NO_MALLOC -DLFS2_NO_WARN -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -DMICROPY_ESP_IDF_4=1 -DMICROPY_MODULE_FROZEN_MPY="(1)" -DMICROPY_PY_BTREE=1 -DMICROPY_QSTR_EXTRA_POOL=mp_qstr_frozen_const_pool -DMICROPY_VFS_FAT=1 -DMICROPY_VFS_LFS2=1 -DNDEBUG -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/home/brad/esp-idf/micropython/ports/esp32/build-PYDER/config -I/home/brad/esp-idf/micropython -I/home/brad/esp-idf/micropython/lib/berkeley-db-1.xx/include -I/home/brad/esp-idf/modules/usqlite -I/home/brad/esp-idf/micropython/lib/tinyusb/src -I/home/brad/esp-idf/micropython/shared/tinyusb -I/home/brad/esp-idf/micropython/ports/esp32 -I/home/brad/esp-idf/micropython/ports/esp32/boards/PYDER -I/home/brad/esp-idf/micropython/ports/esp32/build-PYDER -I/home/brad/esp-idf/components/bt/host/nimble/nimble -I/home/brad/esp-idf/components/newlib/platform_include -I/home/brad/esp-idf/components/freertos/config/include -I/home/brad/esp-idf/components/freertos/config/include/freertos -I/home/brad/esp-idf/components/freertos/config/xtensa/include -I/home/brad/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/brad/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -I/home/brad/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos -I/home/brad/esp-idf/components/freertos/esp_additions/include -I/home/brad/esp-idf/components/esp_hw_support/include -I/home/brad/esp-idf/components/esp_hw_support/include/soc -I/home/brad/esp-idf/components/esp_hw_support/include/soc/esp32s3 -I/home/brad/esp-idf/components/esp_hw_support/port/esp32s3/. -I/home/brad/esp-idf/components/heap/include -I/home/brad/esp-idf/components/log/include -I/home/brad/esp-idf/components/soc/include -I/home/brad/esp-idf/components/soc/esp32s3 -I/home/brad/esp-idf/components/soc/esp32s3/include -I/home/brad/esp-idf/components/hal/platform_port/include -I/home/brad/esp-idf/components/hal/esp32s3/include -I/home/brad/esp-idf/components/hal/include -I/home/brad/esp-idf/components/esp_rom/include -I/home/brad/esp-idf/components/esp_rom/include/esp32s3 -I/home/brad/esp-idf/components/esp_rom/esp32s3 -I/home/brad/esp-idf/components/esp_common/include -I/home/brad/esp-idf/components/esp_system/include -I/home/brad/esp-idf/components/esp_system/port/soc -I/home/brad/esp-idf/components/esp_system/port/include/private -I/home/brad/esp-idf/components/xtensa/esp32s3/include -I/home/brad/esp-idf/components/xtensa/include -I/home/brad/esp-idf/components/xtensa/deprecated_include -I/home/brad/esp-idf/components/lwip/include -I/home/brad/esp-idf/components/lwip/include/apps -I/home/brad/esp-idf/components/lwip/include/apps/sntp -I/home/brad/esp-idf/components/lwip/lwip/src/include -I/home/brad/esp-idf/components/lwip/port/include -I/home/brad/esp-idf/components/lwip/port/freertos/include -I/home/brad/esp-idf/components/lwip/port/esp32xx/include -I/home/brad/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/brad/esp-idf/components/lwip/port/esp32xx/include/sys -I/home/brad/esp-idf/components/app_update/include -I/home/brad/esp-idf/components/bootloader_support/include -I/home/brad/esp-idf/components/bootloader_support/bootloader_flash/include -I/home/brad/esp-idf/components/esp_app_format/include -I/home/brad/esp-idf/components/esp_bootloader_format/include -I/home/brad/esp-idf/components/esp_partition/include -I/home/brad/esp-idf/components/bt/include/esp32c3/include -I/home/brad/esp-idf/components/bt/common/osi/include -I/home/brad/esp-idf/components/bt/common/api/include/api -I/home/brad/esp-idf/components/bt/common/btc/profile/esp/blufi/include -I/home/brad/esp-idf/components/bt/common/btc/profile/esp/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/ans/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/bas/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/dis/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/gap/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/gatt/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/hr/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/htp/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/ias/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/ipss/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/lls/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/prox/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/cts/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/tps/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/hid/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/services/sps/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/util/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/store/ram/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/host/store/config/include -I/home/brad/esp-idf/components/bt/porting/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/porting/nimble/include -I/home/brad/esp-idf/components/bt/host/nimble/port/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/transport/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/porting/npl/freertos/include -I/home/brad/esp-idf/components/bt/host/nimble/nimble/nimble/include -I/home/brad/esp-idf/components/bt/host/nimble/esp-hci/include -I/home/brad/esp-idf/components/esp_timer/include -I/home/brad/esp-idf/components/esp_wifi/include -I/home/brad/esp-idf/components/esp_wifi/wifi_apps/include -I/home/brad/esp-idf/components/esp_event/include -I/home/brad/esp-idf/components/esp_phy/include -I/home/brad/esp-idf/components/esp_phy/esp32s3/include -I/home/brad/esp-idf/components/esp_netif/include -I/home/brad/esp-idf/components/driver/include -I/home/brad/esp-idf/components/driver/deprecated -I/home/brad/esp-idf/components/driver/analog_comparator/include -I/home/brad/esp-idf/components/driver/dac/include -I/home/brad/esp-idf/components/driver/gpio/include -I/home/brad/esp-idf/components/driver/gptimer/include -I/home/brad/esp-idf/components/driver/i2c/include -I/home/brad/esp-idf/components/driver/i2s/include -I/home/brad/esp-idf/components/driver/ledc/include -I/home/brad/esp-idf/components/driver/mcpwm/include -I/home/brad/esp-idf/components/driver/parlio/include -I/home/brad/esp-idf/components/driver/pcnt/include -I/home/brad/esp-idf/components/driver/rmt/include -I/home/brad/esp-idf/components/driver/sdio_slave/include -I/home/brad/esp-idf/components/driver/sdmmc/include -I/home/brad/esp-idf/components/driver/sigma_delta/include -I/home/brad/esp-idf/components/driver/spi/include -I/home/brad/esp-idf/components/driver/temperature_sensor/include -I/home/brad/esp-idf/components/driver/touch_sensor/include -I/home/brad/esp-idf/components/driver/twai/include -I/home/brad/esp-idf/components/driver/uart/include -I/home/brad/esp-idf/components/driver/usb_serial_jtag/include -I/home/brad/esp-idf/components/driver/touch_sensor/esp32s3/include -I/home/brad/esp-idf/components/esp_pm/include -I/home/brad/esp-idf/components/esp_ringbuf/include -I/home/brad/esp-idf/components/esp_adc/include -I/home/brad/esp-idf/components/esp_adc/interface -I/home/brad/esp-idf/components/esp_adc/esp32s3/include -I/home/brad/esp-idf/components/esp_adc/deprecated/include -I/home/brad/esp-idf/components/esp_eth/include -I/home/brad/esp-idf/components/esp_psram/include -I/home/brad/esp-idf/components/mbedtls/port/include -I/home/brad/esp-idf/components/mbedtls/mbedtls/include -I/home/brad/esp-idf/components/mbedtls/mbedtls/library -I/home/brad/esp-idf/components/mbedtls/mbedtls/3rdparty/everest/include -I/home/brad/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m -I/home/brad/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m -I/home/brad/esp-idf/components/nvs_flash/include -I/home/brad/esp-idf/components/spi_flash/include -I/home/brad/esp-idf/components/sdmmc/include -I/home/brad/esp-idf/components/ulp/ulp_common/include -I/home/brad/esp-idf/components/ulp/ulp_common/include/esp32s3 -I/home/brad/esp-idf/components/ulp/ulp_fsm/include -I/home/brad/esp-idf/components/ulp/ulp_fsm/include/esp32s3 -I/home/brad/esp-idf/components/usb/include -I/home/brad/esp-idf/components/vfs/include -I/home/brad/esp-idf/micropython/ports/esp32/managed_components/espressif__esp_tinyusb/include -I/home/brad/esp-idf/micropython/ports/esp32/managed_components/espressif__tinyusb/src -I/home/brad/esp-idf/components/freertos/FreeRTOS-Kernel/include/freertos -I/home/brad/esp-idf/micropython/ports/esp32/managed_components/espressif__mdns/include -I/home/brad/esp-idf/components/console -mlongcalls -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-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -O2 -fmacro-prefix-map=/home/brad/esp-idf/micropython/ports/esp32=. -fmacro-prefix-map=/home/brad/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wno-old-style-declaration -Wno-clobbered -Wno-deprecated-declarations -Wno-missing-field-initializers -DCFG_TUSB_MCU=OPT_MCU_ESP32S3 -mtext-section-literals -MD -MT esp-idf/main_esp32s3/CMakeFiles/__idf_main_esp32s3.dir/home/brad/esp-idf/modules/usqlite/usqlite.c.obj -MF esp-idf/main_esp32s3/CMakeFiles/__idf_main_esp32s3.dir/home/brad/esp-idf/modules/usqlite/usqlite.c.obj.d -o esp-idf/main_esp32s3/CMakeFiles/__idf_main_esp32s3.dir/home/brad/esp-idf/modules/usqlite/usqlite.c.obj -c /home/brad/esp-idf/modules/usqlite/usqlite.c In file included from /home/brad/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/sys/reent.h:458, from /home/brad/esp-idf/components/newlib/platform_include/sys/reent.h:22, from /home/brad/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/stdio.h:60, from /home/brad/esp-idf/modules/usqlite/sqlite3.c:14830, from /home/brad/esp-idf/modules/usqlite/usqlite.c:50: /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3PcacheFetchFinish': /home/brad/esp-idf/modules/usqlite/sqlite3.c:54841:11: error: implicit declaration of function 'sqlite3PcachePageSanity'; did you mean 'sqlite3PcachePagecount'? [-Werror=implicit-function-declaration] 54841 | assert( sqlite3PcachePageSanity(pPgHdr) ); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'pcache1TruncateUnsafe': /home/brad/esp-idf/modules/usqlite/sqlite3.c:55927:11: error: 'nPage' undeclared (first use in this function); did you mean 'DbPage'? 55927 | assert( nPage<0 || pCache->nPage==(unsigned)nPage ); | ^~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:55927:11: note: each undeclared identifier is reported only once for each function it appears in /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'pcache1Fetch': /home/brad/esp-idf/modules/usqlite/sqlite3.c:56296:11: error: 'pCache' undeclared (first use in this function); did you mean 'PCache'? 56296 | assert( pCache->bPurgeable || createFlag!=1 ); | ^~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'pager_end_transaction': /home/brad/esp-idf/modules/usqlite/sqlite3.c:59241:11: error: implicit declaration of function 'assert_pager_state' [-Werror=implicit-function-declaration] 59241 | assert( assert_pager_state(pPager) ); | ^~~~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'subjournalPage': /home/brad/esp-idf/modules/usqlite/sqlite3.c:61721:13: error: implicit declaration of function 'pageInJournal' [-Werror=implicit-function-declaration] 61721 | || pageInJournal(pPager, pPg) | ^~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3PagerUnrefNotNull': /home/brad/esp-idf/modules/usqlite/sqlite3.c:62958:33: error: 'pPager' undeclared (first use in this function); did you mean 'Pager'? 62958 | assert( sqlite3PcacheRefCount(pPager->pPCache)>0 ); /* tag-20230419-2 */ | ^~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'walIndexPage': /home/brad/esp-idf/modules/usqlite/sqlite3.c:65718:39: error: 'Wal' has no member named 'nSehTry' 65718 | # define SEH_INJECT_FAULT assert( pWal->nSehTry>0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:65796:3: note: in expansion of macro 'SEH_INJECT_FAULT' 65796 | SEH_INJECT_FAULT; | ^~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'walCkptInfo': /home/brad/esp-idf/modules/usqlite/sqlite3.c:65718:39: error: 'Wal' has no member named 'nSehTry' 65718 | # define SEH_INJECT_FAULT assert( pWal->nSehTry>0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:65808:3: note: in expansion of macro 'SEH_INJECT_FAULT' 65808 | SEH_INJECT_FAULT; | ^~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'walIndexHdr': /home/brad/esp-idf/modules/usqlite/sqlite3.c:65718:39: error: 'Wal' has no member named 'nSehTry' 65718 | # define SEH_INJECT_FAULT assert( pWal->nSehTry>0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:65817:3: note: in expansion of macro 'SEH_INJECT_FAULT' 65817 | SEH_INJECT_FAULT; | ^~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'walFramePgno': /home/brad/esp-idf/modules/usqlite/sqlite3.c:65718:39: error: 'Wal' has no member named 'nSehTry' 65718 | # define SEH_INJECT_FAULT assert( pWal->nSehTry>0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:66202:3: note: in expansion of macro 'SEH_INJECT_FAULT' 66202 | SEH_INJECT_FAULT; | ^~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'walIndexRecover': /home/brad/esp-idf/modules/usqlite/sqlite3.c:65718:39: error: 'Wal' has no member named 'nSehTry' 65718 | # define SEH_INJECT_FAULT assert( pWal->nSehTry>0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:66540:7: note: in expansion of macro 'SEH_INJECT_FAULT' 66540 | SEH_INJECT_FAULT; | ^~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:65718:39: error: 'Wal' has no member named 'nSehTry' 65718 | # define SEH_INJECT_FAULT assert( pWal->nSehTry>0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:66572:9: note: in expansion of macro 'SEH_INJECT_FAULT' 66572 | SEH_INJECT_FAULT; | ^~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'walCheckpoint': /home/brad/esp-idf/modules/usqlite/sqlite3.c:65718:39: error: 'Wal' has no member named 'nSehTry' 65718 | # define SEH_INJECT_FAULT assert( pWal->nSehTry>0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:67219:47: note: in expansion of macro 'SEH_INJECT_FAULT' 67219 | u32 y = AtomicLoad(pInfo->aReadMark+i); SEH_INJECT_FAULT; | ^~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:65718:39: error: 'Wal' has no member named 'nSehTry' 65718 | # define SEH_INJECT_FAULT assert( pWal->nSehTry>0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:67225:51: note: in expansion of macro 'SEH_INJECT_FAULT' 67225 | AtomicStore(pInfo->aReadMark+i, iMark); SEH_INJECT_FAULT; | ^~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:65718:39: error: 'Wal' has no member named 'nSehTry' 65718 | # define SEH_INJECT_FAULT assert( pWal->nSehTry>0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:67246:48: note: in expansion of macro 'SEH_INJECT_FAULT' 67246 | pInfo->nBackfillAttempted = mxSafeFrame; SEH_INJECT_FAULT; | ^~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:65718:39: error: 'Wal' has no member named 'nSehTry' 65718 | # define SEH_INJECT_FAULT assert( pWal->nSehTry>0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:67277:9: note: in expansion of macro 'SEH_INJECT_FAULT' 67277 | SEH_INJECT_FAULT; | ^~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:65718:39: error: 'Wal' has no member named 'nSehTry' 65718 | # define SEH_INJECT_FAULT assert( pWal->nSehTry>0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:67307:56: note: in expansion of macro 'SEH_INJECT_FAULT' 67307 | AtomicStore(&pInfo->nBackfill, mxSafeFrame); SEH_INJECT_FAULT; | ^~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:65718:39: error: 'Wal' has no member named 'nSehTry' 65718 | # define SEH_INJECT_FAULT assert( pWal->nSehTry>0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:67329:5: note: in expansion of macro 'SEH_INJECT_FAULT' 67329 | SEH_INJECT_FAULT; | ^~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'walTryBeginRead': /home/brad/esp-idf/modules/usqlite/sqlite3.c:65718:39: error: 'Wal' has no member named 'nSehTry' 65718 | # define SEH_INJECT_FAULT assert( pWal->nSehTry>0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:68093:3: note: in expansion of macro 'SEH_INJECT_FAULT' 68093 | SEH_INJECT_FAULT; | ^~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:65718:39: error: 'Wal' has no member named 'nSehTry' 65718 | # define SEH_INJECT_FAULT assert( pWal->nSehTry>0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:68143:52: note: in expansion of macro 'SEH_INJECT_FAULT' 68143 | u32 thisMark = AtomicLoad(pInfo->aReadMark+i); SEH_INJECT_FAULT; | ^~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:65718:39: error: 'Wal' has no member named 'nSehTry' 65718 | # define SEH_INJECT_FAULT assert( pWal->nSehTry>0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:68219:53: note: in expansion of macro 'SEH_INJECT_FAULT' 68219 | pWal->minFrame = AtomicLoad(&pInfo->nBackfill)+1; SEH_INJECT_FAULT; | ^~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'walBeginReadTransaction': /home/brad/esp-idf/modules/usqlite/sqlite3.c:68343:15: error: 'Wal' has no member named 'nSehTry' 68343 | assert( pWal->nSehTry>0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3WalBeginReadTransaction': /home/brad/esp-idf/modules/usqlite/sqlite3.c:65717:66: error: 'Wal' has no member named 'nSehTry' 65717 | # define SEH_EXCEPT(X) VVA_ONLY(pWal->nSehTry--); assert( pWal->nSehTry==0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:68457:3: note: in expansion of macro 'SEH_EXCEPT' 68457 | SEH_EXCEPT( rc = walHandleException(pWal); ) | ^~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'walFindFrame': /home/brad/esp-idf/modules/usqlite/sqlite3.c:68492:36: error: 'Wal' has no member named 'lockError' 68492 | assert( pWal->readLock>=0 || pWal->lockError ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:65718:39: error: 'Wal' has no member named 'nSehTry' 65718 | # define SEH_INJECT_FAULT assert( pWal->nSehTry>0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:68544:5: note: in expansion of macro 'SEH_INJECT_FAULT' 68544 | SEH_INJECT_FAULT; | ^~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3WalFindFrame': /home/brad/esp-idf/modules/usqlite/sqlite3.c:65717:66: error: 'Wal' has no member named 'nSehTry' 65717 | # define SEH_EXCEPT(X) VVA_ONLY(pWal->nSehTry--); assert( pWal->nSehTry==0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:68602:3: note: in expansion of macro 'SEH_EXCEPT' 68602 | SEH_EXCEPT( rc = SQLITE_IOERR_IN_PAGE; ) | ^~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3WalBeginWriteTransaction': /home/brad/esp-idf/modules/usqlite/sqlite3.c:65717:66: error: 'Wal' has no member named 'nSehTry' 65717 | # define SEH_EXCEPT(X) VVA_ONLY(pWal->nSehTry--); assert( pWal->nSehTry==0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:68692:3: note: in expansion of macro 'SEH_EXCEPT' 68692 | SEH_EXCEPT( rc = SQLITE_IOERR_IN_PAGE; ) | ^~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3WalUndo': /home/brad/esp-idf/modules/usqlite/sqlite3.c:65717:66: error: 'Wal' has no member named 'nSehTry' 65717 | # define SEH_EXCEPT(X) VVA_ONLY(pWal->nSehTry--); assert( pWal->nSehTry==0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:68759:5: note: in expansion of macro 'SEH_EXCEPT' 68759 | SEH_EXCEPT( rc = SQLITE_IOERR_IN_PAGE; ) | ^~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3WalSavepointUndo': /home/brad/esp-idf/modules/usqlite/sqlite3.c:65717:66: error: 'Wal' has no member named 'nSehTry' 65717 | # define SEH_EXCEPT(X) VVA_ONLY(pWal->nSehTry--); assert( pWal->nSehTry==0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:68806:5: note: in expansion of macro 'SEH_EXCEPT' 68806 | SEH_EXCEPT( rc = SQLITE_IOERR_IN_PAGE; ) | ^~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3WalFrames': /home/brad/esp-idf/modules/usqlite/sqlite3.c:65717:66: error: 'Wal' has no member named 'nSehTry' 65717 | # define SEH_EXCEPT(X) VVA_ONLY(pWal->nSehTry--); assert( pWal->nSehTry==0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:69236:3: note: in expansion of macro 'SEH_EXCEPT' 69236 | SEH_EXCEPT( rc = walHandleException(pWal); ) | ^~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3WalCheckpoint': /home/brad/esp-idf/modules/usqlite/sqlite3.c:65718:39: error: 'Wal' has no member named 'nSehTry' 65718 | # define SEH_INJECT_FAULT assert( pWal->nSehTry>0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:69344:9: note: in expansion of macro 'SEH_INJECT_FAULT' 69344 | SEH_INJECT_FAULT; | ^~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:65717:66: error: 'Wal' has no member named 'nSehTry' 65717 | # define SEH_EXCEPT(X) VVA_ONLY(pWal->nSehTry--); assert( pWal->nSehTry==0 ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:69349:3: note: in expansion of macro 'SEH_EXCEPT' 69349 | SEH_EXCEPT( rc = walHandleException(pWal); ) | ^~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3WalExclusiveMode': /home/brad/esp-idf/modules/usqlite/sqlite3.c:69427:36: error: 'Wal' has no member named 'lockError' 69427 | assert( pWal->readLock>=0 || pWal->lockError ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'saveCursorKey': /home/brad/esp-idf/modules/usqlite/sqlite3.c:71359:11: error: implicit declaration of function 'cursorHoldsMutex' [-Werror=implicit-function-declaration] 71359 | assert( cursorHoldsMutex(pCur) ); | ^~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'btreeRestoreCursorPosition': /home/brad/esp-idf/modules/usqlite/sqlite3.c:71540:11: error: implicit declaration of function 'cursorOwnsBtShared' [-Werror=implicit-function-declaration] 71540 | assert( cursorOwnsBtShared(pCur) ); | ^~~~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'cellSizePtr': /home/brad/esp-idf/modules/usqlite/sqlite3.c:72083:18: error: 'debuginfo' undeclared (first use in this function) 72083 | assert( nSize==debuginfo.nSize || CORRUPT_DB ); | ^~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'cellSizePtrIdxLeaf': /home/brad/esp-idf/modules/usqlite/sqlite3.c:72125:18: error: 'debuginfo' undeclared (first use in this function) 72125 | assert( nSize==debuginfo.nSize || CORRUPT_DB ); | ^~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'cellSizePtrNoPayload': /home/brad/esp-idf/modules/usqlite/sqlite3.c:72146:11: error: 'debuginfo' undeclared (first use in this function) 72146 | assert( debuginfo.nSize==(u16)(pIter - pCell) || CORRUPT_DB ); | ^~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'cellSizePtrTableLeaf': /home/brad/esp-idf/modules/usqlite/sqlite3.c:72198:18: error: 'debuginfo' undeclared (first use in this function) 72198 | assert( nSize==debuginfo.nSize || CORRUPT_DB ); | ^~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'defragmentPage': /home/brad/esp-idf/modules/usqlite/sqlite3.c:72265:11: error: implicit declaration of function 'sqlite3PagerIswriteable'; did you mean 'sqlite3PagerWrite'? [-Werror=implicit-function-declaration] 72265 | assert( sqlite3PagerIswriteable(pPage->pDbPage) ); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'btreeComputeFreeSpace': /home/brad/esp-idf/modules/usqlite/sqlite3.c:72739:24: error: implicit declaration of function 'sqlite3PagerPagenumber'; did you mean 'sqlite3PagerFilename'? [-Werror=implicit-function-declaration] 72739 | assert( pPage->pgno==sqlite3PagerPagenumber(pPage->pDbPage) ); | ^~~~~~~~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'unlockBtreeIfUnused': /home/brad/esp-idf/modules/usqlite/sqlite3.c:74121:11: error: implicit declaration of function 'countValidCursors' [-Werror=implicit-function-declaration] 74121 | assert( countValidCursors(pBt,0)==0 || pBt->inTransaction>TRANS_NONE ); | ^~~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:74125:13: error: implicit declaration of function 'sqlite3PagerRefcount'; did you mean 'sqlite3PagerPagecount'? [-Werror=implicit-function-declaration] 74125 | assert( sqlite3PagerRefcount(pBt->pPager)==1 ); | ^~~~~~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'autoVacuumCommit': /home/brad/esp-idf/modules/usqlite/sqlite3.c:74874:11: error: 'nRef' undeclared (first use in this function) 74874 | assert( nRef>=sqlite3PagerRefcount(pPager) ); | ^~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3BtreeLast': /home/brad/esp-idf/modules/usqlite/sqlite3.c:76338:13: error: implicit declaration of function 'cursorIsAtLastEntry' [-Werror=implicit-function-declaration] 76338 | assert( cursorIsAtLastEntry(pCur) || CORRUPT_DB ); | ^~~~~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'dropCell': /home/brad/esp-idf/modules/usqlite/sqlite3.c:77838:29: error: implicit declaration of function 'cellSize'; did you mean 'cellSizePtr'? [-Werror=implicit-function-declaration] 77838 | assert( CORRUPT_DB || sz==cellSize(pPage, idx) ); | ^~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'balance_nonroot': /home/brad/esp-idf/modules/usqlite/sqlite3.c:79043:22: error: 'nCellAtStart' undeclared (first use in this function) 79043 | assert( (b.nCell-nCellAtStart)==(pOld->nCell+pOld->nOverflow) ); | ^~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'balance': /home/brad/esp-idf/modules/usqlite/sqlite3.c:79707:17: error: 'balance_deeper_called' undeclared (first use in this function); did you mean 'balance_deeper'? 79707 | assert( balance_deeper_called==0 ); | ^~~~~~~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3BtreeIntegrityCheck': /home/brad/esp-idf/modules/usqlite/sqlite3.c:81724:11: error: 'nRef' undeclared (first use in this function) 81724 | assert( nRef>=0 ); | ^~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3_backup_step': /home/brad/esp-idf/modules/usqlite/sqlite3.c:82687:15: error: 'rc2' undeclared (first use in this function); did you mean 'rc'? 82687 | assert( rc2==SQLITE_OK ); | ^~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3VdbeChangeEncoding': /home/brad/esp-idf/modules/usqlite/sqlite3.c:83113:12: error: implicit declaration of function 'sqlite3VdbeMemIsRowSet'; did you mean 'sqlite3VdbeMemSetRowSet'? [-Werror=implicit-function-declaration] 83113 | assert( !sqlite3VdbeMemIsRowSet(pMem) ); | ^~~~~~~~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3VdbeMemGrow': /home/brad/esp-idf/modules/usqlite/sqlite3.c:83148:11: error: implicit declaration of function 'sqlite3VdbeCheckMemInvariants' [-Werror=implicit-function-declaration] 83148 | assert( sqlite3VdbeCheckMemInvariants(pMem) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3VdbeMemFromBtreeZeroOffset': /home/brad/esp-idf/modules/usqlite/sqlite3.c:84204:11: error: implicit declaration of function 'sqlite3BtreeCursorIsValid'; did you mean 'sqlite3BtreeCursorIsValidNN'? [-Werror=implicit-function-declaration] 84204 | assert( sqlite3BtreeCursorIsValid(pCur) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'valueToText': /home/brad/esp-idf/modules/usqlite/sqlite3.c:84254:13: error: implicit declaration of function 'sqlite3VdbeMemValidStrRep'; did you mean 'sqlite3VdbeMemFromBtree'? [-Werror=implicit-function-declaration] 84254 | assert( sqlite3VdbeMemValidStrRep(pVal) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3VdbeFrameMemDel': /home/brad/esp-idf/modules/usqlite/sqlite3.c:87198:11: error: implicit declaration of function 'sqlite3VdbeFrameIsValid'; did you mean 'sqlite3VdbeFrameRestore'? [-Werror=implicit-function-declaration] 87198 | assert( sqlite3VdbeFrameIsValid(pFrame) ); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3VdbeRecordCompareWithSkip': /home/brad/esp-idf/modules/usqlite/sqlite3.c:89857:15: error: implicit declaration of function 'vdbeRecordCompareDebug' [-Werror=implicit-function-declaration] 89857 | assert( vdbeRecordCompareDebug(nKey1, pKey1, pPKey2, rc) ); | ^~~~~~~~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3VdbeExec': /home/brad/esp-idf/modules/usqlite/sqlite3.c:94962:13: error: implicit declaration of function 'memIsValid' [-Werror=implicit-function-declaration] 94962 | assert( memIsValid(pIn1) ); | ^~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:95781:11: error: 'iCompareIsInit' undeclared (first use in this function) 95781 | assert( iCompareIsInit ); | ^~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:97152:11: error: implicit declaration of function 'checkSavepointCount' [-Werror=implicit-function-declaration] 97152 | assert( checkSavepointCount(db) ); | ^~~~~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:97919:18: error: implicit declaration of function 'sqlite3BtreeClosesWithCursor'; did you mean 'sqlite3BtreeCloseCursor'? [-Werror=implicit-function-declaration] 97919 | assert( !sqlite3BtreeClosesWithCursor(pCx->ub.pBtx, pCx->uc.pCursor) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:99786:13: error: 'VdbeCursor' has no member named 'seekOp' 99786 | assert( pC->seekOp==OP_SeekLT || pC->seekOp==OP_SeekLE | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:99786:38: error: 'VdbeCursor' has no member named 'seekOp' 99786 | assert( pC->seekOp==OP_SeekLT || pC->seekOp==OP_SeekLE | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:99787:13: error: 'VdbeCursor' has no member named 'seekOp' 99787 | || pC->seekOp==OP_Last || pC->seekOp==OP_IfNoHope | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:99787:38: error: 'VdbeCursor' has no member named 'seekOp' 99787 | || pC->seekOp==OP_Last || pC->seekOp==OP_IfNoHope | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:99788:13: error: 'VdbeCursor' has no member named 'seekOp' 99788 | || pC->seekOp==OP_NullRow); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:99801:13: error: 'VdbeCursor' has no member named 'seekOp' 99801 | assert( pC->seekOp==OP_SeekGT || pC->seekOp==OP_SeekGE | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:99801:38: error: 'VdbeCursor' has no member named 'seekOp' 99801 | assert( pC->seekOp==OP_SeekGT || pC->seekOp==OP_SeekGE | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:99802:13: error: 'VdbeCursor' has no member named 'seekOp' 99802 | || pC->seekOp==OP_Rewind || pC->seekOp==OP_Found | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:99802:38: error: 'VdbeCursor' has no member named 'seekOp' 99802 | || pC->seekOp==OP_Rewind || pC->seekOp==OP_Found | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:99803:13: error: 'VdbeCursor' has no member named 'seekOp' 99803 | || pC->seekOp==OP_NullRow|| pC->seekOp==OP_SeekRowid | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:99803:38: error: 'VdbeCursor' has no member named 'seekOp' 99803 | || pC->seekOp==OP_NullRow|| pC->seekOp==OP_SeekRowid | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:99804:13: error: 'VdbeCursor' has no member named 'seekOp' 99804 | || pC->seekOp==OP_IfNoHope); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:102566:28: error: 'nExtraDelete' undeclared (first use in this function) 102566 | assert( rc!=SQLITE_OK || nExtraDelete==0 | ^~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'vdbeSorterListToPMA': /home/brad/esp-idf/modules/usqlite/sqlite3.c:104723:46: error: 'iSz' undeclared (first use in this function) 104723 | assert( rc!=SQLITE_OK || pTask->file.iEof==iSz ); | ^~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'exprDup': /home/brad/esp-idf/modules/usqlite/sqlite3.c:111020:29: error: 'EdupBuf' has no member named 'zEnd' 111020 | assert( (int)(sEdupBuf.zEnd - sEdupBuf.zAlloc) >= nNewSize+nToken ); | ^ /home/brad/esp-idf/modules/usqlite/sqlite3.c:111025:29: error: 'EdupBuf' has no member named 'zEnd' 111025 | assert( (int)(sEdupBuf.zEnd - sEdupBuf.zAlloc) >= | ^ /home/brad/esp-idf/modules/usqlite/sqlite3.c:111096:38: error: 'EdupBuf' has no member named 'zEnd' 111096 | assert( sEdupBuf.zAlloc <= sEdupBuf.zEnd ); | ^ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3CodeRhsOfIN': /home/brad/esp-idf/modules/usqlite/sqlite3.c:113021:15: error: implicit declaration of function 'sqlite3KeyInfoIsWriteable'; did you mean 'sqlite3KeyInfoUnref'? [-Werror=implicit-function-declaration] 113021 | assert( sqlite3KeyInfoIsWriteable(pKeyInfo) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3FinishCoding': /home/brad/esp-idf/modules/usqlite/sqlite3.c:122100:11: error: implicit declaration of function 'sqlite3VdbeAssertMayAbort'; did you mean 'sqlite3VdbeAssertAbortable'? [-Werror=implicit-function-declaration] 122100 | || sqlite3VdbeAssertMayAbort(v, pParse->mayAbort)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'deleteTable': /home/brad/esp-idf/modules/usqlite/sqlite3.c:122772:15: error: 'pOld' undeclared (first use in this function) 122772 | assert( pOld==pIndex || pOld==0 ); | ^~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:122799:11: error: 'nLookaside' undeclared (first use in this function); did you mean 'Lookaside'? 122799 | assert( nLookaside==0 || nLookaside==sqlite3LookasideUsed(db,0) ); | ^~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3AddReturning': /home/brad/esp-idf/modules/usqlite/sqlite3.c:123380:44: error: 'Parse' has no member named 'ifNotExists' 123380 | assert( pParse->bReturning==0 || pParse->ifNotExists ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:123408:37: error: 'Parse' has no member named 'ifNotExists' 123408 | || pParse->nErr || pParse->ifNotExists ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'unhexFunc': /home/brad/esp-idf/modules/usqlite/sqlite3.c:130639:23: error: 'zEnd' undeclared (first use in this function) 130639 | assert( zHex<=zEnd ); | ^~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3Pragma': /home/brad/esp-idf/modules/usqlite/sqlite3.c:141336:17: error: implicit declaration of function 'sqlite3NoTempsInRange'; did you mean 'sqlite3GetTempRange'? [-Werror=implicit-function-declaration] 141336 | assert( sqlite3NoTempsInRange(pParse,1,7+j) ); | ^~~~~~~~~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3InitCallback': /home/brad/esp-idf/modules/usqlite/sqlite3.c:142721:25: error: 'rcp' undeclared (first use in this function); did you mean 'rc'? 142721 | assert( (rc&0xFF)==(rcp&0xFF) ); | ^~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'sqlite3RunParser': /home/brad/esp-idf/modules/usqlite/sqlite3.c:180522:61: error: 'startedWithOom' undeclared (first use in this function) 180522 | assert( db->mallocFailed==0 || pParse->rc!=SQLITE_OK || startedWithOom ); | ^~~~~~~~~~~~~~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'jsonAppendControlChar': /home/brad/esp-idf/modules/usqlite/sqlite3.c:206793:12: warning: comparison is always true due to limited range of data type [-Wtype-limits] 206793 | assert( c>=0 && c<sizeof(aSpecial) ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c: In function 'jsonMergePatch': /home/brad/esp-idf/modules/usqlite/sqlite3.c:210177:18: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 210177 | assert( iTarget>=0 && iTarget<pTarget->nBlob ); | ^~ /home/brad/esp-idf/modules/usqlite/sqlite3.c:210178:17: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 210178 | assert( iPatch>=0 && iPatch<pPatch->nBlob ); | ^~

specternecter avatar Feb 03 '25 04:02 specternecter