Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

Error when using -DDISABLE_C_CLUBBY flag

When I put -DDISABLE_C_CLUBBY in my Makefile.build I get an error.
Could you please fix it as I want to disable clubby.

TICC /src/fw/src/sj_updater_clubby.c -> /shelly/dinrelay/.build/sj_updater_clubby.o
"/src/fw/src/sj_updater_clubby.c", line 111: error #225: function "sj_clubby_send_status_resp" declared implicitly
"/src/fw/src/sj_updater_clubby.c", line 115: error #225: function "sj_clubby_repl_to_bytes" declared implicitly
"/src/fw/src/sj_updater_clubby.c", line 115: error #145: a value of type "int" cannot be used to initialize an entity of type "char *"
"/src/fw/src/sj_updater_clubby.c", line 133: error #225: function "sj_clubby_send_status_resp" declared implicitly
"/src/fw/src/sj_updater_clubby.c", line 145: error #225: function "sj_clubby_send_status_resp" declared implicitly
"/src/fw/src/sj_updater_clubby.c", line 156: error #225: function "sj_clubby_free_reply" declared implicitly
"/src/fw/src/sj_updater_clubby.c", line 215: error #225: function "sj_clubby_bytes_to_reply" declared implicitly
"/src/fw/src/sj_updater_clubby.c", line 215: error #515: a value of type "int" cannot be assigned to an entity of type "struct clubby_event *"
"/src/fw/src/sj_updater_clubby.c", line 251: error #395: pointer to incomplete class type is not allowed
"/src/fw/src/sj_updater_clubby.c", line 251: error #395: pointer to incomplete class type is not allowed
"/src/fw/src/sj_updater_clubby.c", line 252: error #225: function "sj_clubby_send_status_resp" declared implicitly
"/src/fw/src/sj_updater_clubby.c", line 255: error #225: function "sj_clubby_free_reply" declared implicitly
"/src/fw/src/sj_updater_clubby.c", line 264: error #395: pointer to incomplete class type is not allowed
"/src/fw/src/sj_updater_clubby.c", line 267: error #395: pointer to incomplete class type is not allowed
"/src/fw/src/sj_updater_clubby.c", line 267: error #395: pointer to incomplete class type is not allowed
"/src/fw/src/sj_updater_clubby.c", line 272: error #395: pointer to incomplete class type is not allowed
"/src/fw/src/sj_updater_clubby.c", line 291: error #225: function "sj_clubby_free_reply" declared implicitly
"/src/fw/src/sj_updater_clubby.c", line 292: error #225: function "sj_clubby_create_reply" declared implicitly
"/src/fw/src/sj_updater_clubby.c", line 292: error #515: a value of type "int" cannot be assigned to an entity of type "struct clubby_event *"
"/src/fw/src/sj_updater_clubby.c", line 322: error #225: function "sj_clubby_send_status_resp" declared implicitly
"/src/fw/src/sj_updater_clubby.c", line 389: error #225: function "sj_clubby_register_global_command" declared implicitly
"/src/fw/src/sj_updater_clubby.c", line 392: error #20: identifier "clubby_cmd_ready" is undefined
22 errors detected in the compilation of "/src/fw/src/sj_updater_clubby.c".

Compilation failure

Comments

Sign In or Register to comment.