benzino77/tasmocompiler

Compiling fails with exit code 1 - be_free, berry_free, be_malloc

bjoernmayer opened this issue · 1 comments

Log output:

/tmp/Tasmota/tasmota/tasmota_xdrv_driver/xdrv_52_0_berry_struct.ino: In destructor 'Log_line::~Log_line()':
/tmp/Tasmota/tasmota/tasmota_xdrv_driver/xdrv_52_0_berry_struct.ino:45:7: error: 'berry_free' was not declared in this scope
       berry_free(log_line);
       ^~~~~~~~~~
/tmp/Tasmota/tasmota/tasmota_xdrv_driver/xdrv_52_0_berry_struct.ino:45:7: note: suggested alternative: 'be_free'
       berry_free(log_line);
       ^~~~~~~~~~
       be_free
/tmp/Tasmota/tasmota/tasmota_xdrv_driver/xdrv_52_0_berry_struct.ino: In member function 'char* Log_line::allocate(size_t)':
/tmp/Tasmota/tasmota/tasmota_xdrv_driver/xdrv_52_0_berry_struct.ino:51:7: error: 'berry_free' was not declared in this scope
       berry_free(log_line);
       ^~~~~~~~~~
/tmp/Tasmota/tasmota/tasmota_xdrv_driver/xdrv_52_0_berry_struct.ino:51:7: note: suggested alternative: 'be_free'
       berry_free(log_line);
       ^~~~~~~~~~
       be_free
/tmp/Tasmota/tasmota/tasmota_xdrv_driver/xdrv_52_0_berry_struct.ino:53:24: error: 'berry_malloc' was not declared in this scope
     log_line = (char*) berry_malloc(size);
                        ^~~~~~~~~~~~
/tmp/Tasmota/tasmota/tasmota_xdrv_driver/xdrv_52_0_berry_struct.ino:53:24: note: suggested alternative: 'be_malloc'
     log_line = (char*) berry_malloc(size);
                        ^~~~~~~~~~~~
                        be_malloc
Compiling .pio/build/tasmota32/lib8ec/freetype/smooth/smooth.c.o
Compiling .pio/build/tasmota32/lib8ec/freetype/truetype/truetype.c.o
Compiling .pio/build/tasmota32/liba89/lvgl/core/lv_disp.c.o
*** [.pio/build/tasmota32/src/tasmota.ino.cpp.o] Error 1
========================= [FAILED] Took 47.94 seconds =========================

Tried with Tasmota versions 12.4.0 and 12.3.1

Do not disable "Berry Scripting" for ESP32 boards... unless you know what you are doing.